Specify the following REPRO statement to back up all records in a file between and including the key values of "MARCH" and "JUNE":
Note: In collating sequence, JUNE comes before MARCH, so the FROMKEY is set to "JUNE" and the TOKEY is set to "MARCH."
// EXEC PGM=LDMAMS //SSN$xxxx DD DUMMY //SYSPRINT DD SYSOUT=A //SYSIN DD * REPRO INFILE(FILE1) OUTFILE(BCKFILE1) FROMKEY(JUNE) TOKEY(MARCH) //BCKFILE1 DD DSN=LSERV.BACKUP
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |