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.
What error do you receive, if any? Because it could be that the acrual holding of the file is not the problem, but something else is preventing this. If you could provide some more info, we can try and help you solve it.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
Well I feel stupid! Thanks Prarie; I never thought I could add the &MDYY and have it come out formatted so nice. I was all over the define and set trying to figure out how to pass the data. Thanks for the fast simple solution!
Johnny-U.
WebFOCUS 7.1.1 Windows XP Output: PDF, XLS, and HTML for now
Posts: 8 | Location: WI | Registered: October 17, 2007
PART2: I thought I could figure this out but I am at another loss. Now that I have some files listed:
MYOUTPUT_09232009.FOC MYOUTPUT_09242009.FOC ..... and 1 more every 2 weeks
I am trying to use a wild card "MYOUTPUT_*.FOC" or something like that in a USE command so I can append them all into 1 table "MYOUTPUT". I can't seem to be able to use a wild card for this.
Johnny-U
WebFOCUS 7.1.1 Windows XP Output: PDF, XLS, and HTML for now
Posts: 8 | Location: WI | Registered: October 17, 2007
No, you can't. But if you know the dates or can do a dir with a wildcard and pipe the output to a file, you can use a -REPEAT loop to read that file and populate the USE.
Waht you also could do, is writing the name of the hold file to another database (or flatfile or such) at the moment you create it. If you do this in a 'smart' way, the only thing you need to do is to -INCLUDE the flat file in your USE statement. Suppose you would write to a flat file using APEND at the moment of creation of the hold file: -WRITE INCFILE MYOUTPUT_&MDYY...FOC AS MYFILE Then you would only need to do : USE -INCLUDE INCFILE END and you're done. (In case you're wondering about the three dots: 2 are for the DM concatenation, the last one is the dot before the extension FOC).
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
I use the method that Ginny suggests as with the DIR command with wildcards, you can ensure that you have the latest information or those files that actually exist.
If you combine what Ginny suggests with what GamP suggests then you could create an "include" file post batch that you can use.
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, 2004