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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Want to display a message at the column 1 of a WP file [SOLVED]

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Want to display a message at the column 1 of a WP file [SOLVED]
 Login/Join
 
Member
posted
Hi All,

Please help me with this.
I have a text file which I created using WP format and it is sent to user through report caster as a .txt file. User wants that file to have a message "END OF FILE" as last line, issue is that this message should start from column 1 of the file whereas WP format inserts 2 spaces in beginning of each record.
Please reply if you think of any solution.

Thanks!

This message has been edited. Last edited by: Piscian,


Thanks and Regards,
Piscian

WebFocus 714
Windows Server 2003
Enterprise Edition
HTML,Excel,PDF
 
Posts: 15 | Registered: June 04, 2007Report This Post
Expert
posted Hide Post
There is a recent (last 2-3 weeks) post that talks about prepending and appending rows to a file. Write your end of file record to a separate file and attach it to your main file. You can use any number of techniques to do this, operating system commands, alternate masters and MORE, etc.

If you can't find the post, let me know and I'll try to find it for you.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Platinum Member
posted Hide Post
Hi
This link discusses how to remove the form feed/page-break character from FORMAT WP

http://techsupport.information...om/sps/12702105.html -

To append at the end of the file- this is one technique

TABLE FILE CAR
PRINT CAR BY COUNTRY
ON TABLE HOLD AS HOLD01
END
-RUN
FILEDEF HOLD01 DISK C:\path\HOLD01.FTM (APPEND <-- issue APPEND
-RUN
-SET &VALUE='END RECORD RECORD';
-WRITE HOLD01 &VALUE

Good Luck,
Rhonda


WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
 
Posts: 146 | Location: Atlanta, GA | Registered: May 31, 2007Report This Post
Member
posted Hide Post
Thank you Ginny and Rhonda. I got it resolved by appending the message to the last line of file.
Thank you so much.


Thanks and Regards,
Piscian

WebFocus 714
Windows Server 2003
Enterprise Edition
HTML,Excel,PDF
 
Posts: 15 | Registered: June 04, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Want to display a message at the column 1 of a WP file [SOLVED]

Copyright © 1996-2020 Information Builders