Focal Point Banner


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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
FTP File Problem
 Login/Join
 
Member
posted
Hi all...

I have a report that is COMMA delimited by this code:

ON TABLE PCHOLD FORMAT COMMA

when I run this manually or deferred everything is fine. See below:

022608,"S5338411 ","0002","TESK ", 4.60,010299

I now have FTP scheduled files setup but the output file is whacked. This is some of the output now...

¡! $ Æ$ >$ h$ h$ ‚$ h General yyyymmdd mmddyyyy ddmmyyyy

So...

1). How do I get around this?
2). If I use output WP, how do you get around the spaces,tabs between the data? I'm trying to do the following with this FTP'd file:

LOAD DATA INFILE 'e:\\SAPrepository\\download\\ta_west_po.txt'
INTO TABLE ta_west
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n'

Thanks everyone.... appreciated your time.


Webfocus 5.3.4, Unix, Oracle DB, Apache Tomcat
 
Posts: 9 | Location: Irving, TX | Registered: October 30, 2007Report This Post
Virtuoso
posted Hide Post
Have you tried removing the ON TABLE PCHOLD FORMAT COMMA and just specifying the COMMA output format within ReportCaster? Is the default FTP method ASCII or binary?

Try creating the hold file from the server console and saving it somewhere on the server like in baseapp (APP HOLD BASEAPP and ON TABLE HOLD FORMAT COMMA should do the trick). Then enter an interactive FTP session from a system prompt on the same server, and manually FTP it to your destination. If the resulting file is still garbled, the FTP process is the problem. If not, we keep poking at things in ReportCaster. Good luck.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders