Cannot use Clib.fgets in business service in 8.1.1.11 (Doc ID 1598759.1)

Last updated on JUNE 19, 2017

Applies to:

Siebel CRM - Version 8.1.1.11 [IP2013] and later
Information in this document applies to any platform.

Goal

Using the following code to open and read a file:

while ( null !- (line=Clib.fgets(fp))){

  / / do some stuff
}

triggers the below error:

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms