Does CA Symdump batch have a snap dump feature to replace program SNAPAID?

Document ID : KB000115512
Last Modified Date : 20/09/2018
Show Technical Document Details
Question:
The client is converting to CA Sydump batch which captures application program dumps from another vendor dump capture product.
The clients application programs are currently doing a static call to vendor program SNAPAID in an application program to produce a snap dump. Does CA Symdump batch have the equivalent program to produce a snap dump  to replace SNAPAID?
 
Environment:
Z/OS
Answer:
The CA Symdump program that replaces SNAPAID is CAODSNAP which is outlined in the documentation.
 
Snap Report
 
The Snap report lets you view a snapshot of a program's data areas from various points of execution without forcing the program to abend. Each report is produced by calling the snap interface program, CAODSNAP,
 from any COBOL, PL/I, or Assembler program. Much of the information in this report is similar to the information provided in an abend report; however, only the most active program (the one which called CAODSNAP) is included in the report.
 
In your application program the user includes the following call  
CALL 'CAODSNAP'.
 
Then in the link edit step add
 
INCLUDE APPLIB(CAODSNAP)
 
After I run COBOL test program READLOC and issue the call to CAODSNAP I see the following heading in the snap report. Below are some of the headings you see in the snap report.  
 
 
JOB: BATCHRUN STEP: STEP1 PROGRAM: READLOC
********************
* SNAP OF READLOC *
 
*********************
* REGISTERS AT SNAP *
 
SNAP WAS CALLED FROM ADDRESS 00008694 AT OFFSET +001694 IN PROGRAM READLOC
 
* END SNAP OF READLOC *