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.
WRITE Command.... Column 72 Option
N causes any ++WRITE command to not expand ++INCLUDEs, independent of the CA Panvalet installation option specified.
(RC) 4 INCLUDE command in error, or an I command failed.