My Oracle Support Banner

E-PC/AE: Exec() PeopleCode Fails In App Engine But Not In Page Event (Doc ID 2703491.1)

Last updated on AUGUST 26, 2020

Applies to:

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

Symptoms

On : 8.56.17 version, Application Engine

In an App Engine program, user try to invoke an external batch program via exec(), for example 

Exec("""C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\sqlcmd.exe"" -U sa -P xxxx -S ""myserver\SQL2017"" -d mydb -o c:\temp\out.txt -Q ""update PS_CURRENCY_CD_TBL set DESCR='test03' where CURRENCY_CD='CAD'""", %Exec_Synchronous + %FilePath_Absolute);

it run and did not update data. But when above code invoked from page event, it work fine with data updated.

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.