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.
I'm trying to save a file to a location on a network drive. This location has a space in the name of a certain folder. I got the file to save successfully bby putting the whole path in double quotes but now they want the date on the end of the file and it's causing issues with it saving. I've pasted what I have below but it doesn't work. I even tried putting double quotes around the whole thing and still no luck. Any ideas?
-SET &DTSTAMP = EDIT(&MDYY,'99999999') ; -SET &OUTFILE = 'D:\IBI\EXPORTS\LISA\mark tripp' || &DTSTAMP || '.txt'; FILEDEF RESULTS DISK &OUTFILEThis message has been edited. Last edited by: Kerry,
Thanks for your response but that didn't work either. It returned the error of "ERROR WRITING OUTPUT FILE: RESULTS" I can get it to work just fine on a location where there's no space in the path but the owners dont want to remove the space in their folder.
Try it with .EVAL. Also, make sure you have write access to the disk, and, the path is correct. And, you don't need the EDIT.
This worked for me:
APP PREPENDPATH IBISAMP
-RUN
-SET &ECHO=ALL;
SET SHOWBLANKS = ON
-RUN
-SET &OUTFILE = 'D:\ibi\64bit\apps\bi_adv\tflynn' || '&MDYY.EVAL' || '.txt';
FILEDEF RESULTS DISK &OUTFILE
? FILEDEF
-RUN
TABLE FILE CAR
PRINT
COUNTRY
CAR
MODEL
COUNTRY
CAR
MODEL
ON TABLE SAVE AS RESULTS
END
-EXIT