Printing data

The following excerpt from a batch job uses the DSP print function to:

  • Skip the first 900,000 records
  • Exclude all records from further processing where the first 4 characters are not “CHAX”
  • Print the next 1000, non-excluded records, formatted using template TEMPL98
⋮
//SYSIN    DD  DATA
$$FILEM DSP FORMAT=TABL,
$$FILEM POSITION=900000,
$$FILEM NLRECS=1000,
$$FILEM TCIN=FMNUSER.FMNAFDAT.TEMPLATE(TEMPL98),
$$FILEM DSNIN=FMNUSER.FMNAFDAT.SAMP,
$$FILEM PROC=*
*FASTPROC
 OMIT COND=(1,4,CH,NE,C'CHAX')
+/
⋮