Panvalet PAN#1 ++WRITE WORK column 72 option N returns a RC4

Document ID : KB000046205
Last Modified Date : 14/02/2018
Show Technical Document Details


Why do I get RC4 executing PAN#1++WRITE WORK with option N?

The user expects that if N is used that INCLUDEs should be ignored and RC0 returned.

However if INCLUDE statements exist they are searched even though they are not expanded, and if the items are not found, then RC4 is returned



Panvalet for z/OS



You get RC 4 so the user is notified the INCLUDE item is not found even though it is not expanded.

A JCL test for non-zero condition code could optionally be added to bypass the step as a workaround.



User Guide:

  WRITE Command.... Column 72 Option

    N causes any ++WRITE command to not expand ++INCLUDEs, independent of the CA Panvalet installation option specified.


Messages Manual:

  (RC) 4 INCLUDE command in error, or an I command failed.