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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] GETTOK ERROR IN FOCUS

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] GETTOK ERROR IN FOCUS
 Login/Join
 
<Jagan>
posted
Hi All,

I am using the below code to split large string (A which comes from file) into multiple strings A_1 and A_2.

A_NEW/A70 = PARAG(70, A, '>', 35, A_NEW);
A_1/A35 = GETTOK(A_NEW,70,1,'>',35, A_1);
A_2/A35 = GETTOK(A_NEW,70,2,'>',35, A_2);

This is working in webfocus without any issues.
The same code I am executing from mainframe focus (focus 7.2.6), which is giving error like the below

"FIELD NAME OR COMPUTATIONAL ELEMENT NOT RECOGNIZED: A_1"

Could you please let me know the solution?

Thanks in advance.

This message has been edited. Last edited by: Kerry,
 
Report This Post
<JG>
posted
quote:
A_1/A35 = GETTOK(A_NEW,70,1,'>',35, A_1);

Should not be an issue but try coding it as

A_1/A35 = GETTOK(A_NEW,70,1,'>',35, 'A35');
 
Report This Post
Virtuoso
posted Hide Post
quote:
A_NEW/A70 = PARAG(70, A, '>', 35, A_NEW);
A_1/A35 = GETTOK(A_NEW,70,1,'>',35, A_1);
A_2/A35 = GETTOK(A_NEW,70,2,'>',35, A_2);


Look over the preceding lines in your DEFINE FILE. (Always recommended.) You could get this error message if the ";" at the end of the first line were missing (A_1/A35 would be taken as a continuation of the expression above it.)

Do you get the same error if you use a delimiter chacater other than ">"?


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] GETTOK ERROR IN FOCUS

Copyright © 1996-2020 Information Builders