Why does the CONPARMX output ddname 'PARMS' contain formatted data when the program IGYCRCTL is specified ?

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

Question:

When program IGYCRCTL is specified for Parm 1 (program name), why does the output (ddname PARMS) contain formatted data ? The formatted data contains the keyword 'CBL' in position 1 for input required for SYSIN dd statement. This can create parameter files not compatible with other COBOL versions.

Answer:

The specified program name (IGYCRCTL) in this case will cause the parameters to be formatted with the keyword 'CBL'.  If you use a different program name, the parameter file will not have this formatting and the parms will begin in column 1. This still may not be compatible with all COBOL versions, ie. OPTFILE option with Enterprise COBOL. In that case CONPARMX could be used.

 

Additional Information:

See also: TEC513119  and the CA Endevor Extended Processor Guide for a detailed description of CONPARMX