IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Relating Hold Files
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
Hi all,

I am making a report & running it
for a first time . I am using an 'APP HOLD xyz' command in order to save the hold file to the application xyz.
When i run the report for the second time..i want it to hit the hold file instead of hitting the database.

Any suggestions?????

Thanks,
DEVI


WebFOCUS 7.6.4,
OS: Windows XP
HTML,EXCEL,PDF
 
Posts: 5 | Registered: September 01, 2008Reply With QuoteEdit or Delete MessageReport This Post
Master
Posted Hide Post
Check to see if the xyz/hold file exists and if so skip the initial selection of data and go directly to the part that deals with the hold.
You can use the DOS STATE command to find out if a certain file exists or not.

Hope this helps ...


GamP

- Using 764 on WinXP (sp2) - IE7.
- Also available are versions from 534 up to 766 on Windows (XP/2000/2003EE)
 
Posts: 502 | Location: Netherlands | Registered: September 25, 2007Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
Posted Hide Post
And make sure you filedef it using the APP FI or FILEDEF command.

You can use an amper variable as the filename in the TABLE command to remain flexible after you determine whether the hold file exists or not.


Ginny
---------------------------------
Prod: WF 7.6.5 with 7.6.5 WFRS; AIX 5.2; WebSphere 6.1.0.15
Dev: WF 7.6.5 with 7.6.5 WFRS; AIX 5.2; WebSphere 6.1.0.15
Primarily self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable
 
Posts: 1461 | Location: BNSF: Fort Worth, TX | Registered: April 05, 2006Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
THANKS GINNY & GAMP
ITS WRKIN NOW Smiler


WebFOCUS 7.6.4,HTML,EXCEL,PDF
 
Posts: 3 | Registered: August 30, 2008Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Relating Hold Files

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.