Snap dump utility

The snap dump utility displays HSM records in a snap dump format.

The AKDBATCH JCL in the SAKDJCL library is a template you can use to run the snap dump utility. Do not modify the AKDBATCH member directly because it is used in the automatic error correction process. Make a copy of the AKDBATCH template as a member in your personal PDS and edit the copy by adding these two DD statements at the end:
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
   (dump commands here)

The sample input shown in the following figure produces a dump format of the A record, which is the Alias Name Record (MCA) that resides in the HSM MCDS. A single character that represents the type of record in the CDS and the key of the record are the two input requirements.

//SYSIN DD  *                                                     
 DUMP A HSM.HMIG.T034211.TEST1.DUASMI.J3211                       
 DUMP A HSM.HMIG.T392109.EDP.LAB.J3202    

The following figure shows an example of the snap dump produced from that sample input.

0RECORD FOUND           DUMP A HSM.HMIG.T034211  .TEST1.DUASMI.J3211
 DUMP FOLLOWS
 00000000 C8E2D44B C8D4C9C7 4BE3F0F3 F4F2F1F1    4BE3C5E2 E3F14BC4 E4C1E2D4 C94BD1F3   *HSM.HMIG.T034211.TEST1.DUASMI.J3*
 00000020 F2F1F140 40404040 40404040 00701100    B9CC096E 8F55D100 B9CC096E 8F55D100   *211         .......>..J....>..J.*
 00000040 00000000 E3C5E2E3 F14BC4E4 C1E2D4C9    4BC7C4C7 4BC7F0F0 F0F1E5F0 F0404040   *....TEST1.DUASMI.GDG.G0001V00   *
 00000060 40404040 40404040 40404040 40404040    00000000                              *                ....            *

0RECORD FOUND           DUMP A HSM.HMIG.T392109.EDP.LAB.J3202
 DUMP FOLLOWS
 00000000 C8E2D44B C8D4C9C7 4BE3F3F9 F2F1F0F9    4BC5C4D7 4BD3C1C2 4BD1F3F2 F0F24040   *HSM.HMIG.T392109.EDP.LAB.J3202  *
 00000020 40404040 40404040 40404040 00701100    B9C09943 BE0EC180 B9C09943 637AFC40   *            .....{r...A..{r..:. *
 00000040 00000000 C5C4D74B D3C1C24B D9C5D5C1    D4C54BD8 F0F0F0F2 4BC7F0F0 F0C14BD8   *....EDP.LAB.RENAME.Q0002.G000A.Q*
 00000060 F0F0F0C2 4BD8F0F0 F0C34040 40404040    00000000                              *000B.Q000C      ....            *

Snap Dump Example

This table shows the additional records that may display and in which control data set they are found.

Table 1. Additional records displayed
Character Record type Control data set name
B MCB BCDS
C MCC BCDS
X MCT BCDS
Y DVL BCDS
A MCA MCDS
D MCD MCDS
O MCO MCDS
V MCV MCDS
N TCN OCDS
T TTOC OCDS