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] Reusing SAVE files

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Reusing SAVE files
 Login/Join
 
Gold member
posted
Hi,

I have a couple of variables to be read from SAVE files. I want to reuse the variables instead of running the 7-8 SAVE files everytime that i have in a fex .

for example ,

  

Table file A 
print 
lst_5_weeks
on table save as sav_week
end

-READ sav_week &WK1.A10. &WK2.A10. &WK3.A10. &WK4.A10. &WK5.A10.



i have several files like this .

When we use hold files , i can use APP HOLD hold dir and i can reuse those FOCUS files .

How can we achieve the same way using SAVE ?
i want the Save files to be saved in the application directory , and the i can read it everytime from the fex ..

Thanks!

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


WebFOCUS 7.6.9
Windows
Excel, HTML, PDF
 
Posts: 71 | Registered: April 17, 2009Report This Post
Virtuoso
posted Hide Post
You could either:

FILEDEF MYFILE DISK /mypath/myfile.ftm
-RUN
TABLE FILE CAR
PRINT COUNTRY AND CAR
ON TABLE SAVE AS MYFILE
END


or

APP HOLDDATA mypath
-RUN
TABLE FILE CAR
PRINT COUNTRY AND CAR
ON TABLE HOLD AS MYFILE FORMAT ALPHA
END



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Gold member
posted Hide Post
HI,

i tried the below method

  

APP HOLDDATA test
-RUN
TABLE FILE test1
PRINT week_Dt
ON TABLE HOLD AS MYFILE FORMAT ALPHA
END


from another fex , 

app path test

-read MYFILE week_Dt.a10



This did not work . although myfile.ftm file got saved in the 'others' subfolder under app folder.


WebFOCUS 7.6.9
Windows
Excel, HTML, PDF
 
Posts: 71 | Registered: April 17, 2009Report This Post
Virtuoso
posted Hide Post
APP PATH determines where to find procedures (.fex) and synonyms (.mas/.acx).

For data files you still need to let FOCUS know where to find them.

FILEDEF MYFILE DISK test/myfile.ftm
-RUN
-READ MYFILE &week_Dt.A10.



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Master
posted Hide Post
Why is this not as simple as writing the code once, saving it in the Applications folder, and -MRNOEDIT -INCLUDE ing it? Sorry, am I over simplifying it?

- ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report 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] Reusing SAVE files

Copyright © 1996-2020 Information Builders