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
 
Error While running the job using PL1 program

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

New User


Joined: 06 Jul 2009
Posts: 13
Location: chennai

PostPosted: Wed Feb 10, 2010 7:49 pm    Post subject: Error While running the job using PL1 program
Reply with quote

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
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2442
Location: Netherlands, Amstelveen

PostPosted: Wed Feb 10, 2010 7:52 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1777
Location: Bloomington, IL

PostPosted: Wed Feb 10, 2010 8:30 pm    Post subject:
Reply with quote

Does the program logic in fact allocate ARTOUD before it attempts to open the associated data set?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2442
Location: Netherlands, Amstelveen

PostPosted: Wed Feb 10, 2010 8:34 pm    Post subject:
Reply with quote

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
View user's profile Send private message
kumarmca1

New User


Joined: 06 Jul 2009
Posts: 13
Location: chennai

PostPosted: Wed Feb 10, 2010 8:45 pm    Post subject:
Reply with quote

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
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am

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