Link-editing single-language applications

The default main entry point for a C, C++, or PL/I application is CEESTART (PLISTART for code compiled with OS PL/I); for a Fortran application, it is the name of the main routine. For COBOL, the main entry point for an application is determined in one of two ways:
  • The name of the first object module presented to the link-edit process.
  • Explicit specification of the entry point by providing a control statement to the link-edit process.

A copy of CEESTART resides in the Language Environment SCEELKED library. Do not explicitly include it in the link-edit process, even for Language Environment-conforming languages. The compilers generate CEESTART or references to it when necessary.

Although CEESTART is not used as an entry point by Language Environment-conforming assembler programs, it still must be resolved by the link-editor. To ensure this is possible, avoid using the NCAL link-editor option.

You must link-edit applications before you run them.