Developer for System z COBOL for Windows, Version 7.5, Programming Guide
Compiling using batch files or command files
You can use a batch file or command file to automate cob2
tasks.
To
prevent invalid syntax from being passed to the cob2 command, however,
do not use any blanks in the option string unless you enclose the string in
quotation marks (“”).