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 was trying to get empty csv file with the following but it only gives 0 record message instead of file.. Any help is appreciated.
TABLE FILE CAR PRINT COUNTRY WHERE COUNTRY EQ 'NOTHING'; ON TABLE SET EMPTYREPORT ON ON TABLE PCHOLD FORMAT COMT ENDThis message has been edited. Last edited by: Kerry,
App Studio Version 8202 windows Platform SQL Server 2008/2012
Posts: 183 | Location: TX | Registered: January 22, 2007
If you want a real file, you are going to have to do a HOLD not a PCHOLD. And an APP HOLD dirname command in front to specify the location where the empty file is to be stored.
yes, you are right, I was able to save an empty file using HOLD, but it doesnot have column Titles for the blank report. Is there something else I should do.?
App Studio Version 8202 windows Platform SQL Server 2008/2012
Posts: 183 | Location: TX | Registered: January 22, 2007
APP HOLD dirname
TABLE FILE CAR
PRINT COUNTRY
WHERE COUNTRY EQ 'NOTHING';
ON TABLE HOLD FORMAT ALPHA
END
-RUN
-IF &LINES EQ 0 GOTO EMPTYCSV;
TABLE FILE CAR
PRINT COUNTRY
ON TABLE HOLD FORMAT COMT
END
-EXIT
-EMPTYCSV
DEFINE FILE CAR
XCOUNTRY/A10=' ';
END
TABLE FILE CAR
PRINT XCOUNTRY AS COUNTRY
COUNTRY NOPRINT
IF RECORDLIMIT EQ 1
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE HOLD FORMAT COMT
END
This still gets you one row.
Or you could -WRITE a file with just column headings if &LINES was zero.