Starting in release 8.5 a batch utility program IN25DMPU is now available to manage dumps stored in the PROTDMP repository.
This new utility now allows dumps to be copied, deleted, list, locked or unlocked.
The following JCL example uses batch utility program IN25DMPU to COPY an individual dump from one PROTDMP file to another.
In the sample JCL below transaction abend DEC2 is copied to a second PROTDMP file.
Note the keyword ODSN identifies the INPUT PROTDMP file and keyword DSN identifies the PROTDMP file being copied to.
This utility is outlined in the CA SymDump for CICS User Guide in the Batch Utility chapter.
//JOBCARD
//DMPU EXEC PGM=IN25DMPU
//STEPLIB DD DISP=SHR,DSN=SYMDUM85.CACICS67
//SYSPRINT DD SYSOUT=*,DCB=(BLKSIZE=133)
//SYSIN DD *
ODSN SYMDUM85.CICS67.R85.PROTDMP
DSN SYMDUM85.COPYTO.R85.PROTDMP
COPY TRAN EQ DEC2
/*
//
Messages generated by the copy command are
DSN SYMDYM85.COPYTO.R85.PROTDMP
COPY TRAN EQ DEC2
A11IC4S5 10/03/2014 14:57:20 ASRA COB2DEMO DEC2 U016 +0013DA **Copying
A11IC4S5 10/03/2014 14:57:20 ASRA COB2DEMO DEC2 U016 +0013DA **Copied