Printing Datasets

//PRNTEXM JOB (ACCT), ‘PRINT JOB’ //PRINT EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //INPUT DD DSN=STUDENT.TEST.INPUT, DISP=OLD //SYSIN DD * PRINT                             – INFILE (FILENAME)  – SKIP (2)                          – COUNT (4)                     – CHAR /* //  The PRINT command is used to print VSAM and NON VSAM data sets. It dumps the contents of input file to an…

Details

SKIP and COUNT command

REPRO                                                                      – INDATASET(STUDENT.TEST.INPUT)             – OUTDATASET(STUDENT.KSDS.CLUSTER)   – SKIP (2)                                                                     – COUNT (4) The SKIP and COUNT is used to selectively copy records to the output file. In this case the first 2 records are skipped and only the next 4 records are copied to the output file. If SKIP is ignored then default value is SKIP (0)…

Details