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.
This is my first post, so apologies if I get it all wrong. ^^ I am in the process of migrating reports from an old version of webfocus to a new one (vs 4 to vs 7). I have come across a report that has the following code:
USE D:\IBI\file.txt AS TESTFILE END
FILEDEF TESTFILE DISK D:\IBI\file.txt
DEFINE FILE TESTFILE ..blah blah END
TABLE FILE CNHEXT PRINT and it goes on...
Since I did not write this code and do not know who did, I am clueless as to why this USE statement is not working - and why it is there in the first place. I have searched, but cannot find any reference to it being used in this way.
Any help/explanation would be great!
K.
7.6.11 Windows HTML, PDF, Excel etc DevStudio/Webfocus/Focus IBM SQL Server 2000 / 2008 DB2
Posts: 78 | Location: UK | Registered: February 07, 2008
Can you view the file.txt referenced. I've never seen the structure, but I wonder if it was just another way of pointing to the file. What happens if you comment out thte code?
Leah
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004
Jinx the USE syntax is for focus files only. you'll want to FILEDEF for a text file FILEDEF TESTFILE DISK D:\IBI\file.txt is already in your code and should do the job for you. The USE statement as you have it should be producing an error, just comment it out, or nuke it. -S.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Oops, the CNHEXT was a mistake on my part. I did try and comment the USE out as suggested. The report runs perfectly, odd how it worked fine on the old version and not on the new. Thanks for the help!
7.6.11 Windows HTML, PDF, Excel etc DevStudio/Webfocus/Focus IBM SQL Server 2000 / 2008 DB2
Posts: 78 | Location: UK | Registered: February 07, 2008
Ah, the wonderful world of 'it was wrong and now we fixed it'. IBI calls that 'tightening of the code'. Seems every release does it. Something that really shouldn't have worked did or release notes missed. Also, you will find features no longer supported.
Welcome to the world of WebFOCUS. A wonderful tool, but it can drive you crazy sometimes.
Leah
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004