Page 1 of 1

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

PostPosted: Thu Jul 03, 2008 10:58 am
by divya1978
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.

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

PostPosted: Thu Jul 03, 2008 7:04 pm
by Bill Dennis
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.

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

PostPosted: Fri Jul 04, 2008 12:08 am
by dick scherrer
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