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] Error with ARGLEN

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Error with ARGLEN
 Login/Join
 
Master
posted
I am working with a field STATEMENTDISPLAYFORROLLUP, defined as A51V.

When I run this code:
COMPUTE TLEN/I3 = ARGLEN(A51V, STATEMENTDISPLAYFORROLLUP, 'I3');
I get this error:

ERROR AT OR NEAR LINE 15 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC258) FIELDNAME OR COMPUTATIONAL ELEMENT NOT RECOGNIZED: A51V

(FOC009) Request failed validation, not executed.

I thought it was permitted to run ARGLEN against variable length alpha field.

???

Thank you

This message has been edited. Last edited by: Tomsweb,


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Master
posted Hide Post
The first parm in ARGLEN is expected to be a number (length) not a format.

I would probably use the LENV function to find the length of a AnV field.
 
Posts: 822 | Registered: April 23, 2003Report This Post
Master
posted Hide Post
David,

Here is my finished product.

   
TABLE FILE PARTNERSTATEMENTXREF
PRINT STATEMENTDISPLAYFORROLLUP
COMPUTE TLEN/I3 = ARGLEN(51, STATEMENTDISPLAYFORROLLUP, 'I3');
-*WHERE RECORDLIMIT EQ 5
ON TABLE HOLD AS TOMMY
END
-RUN

TABLE FILE TOMMY
PRINT STATEMENTDISPLAYFORROLLUP
BY HIGHEST 3 TLEN
END 
-RUN


With these procedures I can create a larger sized field to carry that data forward.

Thank you.

This message has been edited. Last edited by: Tomsweb,


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report 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] Error with ARGLEN

Copyright © 1996-2020 Information Builders