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     making hold files [SOLVED]

Read-Only Read-Only Topic
Go
Search
Notify
Tools
making hold files [SOLVED]
 Login/Join
 
Platinum Member
posted
Hello,
I am trying to make a master file from a hold file that I can use in subsequent fexes. I got this syntax from another programmer:

APP HOLD HELDFILES
APP HOLDMETA HELDFILES
APP HOLDDATA HELDFILES
FILEDEF YESENCNT DISK E:\IBI\APPS\HELDFILES\YESENCNT.FTM
TABLE FILE BW_DCTDA
SUM CHARGE
BY ENCOUNTER_NUMBER
ON TABLE HOLD AS YESENCNT FORMAT ALPHA
END

But, I always get this error when I run it:

0 NUMBER OF RECORDS IN TABLE= 1 LINES= 1
0 NUMBER OF RECORDS IN TABLE= 18964 LINES= 18964
0 NUMBER OF RECORDS IN TABLE= 18964 LINES= 1377
0 ERROR AT OR NEAR LINE 64 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC36219) AN ERROR OCCURED WHEN OPENING FILE: YESENCNT

Can someone tell me what I'm doing wrong? Thanks!

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


Windows version 768
 
Posts: 215 | Registered: March 16, 2006Report This Post
Expert
posted Hide Post
quote:
APP HOLD HELDFILES
APP HOLDMETA HELDFILES
APP HOLDDATA HELDFILES

Firstly APP HOLD performs a combination of APP HOLDMETA and APP HOLDDATA so you only really need line one or lines two and three. Personally, I prefer to issue an O/S copy command to ensure I only get the files I really want.

As to your problem, don't forget that the filedef relates to the Reporting server and not the end user machine.

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
HELDFILES must be a folder in ibi\apps or be mapped if it is outside ibi\apps by using the APP MAP command. APP HOLDMETA saves the hold file metadata (Master) and APP HOLDDATA saves the hold file data. The folder must have appropriate permissions for the files to be saved there.


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
Platinum Member
posted Hide Post
Oh, you're right. I changed the path of the FILEDEF and it worked. Thanks again! You guys are lifesavers!


Windows version 768
 
Posts: 215 | Registered: March 16, 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     making hold files [SOLVED]

Copyright © 1996-2020 Information Builders