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
WEBFOCUS ERROR
 Login/Join
 
Member
posted
Hi
I am trying to use the &LINES command and it's returning 0 even though it's supposed to return 5 . Following is the piece of code I am trying to execute

---Begin

TABLE FILE ICMS_VW_CASE_UPDATED_AFTER_SARFILING
WHERE ( LASTTOUCHEDDATE GT MOSTRECENTFILEDDATE )
AND ( LAST_TOUCH_DATE GE BeginDate ) AND ( LAST_TOUCH_DATE LE EndDate );
ON TABLE HOLD AS HDICW00A
END
-RUN
-IF &LINES EQ 0 THEN GOTO EMPTY_RPT;
TABLE FILE HDICW00A

--End

I am also getting an error message at
thefollowing line
TABLE FILE HDICW00A
0 ERROR AT OR NEAR LINE 22 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC007) THE REQUEST STATEMENT DOES NOT CONTAIN A VERB
TABLE FILE HDICW00A
PRINT

Any help will be appreciated


rs
 
Posts: 11 | Location: Raleigh, North Carolina | Registered: November 21, 2005Report This Post
Virtuoso
posted Hide Post
Your first statement does not contain a verb like PRINT OR SUM. What happens after
TABLE FILE HDICW00A

Does it do anything?


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Expert
posted Hide Post
Hi rs,

Has this issue been resolved on your site?

If not, I am wondering, can you please try the following code and let us know if it gives you any error message:

TABLE FILE HDICW00A
PRINT *
END


Here is the explanation of the FOC007 error message:

(FOC007) THE REQUEST STATEMENT DOES NOT CONTAIN A VERB
The request statement does not contain a verb, and the heading, if
any, does not contain a reference to any data fields, implying a
verb.

Hope this helps. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Virtuoso
posted Hide Post
What is the purpose of the -END right after the Table File statement?


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Member
posted Hide Post
Thanks a lot Prairie & Kerry
As you mentioned this stmt did not have
a SUM or BY clause. hence the error
I introduced a SUM stmt and it fixed the error


rs
 
Posts: 11 | Location: Raleigh, North Carolina | Registered: November 21, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders