If you use a shell script to automate cob2 tasks,
you must code option syntax carefully to
prevent the shell from passing invalid strings to cob2.
Code option strings in scripts as follows:
- Use an equal sign and colon rather than a left and right
parenthesis, respectively, to specify compiler suboptions.
For
example, code -qOPT=FULL:,XREF
instead of -qOPT(FULL),XREF.
- Use an underscore rather than a single quotation mark where a
compiler option requires single quotation marks for delimiting a
suboption.
- Do not use blanks in the option string.