IDCAMS Print

IDCAMS Listcat IDCAMS Repro

Advertisements


PRINT command used to print the contents of a dataset.

The output can be made available on various formats like CHAR, HEX and DUMP.

PRINT-CHAR/HEX/DUMP: This specifies the format of the output in which format(CHAR/HEX/DUMP) it is going to print.

PRINT-SKIP, COUNT, FROM and TO: The above option is used to select the records to be printed can be selected in the same way records are selected in REPRO to COPY.

Empty file-check:

The major advantage of PRINT command is to check particular file is empty or not.

If the file is empty, PRINT COUNT (1) ends with return-code as 4.




IDCAMS Listcat IDCAMS Repro

Advertisements