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] Holding specific file in the procedure by using app hold

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Closed] Holding specific file in the procedure by using app hold
 Login/Join
 
Gold member
posted
Hi All,

I have procedure with more than 20 hold files, but I want to hold the last hold file for reusing in the another procedure. When I use APP HOLD Apppath its holding all the files. Please suggest me is there any way to do this.

Example:

TABLE FILE CAR
PRINT CAR COUNTRY RETAIL_COST
ON TABLE HOLD AS HLD1
END
-RUN
TABLE FILE HLD1
SUM RETAIL_COST
BY CAR
BY COUNTRY
ON TABLE HOLD AS HLD2
END
-RUN
APP HOLD APPPATH
-RUN
TABLE FILE HLD2
PRINT RETAIL_COST
BY COUNTRY
ON TABLE HOLD AS HLD3 FORMAT FOCUS
END
-RUN

I am using the last file HLD3 in another program.

Thanks,
Koti,
WF7703, Windows 7.

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


WebFOCUS 8104/7703/769/764, Windows 7, Oracle 11g, DB2, QAD
 
Posts: 49 | Location: Chennai | Registered: May 20, 2008Report This Post
Master
posted Hide Post
If you want to hold the files for each user so the files do not get mixed up then use the following
ON TABLE HOLD AS FOCCACHE/<NAME>


When the users session has no longer active the files will get deleted automatically.




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
This works.
i'm specifying the actual directory where i want the final file held. The first APP HOLD
is just precautionary, to clear any other APP holding command that may have existed earlier in the same procedure.
APP HOLD
TABLE FILE IBISAMP/CAR
BY CAR
ON TABLE HOLD AS HCAR1
END
TABLE FILE IBISAMP/CAR
BY MODEL
ON TABLE HOLD AS HCAR2
END
APP HOLD xsusantest
TABLE FILE IBISAMP/CAR
BY COUNTRY
ON TABLE HOLD AS HCAR3
END
APP HOLD

i've never seen APP HOLD APPPATH before.
I've only ever seen/used specific references to a directory




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Expert
posted Hide Post
use ON TABLE HOLD AS appfolder/holdfilename FORMAT yourformat on your final HOLD.

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
  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] Holding specific file in the procedure by using app hold

Copyright © 1996-2020 Information Builders