The PRINT command prints VSAM data sets, non-VSAM data sets, and catalogs.
The blocksize of the data sets you can print depends
on whether you have the large block interface (LBI) enabled. (You
enable LBI by coding any BLKSIZE value, in the DCBE macro or by turning
on the DCBEULBI bit before completion of the DCB OPEN exit - see z/OS DFSMS Using Data Sets.)
- If you have LBI enabled, you can use print with data sets with a blocksize larger than 32760 bytes.
- If you do not have LBI enabled, you can not print data sets with a blocksize larger than 32760 bytes
The syntax of the PRINT command is:
Command | Parameters |
---|---|
{INFILE(ddname)| | |
INDATASET(entryname)} | |
[CHARACTER|DUMP|HEX] | |
[CIMODE|NOCIMODE] | |
[DBCS] | |
[FROMKEY(key)|FROMADDRESS(address)| | |
FROMNUMBER(number)|SKIP(number)] | |
[INSERTSHIFT((offset1 offset2)[(offset1 offset2 )...])|INSERTALL] | |
[OUTFILE(ddname)] | |
[SKIPDBCSCHECK((offset1 offset2)[(offset1 offset2)...])|NODBCSCHECK] | |
[TOKEY(key)|TOADDRESS(address)| | |
TONUMBER(number)|COUNT(number)] | |
[RLSSOURCE(NO|YES|QUIESCE)] | |
Restriction: Access Method Services does not use RLS. If the RLS keyword is specified on the DD statement of a file to be opened by Access Method Services, the keyword is ignored and the file is opened and accessed in non-RLS mode.