My Oracle Support Banner

SysExecute() Function Not Able To Execute Command Line Argument (Doc ID 1351594.1)

Last updated on SEPTEMBER 26, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version: and later   [Release: 7.3.1 and later ]
Information in this document applies to any platform.


The sysExecute() function is not able to execute a command line argument: trying to execute any command line argument with this function is always returns -1.

Using sysExecute() Function in ISC_PopulateOpcodeAndUtilBlock_Diameter.isc

Sample code from iScript is

String cmdline = "date";
String retbuf;
Long timeToWait = 10; // 10 seconds
Long retval = sysExecute( cmdline, retbuf, timeToWait );
if ( retval != -1 )
  // code to process retbuf
  logPipeline("The Value of returnbuf is " +retbuf);

  logPipeline(" sysExecute is returning -1 value");
  logPipeline("The Value of returnbuf is " +retbuf);

Pipeline log shows it is going in else part always and not printing the retbuf value.


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

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