Previous topic |
Next topic |
Contact z/OS |
Coding symbols in comments
z/OS MVS JCL Reference
The system does not process symbols in comment statements or in comment fields of JCL statements. Comments on JCL statements that contain symbols are evaluated as follows:
The equivalent JCL produced by substitution is
DEF"E is considered a comment because it follows the blank that ends the parameter field, so the second instance of "E will not be replaced during symbolic substitution. Because the first "E symbol resolves to a single quotation mark, the system expects to either find another single quotation at the end of a subparameter list, or find a continuation to the next line. The EXEC statement receives an error message indicating that the system did not receive an expected continuation.
The equivalent JCL is:
The text (30,0) is substituted for the symbol &T. However, because substitution introduced a blank character after the program name parameter, all text following the blank is considered to be a comment. Thus the system does not process the PARM and TIME parameters.
Copyright IBM Corporation 1990, 2014