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


Example 4: Print Sequential Data Set According to Default Format

z/OS DFSMSdfp Utilities
SC23-6864-00

In this example, a sequential data set is printed according to the default format. The printed output is converted to hexadecimal.
  //PRINT    JOB  ...
  //STEP1    EXEC PGM=IEBPTPCH
  //SYSPRINT DD  SYSOUT=A
  //SYSUT1   DD  DSNAME=INSET,UNIT=tape,
  //             LABEL=(,NL),VOLUME=SER=001234,
  //             DISP=(OLD,KEEP),DCB=(RECFM=U,BLKSIZE=2000)
  //SYSUT2   DD  SYSOUT=A
  //SYSIN    DD  *
       PRINT   TOTCONV=XE
       TITLE   ITEM=('PRINT SEQ DATA SET WITH CONV TO HEX',10)
  /*
The control statements are as follows:
  • SYSUT1 DD defines the input data set on a tape volume. The data set contains undefined records; no record is larger than 2,000 bytes.
  • SYSUT2 DD defines the output data set. The data set is written to the system output device (printer assumed).
  • SYSIN DD defines the control data set, which follows in the input stream.
  • PRINT begins the print operation and specifies conversion from alphanumeric to hexadecimal representation.
  • TITLE specifies a title to be placed beginning in column 10 of the printed output. The title is not converted to hexadecimal.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014