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


Example 10: Convert to Hexadecimal and Print Partitioned Data

z/OS DFSMSdfp Utilities
SC23-6864-00

In this example, two partitioned members are printed according to the default format. The printed output is converted to hexadecimal.
  //PRNTMEMS JOB  ...
  //STEP1    EXEC PGM=IEBPTPCH
  //SYSPRINT DD  SYSOUT=A
  //SYSUT1   DD  DSNAME=BROWN.MAIN.LIB,DISP=SHR
  //SYSUT2   DD  SYSOUT=A
  //SYSIN    DD  *
         PRINT   TYPORG=PO,TOTCONV=XE,MAXNAME=2
         TITLE   ITEM=('PRINT TWO MEMBS WITH CONV TO HEX',10)
         MEMBER  NAME=MEMBER1
         MEMBER  NAME=MEMBER2
  /*
The control statements are as follows:
  • SYSUT1 DD defines the input data set, called BROWN.MAIN.LIB, on a disk volume.
  • SYSUT2 DD defines the output data set on the system output device (printer assumed).
  • SYSIN DD defines the control data set, which follows in the input stream.
  • PRINT begins the print operation, indicates that the input data set is partitioned, specifies conversion from alphanumeric to hexadecimal representation, and indicates that two MEMBER statements appear in the control data set (MAXNAME=2).
  • TITLE specifies a title to be placed beginning in column 10 of the printed output. The title is not converted to hexadecimal.
  • MEMBER specifies the member names of the members to be printed (MEMBER1 and MEMBER2).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014