Disp =(New,Catlg,Pass) - Compile or Run Time error?



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Disp =(New,Catlg,Pass) - Compile or Run Time error?

Postby divya1978 » Thu Jul 03, 2008 10:58 am

If Disp =(New,Catlg,Pass) is coded in DD statement of JCL ,
Does the above statement will give error at compile time(checking syntax through JCK) or run time?
As per the rules Pass cannot be provided in abnormal termination parameter.
divya1978
 
Posts: 5
Joined: Thu Jul 03, 2008 10:45 am
Has thanked: 0 time
Been thanked: 0 time

Re: Disp =(New,Catlg,Pass) - Compile or Run Time error?

 

Re: Disp =(New,Catlg,Pass) - Compile or Run Time error?

Postby Bill Dennis » Thu Jul 03, 2008 7:04 pm

You should not refer to JCL syntax checking as "compile". It is confusing.

I don't have JCK to test this but ProJCL product ('JJ') catches this on a syntax check.
Regards,

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
 
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Disp =(New,Catlg,Pass) - Compile or Run Time error?

Postby dick scherrer » Fri Jul 04, 2008 12:08 am

Hello,

As the syntax is invalid, the error should be raised with any JCL checker. Even if there exists a checker that somehow does not raise an error, the job will fail - the jcl is invalid. The job will be flushed.

Here's a link to the JCL manual (pointing to DISP, but the you can move about as needed) - you might want to keep it handy:
http://publibz.boulder.ibm.com/cgi-bin/ ... 50/12.19.1
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post