Previous Topic: Back Up and Restoring Files

Next Topic: Restore a Managed File from a Backup Copy

Back Up Managed Files

Using the CA-L-Serv REPRO statement of the LDMAMS utility, you can backup a VSAM file managed by providing the following:

For example, to back up FILE1 and store the backup copy in BCKFILE1, specify the following REPRO statement:

//         EXEC  PGM=LDMAMS
//SSN$xxxx DD    DUMMY
//SYSPRINT DD    SYSOUT=A
//SYSIN    DD    *
  REPRO    INFILE(FILE1)   OUTFILE(BCKFILE1)
//BCKFILE1 DD  DSN=LSERV.BACKUP, DISP=(NEW,KEEP). . .