JCL

Can we use if and if in JCL

Ex . if RC ne 0 and if RC ne 1
perform process
end-if
end-if

Hi,

As i can remember, you can use up to 15 nested IF statements, but in your case, you can put it like this:

IF (RC NE 0 & RC NE 1)

Best Regards.
Eduardo.

Thanks. I have used it as

If RC GT 1
end-if

Part of TOOLKIT has a job submission utility that will allows compile time JCL with IF’s & DECIDEs + more.

I have attached the PDF doco. This is part of the next version of TOOLKIT
TKSUBMIT.pdf (48.9 KB)