|
In this example, a partitioned data set (ten records from each member) is printed according to the default format.
The printed output is converted to hexadecimal.
In this example, a partitioned data set (ten records from each member) is printed according to the default format.
The printed output is converted to hexadecimal.
//PRINTPDS JOB ...
//STEP1 EXEC PGM=IEBPTPCH
//SYSPRINT DD SYSOUT=A
//SYSUT1 DD DSNAME=WAYNE.TEST.DATA,DISP=SHR
//SYSUT2 DD SYSOUT=A
//SYSIN DD *
PRINT TOTCONV=XE,TYPORG=PO,STOPAFT=10
TITLE ITEM=('PRINT PDS - 10 RECS EACH MEM',20)
/*
The control statements are as follows:
The control statements are as follows:
- SYSUT1 DD defines the input data set, called WAYNE.TEST.DATA, 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, specifies conversion from alphanumeric to hexadecimal representation, indicates that the input data set is partitioned, and
specifies that 10 records from each member are to be printed.
- TITLE specifies a title to be placed beginning in column 20 of the printed output.
The title is not converted to hexadecimal.
- SYSUT1 DD defines the input data set, called WAYNE.TEST.DATA, 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, specifies conversion from alphanumeric to hexadecimal representation, indicates that the input data
set is partitioned, and specifies that 10 records from each member are to be printed.
- TITLE specifies a title to be placed beginning in column 20 of the printed output.
The title is not converted to hexadecimal.
© Copyright IBM Corp.
|