MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Dynamic Allocation of Member

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
anbesivam
Beginner


Joined: 09 Aug 2006
Posts: 66
Topics: 14

PostPosted: Thu Aug 24, 2006 10:58 am    Post subject: Dynamic Allocation of Member Reply with quote

I am using BPXWDYN for dynamic allocation of the member in PDS in the following way

Code:
 /* DSN RETRIVEAL OK DYNAMICALLY ALLOCATE MEMBER */             
                                                                   
     DCL RETRIEVE CHAR(512) VARYING;                               
     RETRIEVE = 'ALLOC FI('!!TRIM(DDNAME)!!                         
               ') DA('!!TRIM(DSN)!!'('!!TRIM(MEMBER)!!'))'!!       
               ' MSG(WTP) SHR';                                   
     CALL BPXWDYN(RETRIEVE);                                       
 


But I am getting following error message

Code:
IKJ56246I DATA SET XXXXXX.XXXX.XXXX NOT ALLOCATED, FILE IN USE


Could you Please help on this. Like, What is this error means and some expert openion about how to solve this.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Aug 24, 2006 11:06 am    Post subject: Reply with quote

anbesivam,

Looks like the PDS is in use. Check this link for a detailed explanation of the Message IKJ56246I
Code:

IKJ56246I type_name NOT ALLOCATED, FILE IN USE                           
                                                                         
Explanation:  The dynamic allocation error code is 0410. For a description
of the dynamic allocation return, informational, and error codes, refer to
z/OS MVS Programming: Authorized Assembler Services Guide.               
                                                                         
Detected by:  CALLER                                                     
                                                                         
Program:  DAIRFAIL                                                       
                                                                         


Check this link for error code 0410

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2A850/26.3.2?DT=20040714145712

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
anbesivam
Beginner


Joined: 09 Aug 2006
Posts: 66
Topics: 14

PostPosted: Thu Aug 24, 2006 11:13 am    Post subject: Reply with quote

Thanks Kolusu for the Immt. response.

I have already verified above link and the error message.
But refering dataset is not used any where. Neutral
Back to top
View user's profile Send private message
anbesivam
Beginner


Joined: 09 Aug 2006
Posts: 66
Topics: 14

PostPosted: Thu Aug 24, 2006 12:34 pm    Post subject: Reply with quote

Program has assembler call before this allocation. But it is obsolete.
So, I have removed that.

Now it works fine as expected.

Thanks much.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group