1 SCOPY
 Creates a new file  from an existing files.   The SCOPY command is
 very  similar  to  the  COPY command,   except that SCOPY adds the
 capability  of  copying only  a selected group of records from the
 input file, or of copying only a selected group of bytes from each
 record in the input file.  SCOPY can:

      o  Copy one file to another file

      o  Copy  a selected group of records  from one file to 
           another  file  (e.g. the first ten  records, from
           the 25th record to end-of-file, etc.)

      o  Copy  a  selected  group  of pages from one file to
           another  file  (e.g. the first five  pages,  only
           pages 10 to 20, etc.)

      o  Copy  a  selected  group  of bytes from each record
           instead of the whole record (can be used with any
           of the other options)

 Copying  groups of pages is most useful when only part of a report
 needs to be printed.

 Format:

      SCOPY   input-file-spec[,...]   output-file-spec
2 Parameters
 input-file-spec[,...]

  Specifies the names of one or more input files to be copied.   If
  you  specify more than one input file, you can separate them with
  commas (,).

  You can use full wild-carding in the file specification(s).

 output-file-spec

  Specifies  the name of the output file into which the input files
  are to be copied.

  You  must  specify  at  least  one  field  in  the  output   file
  specification.   If  the  device  or directory are not specified,
  your current default device and directory  are  used.  The  SCOPY
  command  replaces  any  other  missing  fields  (file  name, file
  type, version number) with corresponding field of the input  file
  specification.

  The asterisk (*) wild-card character can be used in place of  the
  file  name, file  type, and/or version number.  The SCOPY command
  uses  the corresponding field  in the related input  file to name
  the output file.

  If wild-carding is  used in the input file specification, or more
  than  one input file is specified,  the output file specification
  should  be wild-carded.   If it is not, then multiple versions of
  of  the output file are created,  each one containing  one of the
  input files.

  The UIC of the output file is the UIC of the current process.
2 Qualifiers
/BYTE

   /BYTE[=(option[,...])]

 Specifies  a range of bytes  to be copied from each record.   The
 following options select the range of bytes to be copied:

   START:n      The number of the first byte to be copied. By
                default,  the copy  starts at the first byte.

   END:n        The number of the last byte to be copied.  By
                default,  the  copy ends  with the last byte.

   COUNT:n      The number of bytes to be copied.

 Bytes are numbered beginning with 1.  You cannot specify both END
 and COUNT.

/LOG

   /LOG
   /NOLOG   (D)

 Controls whether the SCOPY command displays the input and output
 file specifications and output file size for each that file that
 is scopied.  The output file size is displayed in either records
 or pages, depending which qualifier is used.

/PAGES

   /PAGES[=(option[,...])]

 Specifies  that the input file  be copied a page  at a time.  A
 page is defined as all data appearing between any two form feed
 characters.   The form feed character varies, depending on what
 format the input file is in.

   CR           This is a carriage return file.  By default,
                most  files are  created  as carriage return
                files (i.e. EDT files  and most data files).
                The form  feed character for  CR files  is a
                hex 0C (<FF>) in the  first position  of the
                record.

   FORTRAN      These are  print files created using FORTRAN
                carriage   control.   The  form  feed  for a
                FORTRAN  file  is a hex 31 (1) in  the first
                position of the record.

   PRINT        A print format file is one that has a 2-byte
                VFC buffer that controls the printing of the
                file.    Print  files  created  by  a  COBOL
                program are  in  VFC format.   The form feed
                character for these files is a hex 8C in the
                first or second byte of the VFC buffer.

 The  following options  can be specified  to select  a  range of 
 pages to be copied:

   START:n      The number of the first page to be copied.  By
                default, this is page 1.

   END:n        The number of the last  page to be copied.  By
                default, the copy ends with the last page.

   COUNT:n      The number of pages to be copied.

 Any of  the numbers n  can be in  hex,  decimal, or octal.  The 
 default is decimal.  You cannot specify both END and COUNT.  If 
 you specify /PAGES, you cannot specify /RECORDS.
/RECORDS

   /RECORDS[=(option[,...])]

 Specifies that a file be copied a record at a time.  /RECORDS  is
 the  default.  The following options  select the range of records
 to be copied:

   START:n      The number of the first record to be copied. By
                default, the copy starts at the first record.

   END:n        The number of the last record to be copied.  By
                default, the copy ends with the last record.

   COUNT:n      The number of records to be copied.

 Records are  numbered beginning  with 1.  You cannot specify both
 END and COUNT.

If /RECORDS is specified, you cannot specify /PAGES.
