Changing the defaults for compiler options
You can change the defaults for compiler options, and can override fixed compiler options.
- Copy the source of options module IGYCDOPT from
IGY.V6R2M0
.SIGYSAMP into the appropriate job in place of the two-line comment.
- Change the parameters on the IGYCOPT macro call to match the compiler options that you have selected for your installation.
Observe the following requirements when coding the changed IGYCOPT macro call:
- Place continuation character (X in the source) in column 72 on each line of the IGYCOPT invocation except the last line. The continuation line must start in column 16. You can break the coding after any comma.
- Do not put a comma in front of the first option in the macro.
- Specify options and suboptions in uppercase. Only suboptions that are strings can be specified in mixed case or lowercase.
- If one of the string suboptions contains a special character (for
example, an embedded blank or unmatched right or left parenthesis),
the string must be enclosed in apostrophes ('), not in quotation marks
("). A null string can be specified with either contiguous apostrophes
or quotation marks.
To obtain an apostrophe (') or a single ampersand (&) within a string, two contiguous instances of the character must be specified. The pair is counted as only one character in determining whether the maximum allowable string length has been exceeded and in setting the effective length of the string.
- Avoid unmatched apostrophes in any string that uses apostrophes.
The error cannot be captured within IGYCOPT itself. Instead, the assembler
produces a message such as:
This message bears no spatial relationship to the offending suboption. Furthermore, none of the options is properly parsed if this error is committed.IEV03 *** ERROR *** NO ENDING APOSTROPHE
- Code only those options whose default value you want to change.
The IGYCOPT macro generates the default value for any option that
you do not code.
For a worksheet to help you plan your default compiler options, see IGYCDOPT worksheet for compiler options. For descriptions of the options, see Enterprise COBOL compiler options.
- Place an END statement after the macro instruction.
For additional details about how to code macro calls, see the High Level Assembler for z/OS® Language Reference.