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.
Could someone help me out. I am issuing a FILEDEF through the normal means and then doing a read from the file. However, I'm not seeing any data being returned.
-DEFAULT &INFO = ' ' ; FILEDEF FILE1 CLEAR FILEDEF FILE1 DISK C:\DATA\FILE1.TXT -RUN -READ FILE1 &INFO.A13. -TYPE FILE1 DATA IS &INFO
Some of this is probably fogginess due to my returning from vacation.
My version of WebFOCUS is installed on a unix box. I'm just running Windows XP on my desktop. One of the problems I'm running into could be that there is no local development through the install of WF. Hence, I don't have any apps to work with on my C drive.
I just did the ? FILEDEF and received the following:
Lname Device Lrecl Recfm Append Filename ============================================================ SCMDATA DISK 0 V /ibitemp/srv53/devl/webfocus/e datemp/ts005268/C:\test.txt
I'm thinking I might have to change the location of my file.
I thought I'd throw in my 2 cents here. You should be fine letting focus write to the edatemp area, but you might want a more simple name instead of that DOS looking name.
So, try
DEFAULT &INFO = ' ' ; FILEDEF FILE1 CLEAR FILEDEF FILE1 DISK FILE1.TXT -RUN -READ FILE1 &INFO.A13. -TYPE FILE1 DATA IS &INFO
Looks to me like that should work fine.
Or do an
APP FI FILE1 DISK FILE1.TXT
Using the APP command, maybe you could direct it to a real location easily enough by doing
APP FI FILE1 DISK myapp/FILE1.TXT
and from there, you can actually go do an LS on the file to see if it's there and take a look at what's being written in it.
you said that WebFOCUS is running on UNIX. So that means that when a filedef is issued, it is the WebFOCUS Reporting Server (WFRS) that is going to issues it. So the WFRS is looking at the UNIX file system. Yes, there can be shared drives between UNIX and Windows. However, the programs that access it share will us the Operating Systems file structure to access it. Unix File System Structure on UNIX (WFRS, etc...) and Windows File Systems on Microsoft Windows (Windows Explorer, etc...). With all that said the unix filedef would look something like this.
FILEDEF MYFILE DISK /opt/ibi/apps/myfile.txt
keep in mind that the UNIX file system is case sentative.