FBOOLPR()/FVBOOLPR() OUTPUTS UNEXPECTED RESULT (Doc ID 1289756.1)

Last updated on FEBRUARY 07, 2011

Applies to:

Oracle Tuxedo - Version: 11.1.1.1.0 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

When using Fboolpr/Fboolpr32 with string matching of regular expression in Fboolco/Fboolco32, output will have unexpected results.

With the following code:

tree = Fboolco32("FIRSTNAME %% 'J.*n' && SEX == 'M'");
Fboolpr32(tree, stdout);


Expected result is:

( ( ( FIRSTNAME[0] ) %% ( 'J.*n' ) ) && ( ( SEX[0] ) == ( 'M' ) ) )


Result is:

( ( ( FIRSTNAME[0] ) %% ( 'RE' ) ) && ( ( SEX[0] ) == ( 'M' ) ) )

Regular expression strings will be 'RE" as fixed value.


Fvboolco()/Fvboolco32() has similar issue.

Code:

tree = Fvboolco32("firstname %% 'J.*n' && sex == 'M'","emp");
Fvboolpr32(tree, stdout,"emp");

Expected result is:

( ( ( firstname[0] ) %% ( 'J.*n' ) ) && ( ( sex[0] ) == ( 'M' ) ) )


Result is:

( ( ( (FLDID)167772162[0] ) %% ( 'RE' ) ) && ( ( (FLDID)167772164[0] ) == ('M' ) ) )

It fails to retrieve view name.

Cause

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