View previous topic :: View next topic |
Author |
Message |
anbesivam Beginner
Joined: 09 Aug 2006 Posts: 66 Topics: 14
|
Posted: Thu Aug 24, 2006 10:58 am Post subject: Dynamic Allocation of Member |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Aug 24, 2006 11:06 am Post subject: |
|
|
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 |
|
 |
anbesivam Beginner
Joined: 09 Aug 2006 Posts: 66 Topics: 14
|
Posted: Thu Aug 24, 2006 11:13 am Post subject: |
|
|
Thanks Kolusu for the Immt. response.
I have already verified above link and the error message.
But refering dataset is not used any where.  |
|
Back to top |
|
 |
anbesivam Beginner
Joined: 09 Aug 2006 Posts: 66 Topics: 14
|
Posted: Thu Aug 24, 2006 12:34 pm Post subject: |
|
|
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 |
|
 |
|
|