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 have searched FP (for: reportcaster ftp txt) and did not find a solution to my dilemma. That dilemma is that I need to create and FTP a test file (ON TABLE HOLD FORMAT ALPHA AS MYFILE.TXT) to a Unix destination.
I am able to do this for a HTM file (ON TABLE PCHOLD FORMAT HTML) quite nicely. I can create the desired txt file in an app folder and, separately, ftp it from there using a DOS batch or Unix Script. But, I want to do it in a single fex / ReportCaster job.
I am looking forward to hearing your replies. This message has been edited. Last edited by: Doug,
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
-IF &DELIVER NE 1 THEN GOTO PASSTHRU; ON TABLE HOLD AS aa FORMAT &HOLDFORMAT END !cp -p &AA_EXT &DEST_FILE -EXIT -PASSTHRU
&AA_EXT -- should be like aa.ftm/aa.csv/aa.tab depending on the type of HOLD format that you choose &DEST_FILE -- should have the file location and the file name.
THe above code works when your destination location has a mounting point to your reporting server.
WebFOCUS - ver8201 [ReportingServers: Windows 64bit; Client: tomcat and IIS on windows 2012 AppStudio
Posts: 104 | Location: Indianapolis | Registered: November 08, 2007
Thanks Rao, But, that has too many assumptions and I need to keep this within ReportCaster.
The final (simple as 1,2,3) answer: 1) The Code:
TABLE FILE [this]
PRINT [fields]
END
2) Edit Task: A) "Save Report As: [filename.txt]" B) Report Format: ALPHA - Fixed Format Text File (*.ftm, *.txt) 3) Distribution: C) Use the FTP to a "Single File" to [filaename.txt]
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005