z/OS UNIX System Services User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example: Using JCL and OCOPY

z/OS UNIX System Services User's Guide
SA23-2279-00

Alternatively, TURBO could specify the ddnames in the //IN DD and //OUT DD statements in the JCL for a batch job. A DD statement allocates a data set or file and sets up a ddname. For example:
//TEST JOB MSGLEVEL=(1,1)
//COPYSTEP EXEC PGM=IKJEFT01
//INHFS    DD PATH='/u/turbo/wkld/totals/oct17',PATHOPTS=(ORDONLY)
//OUTMVS   DD DSN=TURBO.WORKLOAD.TOTALS(OCT17),DISP=OLD
//SYSTSPRT DD SYSOUT=*
//SYSTSIN  DD *
OCOPY INDD(INHFS) OUTDD(OUTMVS) TEXT CONVERT(YES) PATHOPTS(USE)
/*
In this example:
  • IKJEFT01 is the name of the Terminal Monitor Program (TMP), which needs to be started to process the TSO/E OCOPY command.
  • PATHOPTS(USE) indicates that TURBO wants to use the PATHOPTS specified on the ALLOCATE command.
For further information about:

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014