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

MOSC Banner

error in Clib.fopen()

edited Nov 15, 2017 9:24AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 3 commentsAnswered ✓

Hi I have a requirement to read / write data from / to a file. I have a created a file called test.txt in  C:\test.txt in my local machine. I am testing it using my local siebel client installed in my local machine.

Below is the pseudocode code that i am using:

function Service_PreInvokeMethod (MethodName, Inputs, Outputs)

{

var file = Clib.fopen("C:\test.txt", "wt+");

TheApplication().RaiseErrorText("Hi");

return (CancelOperation);

}

When i try to simulate using the Business Service Simulator i am getting the below error:

Siebel eScript runtime error occured in procedure 'fopen' of Service [Wrtie to File]:

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