z/OS DFSORT Application Programming Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


COPY operator

z/OS DFSORT Application Programming Guide
SC23-6878-00

Read syntax diagramSkip visual syntax diagram
                               .-,-----.                    
                               V       |                    
>>-COPY--+-FROM(indd)-+--+-TO(---outdd-+-)--------------+------->
         '-JKFROM-----'  +-USING(xxxx)------------------+   
                         |     .-,-----.                |   
                         |     V       |                |   
                         '-TO(---outdd-+-)--USING(xxxx)-'   

>--+-------------+--+-----------------+--+--------+------------><
   '-VSAMTYPE(x)-'  +-LOCALE(name)----+  '-SERIAL-'   
                    +-LOCALE(CURRENT)-+               
                    '-LOCALE(NONE)----'               

Copies an input data set to one or more output data sets.

DFSORT is called to copy the indd data set to the outdd data sets; the DFSORT control statements in xxxxCNTL are used if USING(xxxx) is specified. You can use DFSORT control statements and options in the xxxxCNTL data set to copy a subset of the input records (INCLUDE or OMIT statement; SKIPREC and STOPAFT options; OUTFIL INCLUDE, OMIT, SAVE, STARTREC, ENDREC, SAMPLE, SPLIT, SPLITBY, and SPLIT1R operands; user exit routines), reformat records for output (INREC, OUTREC and OUTFIL statements, user exit routines), and so on.

If an INCLUDE or OMIT statement or an OUTFIL INCLUDE or OMIT operand is specified in the xxxxCNTL data set, the active locale's collating rules affect INCLUDE and OMIT processing, as explained in the "Cultural Environment Considerations" discussion in INCLUDE control statement.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014