Setting Up the COBOL Server for Windows Runtime
Understanding the COBOL Server for Windows Runtime
For systems that will only run PeopleSoft application COBOL programs, where no compiling is needed, you can install the Visual COBOL runtime program only, COBOL Server for Windows. Typically, PeopleSoft application COBOL programs are run on PeopleSoft Application Server systems and PeopleSoft Process Scheduler systems.
Do not install the runtime program on the same system as the Visual COBOL development and integration program. The Visual COBOL development programs include a runtime program. On systems where you compiled the programs you do not need to install a separate runtime program. Be sure to obtain separate installation files and separate license files for COBOL Server for Windows.
Managing the COBOL Server for Windows Runtime License
The installation for the COBOL Server for Windows runtime software puts the License Administration tool in this location:
C:\Program Files (x86)\Common Files\SafeNet Sentinel\Sentinel RMS License Manager\WinNT\cesadmintool
After obtaining your license file from Oracle, see the Managing Licenses information in the Visual COBOL documentation to install it for the COBOL Server for Windows.
Setting Up the COBOL Server for Windows Runtime
To set up the COBOL Server for Windows runtime:
-
Install Visual COBOL Build Tools for Windows, Visual COBOL for Visual Studio 2019, or Visual COBOL for Eclipse for Windows on the development system.
-
On the Visual COBOL development system, compile the PeopleSoft application COBOL files.
When CBLBLD.bat is run as part of the compilation process, it invokes CBLRTCPY.bat to copy the COBOL runtime .dll and .exe files, from the %COBROOT%\bin directory to PS_HOME\CBLBINX directory on the development system.
CBLBINX is CBLBINA, or CBLBINU, based on the compilation mode of ASCII or Unicode respectively.
-
On the runtime system, install the runtime program, COBOL Server for Windows.
-
On the runtime system, install the license for COBOL Server for Windows.
-
Copy PS_HOME\CBLBINX from the development system to the runtime system.
See Distributing Visual COBOL Binaries.
-
On the runtime system, set the COBROOT environment variable to reference the installation location for COBOL Server for Windows; for example:
set COBROOT="C:\Program Files\CobolServer60" -
On the runtime system, run CBLRTCPY.bat to copy the COBOL runtime .dll and .exe files, from the %COBROOT%\bin directory to the CBLBINX directories under PS_HOME, PS_APP_HOME, and (if necessary) PS_CUST_HOME (all locations on the runtime system).
Run the following commands and specify the location of the files that you copied in step 5.
PS_HOME\setup\cblrtcpy.bat PS_HOME\CBLBINX PS_HOME\setup\cblrtcpy.bat PS_APP_HOME\CBLBINX PS_HOME\setup\cblrtcpy.bat PS_CUST_HOME\CBLBINX -
Start running the COBOL programs.