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     [CLOSED] Issue with Reading HOLD File

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Issue with Reading HOLD File
 Login/Join
 
Platinum Member
posted
I am having an issue with reading my HOLD file below. I have it defined as ALPHA and I get the following:

(FOC224) SYNTAX ERROR: &F_PERCTOT.D12.2.&M_PERCTOT.D12.2.&F_AUMPERC.D12.2.&M_AUMPERC.D12.2.&F_T12PERC.D12.2.&M_T12PERC.D12.2.
-------------------vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
-READFILE HOLDCNTS &F_PERCTOT.D12.2.&M_PERCTOT.D12.2.&F_AUMPERC.D12.2.&M_AUMPERC.D12.2.&F_T12PERC.D12.2.&M_T12PERC.D12.2.


The code is here below. Any ideas, please let me know.


TABLE FILE HOLDCNT
SUM F_PERCTOT
    M_PERCTOT
    F_AUMPERC
    M_AUMPERC
    F_T12PERC
	M_T12PERC
ON TABLE HOLD AS HOLDCNTS FORMAT ALPHA
END

-*?FF HOLDCNTS
-*-EXIT

-READFILE HOLDCNTS &F_PERCTOT.D12.2.&M_PERCTOT.D12.2.&F_AUMPERC.D12.2.&M_AUMPERC.D12.2.&F_T12PERC.D12.2.&M_T12PERC.D12.2.
-*-TYPE &F_PERCTOT
-*-TYPE &M_PERCTOT
-*-TYPE &F_AUMPERC
-*-TYPE &M_AUMPERC
-*-TYPE &F_T12PERC
-*-TYPE &M_T12PERC
-EXIT

 

This message has been edited. Last edited by: FP Mod Chuck,


WF 8.1.05
Windows
SQL Server 2014
HTML, PDF, EXCEL
 
Posts: 175 | Registered: March 24, 2017Report This Post
Platinum Member
posted Hide Post
Please let me know.


WF 8.1.05
Windows
SQL Server 2014
HTML, PDF, EXCEL
 
Posts: 175 | Registered: March 24, 2017Report This Post
Expert
posted Hide Post
Check the manual - when you use -READFILE, you do not specify any variable names. -READFILE uses the metadata (.mas) to determine the HOLD file columns and the subsequent variables.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 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     [CLOSED] Issue with Reading HOLD File

Copyright © 1996-2020 Information Builders