IMASPZAP "zaps" or dumps a record specified as an address specified as a CCHHR that is in a dataset (which may be a VTOC) specified in a DD statement. There are programs - I believe ADRDSSU is one, but I'm not going to research it - that will dump tracks specified as CCHH, where you are not required to specify a dataset name. There are two ways to do this.
- The program can cheat, which requires APF authorization, OR
- The program can locate the dataset where the CCHH is located, then open the dataset normally, then read the track. If it cannot locate the dataset, the program can give up, or it can revert to the first bullet.
Back in the 1990s I wrote a program to do this, but you specify a dataset rather than search for a dataset, and if the CCHH is not in the dataset it gives up. I run this program fairly often, usually for pedalogical purposes.