E-COB: Net Express Not Pulling In Customized Cobol Copybooks When Compiling With A PS_CUST_HOME Setup
(Doc ID 2350906.1)
Last updated on AUGUST 12, 2021
Applies to:PeopleSoft Enterprise PT PeopleTools - Version 8.55 and later
Information in this document applies to any platform.
On: Tools 8.55.16, Windows Server 2012 R2, NetExpress Cobol WP11
Compiling COBOL with a PS_CUST_HOME on Windows Server using Net Express is not pulling in custom copybooks in the PS_APP_HOME. Customization has been done to a PeopleTools copybook PTCTOOLS and an apps copybook PTCAPPS1. These customized programs are located in PS_CUST_HOME directory.
When running cobol on PSNT process scheduler, users are getting an error due to customized copybooks residing in PS_CUST_HOME not being incorporated as they should be with PS_APP_HOME.
ASCII Cobol Compilations Proceeding
ERROR! d:\psft\pt85516\SRC\CBL is not found!
Is PS_HOME variable 'd:\psft\pt85516' correct?
Compiling Application Cobol Programs
Same results with the custom cobol in PS_CUST_HOME/cbl/src and got the following error:
ERROR! Nothing is compiled. Please check PS_HOME variable
The environment has a decoupled home where PS_HOME and PS_APP_HOME are installed to two separate directories
psprcs.cfg, shows the following:
and the order of cobol programs to be searched when a COBOL process is run would be:
The programs compile successfully and the gnt files get created in the PS_HOME/cblbina, PS_APP_HOME/cblbina and PS_CUST_HOME/cblbina, but aren’t being pulled in the customized copybooks correctly. As a result, failures due to array sizes occur.
If the customized copybooks were copied directly to the PS_APP_HOME and recompile, the process runs successfully.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document