Understanding Visual COBOL Compilation

This section assumes that you are carrying out the compile process from your file server. (The COBOL compiler itself does not need to be on the file server, as long as the user can write to the file server and can link to the src and bin directories.) The recommended approach for the PeopleSoft installation is to use CBLBLD.BAT to compile all your COBOL source files at once. Another alternative is CBLMAKE.BAT, which you can use to compile selected COBOL files.

The way that you set up your installation environment determines how you compile COBOL. This section includes different procedures for the different installation environments, as follows:

  • Installations with PS_HOME and PS_APP_HOME

    The PeopleSoft Application software is installed to a PS_APP_HOME location that is outside of the PeopleSoft PeopleTools installation location, PS_HOME. If the PS_APP_HOME environment variable is defined and is different from PS_HOME, the COBOL build scripts behave differently under certain build options. Follow the instructions in these sections:

    • Compiling COBOL on Microsoft Windows with PS_HOME and PS_APP_HOME

    • Defining the GNT and INT Files

  • Installations with PS_HOME, PS_APP_HOME, and PS_CUST_HOME

    You have the option to place customized COBOL baseline sources into a location referenced by the environment variable PS_CUST_HOME.

    The PS_CUST_HOME directory structure must replicate that of PS_HOME or PS_APP_HOME; that is, any COBOL source file that is customized should be placed in the same relative path as was present in the original location.

    For example, if the original location for the COBOL source files is PS_APP_HOME/src/cbl, place the customized files in PS_CUST_HOME/src/cbl.

    If your environment includes customized files in a PS_CUST_HOME directory, as well as in PS_HOME and PS_APP_HOME, follow the instructions in these sections:

    • Compiling COBOL on Microsoft Windows with PS_HOME, PS_APP_HOME, and PS_CUST_HOME

    • Defining the GNT and INT Files

For those systems on which you only need to run COBOL, but do not need to compile it, you can install and configure the runtime product.

See Setting Up the COBOL Server for Windows Runtime.