steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
I am trying to use dynamic allocation information retrieval to obtain the DSORG for the data set allocated to a DD name. I've run into a couple of unexpected issues.
- DD not allocated. DYNALLOC returns w/ RC = 0 and no other indication of a problem.
- Data set specified by the DD statement does not exist on the volume. As with the first bullet, DYNALLOC returns w/ RC = 0 and no other indication of a problem.
I actually encountered the second bullet first, and only encountered the first bullet when I forced a bad DD name. In both cases, I wanted to verify my DAIRFAIL code was working.
In the real world, the app won't encounter the first error as it has already verified the DD exists and defines a DASD volume, but the app could get the second error.
Anyone have any thoughts? |
|