Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Dynamic allocation information retreieval

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 574
Location: The Universe

PostPosted: Wed Dec 10, 2014 7:03 pm    Post subject: Dynamic allocation information retreieval
Reply with quote

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.
  1. DD not allocated. DYNALLOC returns w/ RC = 0 and no other indication of a problem.
  2. 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?
Back to top
View user's profile Send private message

steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 574
Location: The Universe

PostPosted: Mon Dec 15, 2014 7:08 am    Post subject:
Reply with quote

I goofed. When the DD is not allocated, DYNALLOC ends w/ RC = 4. The DAIRFAIL message is pretty bad -

IKJ56247I FILE INFO-RETRIEVAL NOT PERFORMED, IS NOT ALLOCATED
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Information About the Equifax Securit... Rohit Umarjikar PC Guides & IT News 6 Mon Sep 11, 2017 9:10 pm
No new posts retrieving envelope information out o... VintageReceiver TSO/ISPF 6 Thu Aug 10, 2017 8:13 pm
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us