Print a Linear Data Set Cluster: Example 5

A linear data set cluster is partially printed.
//PRINTLDS  JOB  ...
//STEP1    EXEC PGM=IDCAMS
//SYSPRINT  DD   SYSOUT=A
//SYSIN     DD   *
      PRINT  -
            INDATASET(EXAMPLE.LDS01) -
            FROMADDRESS(4096) -
            TOADDRESS(8191)
/*
The PRINT command produces a partial printout of the data set from relative byte address (RBA) 4096 up to an RBA of 8191. This is the second 4K-byte page of the linear data set. The parameters are:
  • INDATASET identifies the source data set EXAMPLE.LDS01.
  • FROMADDRESS specifies that printing is to start at offset 4096 in the data set.
  • TOADDRESS specifies that printing is to stop at offset 8191.