

CA-L-Serv › Maintain Managed Files › Back Up and Restoring Files
Back Up and Restoring Files
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:
- The ddname of the source file, which is the VSAM file you are backing up. Specify this ddname on the INFILE parameter. The ddname must match the ddname on the ADDFILE command. Do not specify a DD statement for managed data sets in the LDMAMS JCL.
- The ddname of the target file, which is the sequential file where the backup copy is stored. Specify this ddname on the CA-L-Serv OUTFILE parameter. The LDMAMS JCL must include a DD statement for this file.
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). . .
Copyright © 2014 CA Technologies.
All rights reserved.
 
|
|