PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Executing Windows Script in AE PeopleCode

edited Apr 30, 2014 11:55AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 22 commentsAnswered


Hello,

We are trying to execute a windows script in an Application Engine using Peoplecode.  We are on PeopleTools version 8.51 and the script is not being executed.  We are also receiving an exitcode value of 1.  Has anyone else encountered this issue?  What can be done to resolve this issue?  Has anyone been able to execute a windows script successfully?  I have listed our PeopleCode below.  Any help or suggestions would be greatly appreciated.

Global File &FileLog;
Global string &LogFileName, &Servername;
Local string &Footer;

&Servername = PNM_ETL_AET.SERVERNAME.Value;

If All(&Servername) Then
  
   If &Servername = "PSNT" Then
      &ScriptName = "\scripts\Upload.bat";

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center