My Oracle Support Banner

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 MARCH 26, 2019

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.55 and later
Information in this document applies to any platform.

Symptoms

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.

Error Message:

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:
CBLBIN=D:\psft\hcmcust\hcmf\WeyCust\CBLBINA;%PS_APP_HOME%\CBLBIN%PS_COBOLTYPE%;%PS_HOME%\CBLBIN%PS_COBOLTYPE%

and the order of cobol programs to be searched when a COBOL process is run would be:
PS_CUST_HOME/cblbin:PS_APP_HOME/cblbin:PS_HOME/cblbin


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.

 

 

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.