You can compile your COBOL programs from the command line or by using a shell script or makefile.
If you have non-IBM or free-format COBOL source, you might first need to use the source conversion utility, scu, to help convert the source so that it can be compiled. To see a summary of the scu functions, type the command scu -h. For further details, see the man page for scu, or see the related reference about the utility.
For further details about setting compiler options and the relative precedence of the methods of setting them, see the related reference about conflicting compiler options.
related tasks
Compiling from the command line
Compiling using shell scripts
Specifying compiler options in the PROCESS (CBL) statement
Modifying the default compiler configuration
Porting applications between platforms
related references
Compiler environment variables
cob2, cob2_j, and cob2_r options
Compiler options
Conflicting compiler options
Migration from earlier versions, and compatibility
Summary of differences from host COBOL
Reference format (COBOL for AIX Language Reference)
Source conversion utility (scu) (COBOL for AIX Language Reference)