z/OS DFSMSdfp Utilities
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 1: Print a Sequential Data Set

z/OS DFSMSdfp Utilities
SC23-6864-00

In this example, a sequential data set is printed. The printed output is left-aligned, with one 80-byte record appearing on each line of printed output.
  //PRINT    JOB  ...
  //STEP1    EXEC PGM=IEBGENER
  //SYSPRINT DD  SYSOUT=A
  //SYSIN    DD  DUMMY
  //SYSUT1   DD  DSNAME=D80.DATA,DISP=SHR
  //SYSUT2   DD  SYSOUT=A
The job control statements are as follows:
  • SYSIN DD defines a dummy data set. Since no editing is performed, no utility control statements are required.
  • SYSUT1 DD defines the input sequential data set.
  • SYSUT2 DD indicates that the output is to be written on the system output device (printer). IEBGENER copies LRECL and RECFM from the SYSUT1 data set and the system determines a BLKSIZE.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014