Previous Topic: Job Control StatementsNext Topic: TMS Report 36 - TMS Sequential Data Sets


Comment Statement

You may include comment statements by placing an asterisk (*) in position 1. Text for a comment may appear anywhere between positions 2 and 80 inclusive.

If SYSIN is defined but no control statements are in the JCL, the program executes with default values assigned, and the following message accompanies the report:

     SORT WAS *NOT* REQUESTED

Example

  SORTTMC DSN,J,CDATE
  SORTDSNB DSN,J,CDATE

In this example, the TMC Volume records are spooled to the data set specified by SYSUT3 and the DSNB records are spooled to the data set specified by SYSUT4. These control statements sort the TMC volume records in data set name (ascending), job name (ascending), and creation date (ascending) order. The DSNB records are in sequence by ascending data set name, job name and creation date.