Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Issue with WF76.
 Login/Join
 
Platinum Member
posted
The following code is generating error message in WF76 with WindowsXP:
-******************
-SET &ECHO = ALL ;
-*-DEFAULT &org_list = '';

-SET &Q = BYTVAL('''', 'I4');
-SET &QQ = BYTVAL('~', 'I4');

-SET &org_list=CTRAN(&org_list.LENGTH,&org_list,&QQ,&Q,'A&org_list.LENGTH');

-*-SET &org_list = CTRAN(&ORG_LIST.LENGTH, &ORG_LIST, &QQ, &Q, 'A&ORG_LIST.LENGTH');
-******************
Unknown error occurred. Agent on reporting server EDASERVE may have crashed. Please investigate reporting server log. We are using similar code in our fex files.

Observations:
1.If file name is changed to a shorter one (example webfocus.fex), a proper error message is displayed.
2.If the variable org_list is changed to ORG_LIST, a proper error message is displayed.
3.If default value is provided for org_list, error will be resolved.

The case is working fine with WF54. Is this happening to all?


Regards,
Cyril Joy.

WF Production 8008 on Linux.
 
Posts: 143 | Location: Rochester,NY. | Registered: August 20, 2004Report This Post
Platinum Member
posted Hide Post
I named the fex file as 'webfocus_issue_testing1.fex'.


Regards,
Cyril Joy.

WF Production 8008 on Linux.
 
Posts: 143 | Location: Rochester,NY. | Registered: August 20, 2004Report This Post
Expert
posted Hide Post
Cyril,

It works fine in 7.1.3 as well so it would appear to be a possible bug. You should raise a case with IB so they will have a look etc.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
Cyril,

I have tested in 7.6 with the code below:

-SET &ECHO = ALL ;
-SET &QT = '''';
-SET &org_list = 'TOM' | &QT | 'S' | '~' | 'LIST';

-SET &Q = BYTVAL('''', 'I4');
-SET &QQ = BYTVAL('~', 'I4');

-SET &org_list=CTRAN(&org_list.LENGTH,&org_list,&QQ,&Q,'A&org_list.LENGTH');

-*-SET &org_list = CTRAN(&ORG_LIST.LENGTH, &ORG_LIST, &QQ, &Q, 'A&ORG_LIST.LENGTH');
-TYPE &org_list
-EXIT



The output:


-SET &QT = '''';
-SET &org_list = 'TOM' | ' | 'S' | '~' | 'LIST';
-SET &Q = BYTVAL('''', 'I4');
-SET &QQ = BYTVAL('~', 'I4');
-SET &org_list=CTRAN(10,TOM'S~LIST,126,39,'A10');
-*-SET &org_list = CTRAN(&ORG_LIST.LENGTH, &ORG_LIST, &QQ, &Q, 'A&ORG_LIST.LENGTH');
-TYPE TOM'S'LIST
TOM'S'LIST
-EXIT

Your previous code, commented out, had &ORG_LIST in CAPS????
I am assuming &org_list is a passed variable; in lower case??

Tom


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders