Focal Point
Relating Hold Files

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1241057992

September 18, 2008, 09:24 AM
Devi C
Relating Hold Files
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,7.6.9
OS: Windows XP
HTML,EXCEL,PDF
September 18, 2008, 09:42 AM
GamP
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 AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
September 18, 2008, 09:47 AM
GinnyJakes
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.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
September 18, 2008, 11:53 AM
Magy Alex
THANKS GINNY & GAMP
ITS WRKIN NOW Smiler


WebFOCUS 7.6.4,HTML,EXCEL,PDF