You can start a COBOL main program by calling the acu_runmain() routine as follows:
void acu_runmain( argc, argv, program_arg ) int argc; char *argv[]; int program_arg;
This routine initiates a COBOL main program and never returns.
If you omit the COBOL program name (defaulting to "cbl.out"), then program_arg should be the same as argc. Any arguments in argv following program_arg are passed as CHAINING arguments to the COBOL program. Note that program_arg is usually the same as the return value from acu_initv().
The arguments in argv before program_arg are not actually used in acu_runmain(). This form is simply used for calling convenience.