View previous topic :: View next topic
|
Author |
Message |
kumarmca1
New User
Joined: 06 Jul 2009 Posts: 13 Location: chennai
|
|
|
|
Dear All,
I got the below error while running PL1 program
IBM204I 'ONCODE'=0084 'UNDEFINEDFILE' CONDITION RAISED
NO DD STATEMENT ('ONFILE'= ARTOUD)
IN STATEMENT 406 AT OFFSET +000558 IN PROCEDURE WITH ENTRY
TRAIT_RUPT_GEN
But ARTOUD is dynamically allocated.
In JCL we gave the above DD name as Dynamic
//ARTOUD DD DYNAM .
Could you please give inputs to resolve the issue?
Thanks,
Muthu. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Use the DYNAM parameter to increase by one the control value for dynamically allocated resources held for reuse. Even when DYNAM is not coded, the system normally holds resources in anticipation of reuse. The DYNAM parameter is supported to provide compatibility with older systems.
A DD DYNAM statement is a dummy request. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
Does the program logic in fact allocate ARTOUD before it attempts to open the associated data set? |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Akatsukami wrote: |
Does the program logic in fact allocate ARTOUD before it attempts to open the associated data set? |
Probably not, i guess the TS believes coding DYNAM in jcl will
allocate something dynamically. |
|
Back to top |
|
|
kumarmca1
New User
Joined: 06 Jul 2009 Posts: 13 Location: chennai
|
|
|
|
Hi Peter,
Thanks for the input.
We have coded in the program to allocate the file. That is why we gave the DYNAM parameter in JCL.
Thanks,
Muthu. |
|
Back to top |
|
|
|