Can I use the IDCAMS repro command to back up the CA Intertest PROTSYM file?
search cancel

Can I use the IDCAMS repro command to back up the CA Intertest PROTSYM file?

book

Article ID: 13602

calendar_today

Updated On:

Products

InterTest - CICS InterTest - Batch InterTest VSE - CICS

Issue/Introduction



The client would like to make a copy of his CA Intertest PROTSYM file before making any changes to the file. Can the client us the IDCAMS REPRO utility to make a copy of the PROTSYM file?

Environment

Z/OS

Resolution

When managing the PROTSYM file we recommend you use the CA Intertest CICS utility program IN25UTIL to make a backup of the PROTSYM file.

Please review the CA Intertest Symbolic Guide for further information on the IN25UTIL utility program. 

Use of the REPRO command can cause problems with the PROTSYM file. 

You can then search  the Symbolic guide for the UNLOAD parameter and you should find JCL 

//UTILITY JOB 
//STEP1 EXEC PGM=IN25UTIL 
//STEPLIB DD DSN=CAI.CAVHLOAD,DISP=SHR 
//MESSAGE DD SYSOUT=* 
//PROTSYM DD DSN=CAI.PROTSYM,DISP=SHR 
//UNLOAD DD DSN=USER.UNLOAD, 
// DISP=(NEW,CATLG,CATLG),SPACE=(CYL,(5,10),RLSE), 
// DCB=(RECFM=FB,LRECL=2042,BLKSIZE=20420) 
//CARDS DD * 
UNLOAD=ORDEDIT,AFTERDATETIME=2014/12/31 
UNLOAD=COB* 
/* 
//

You can change the JCL above to make the UNLOAD dataset a permanent dataset on DASD. Use ISFP 3.2 and allocate a sequential dataset as list above. 

RECFM=FB ,LRECL=2042, BLKSIZE=20420 

And then change to UNLOAD=ALL 

For example 

//UTILITY JOB 
//STEP1 EXEC PGM=IN25UTIL 
//STEPLIB DD DSN=CAI.CAVHLOAD,DISP=SHR 
//MESSAGE DD SYSOUT=* 
//PROTSYM DD DSN=CAI.PROTSYM,DISP=SHR 
//UNLOAD DD DSN=BACKUP. PROTSYM, DISP=SHR 
//CARDS DD * 
UNLOAD=ALL 
/* 
// 

After running the JCL you will have a backup of the PROTSYM file in the sequential file..