Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

Siebel escript invoke SQLPLUS using clib.system() cannot output string value

edited Feb 29, 2016 4:00AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 2 commentsAnswered

Hi All,

I am trying to get an SQL output by using clib.system(). However, I am only getting a 0 or 1 return instead of the actual string value.

eScript:

var sRetVal = Clib.system("sqlplus " + strUsrNm + "/" + strPw + "@ + strDB + @ + strFilePt + strFileNm + '" + sInpVar + "'");

Appreciate any input.


Regards,

Zel

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