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     Blank line at the top of my output

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Blank line at the top of my output
 Login/Join
 
Silver Member
posted
I am trying to create a pipe delimited text file and everything looks fine except
1). THE blank line at the top of the output.
2). The 2 blank at the start of every line

What i have tried is I think everything that i could find in the Forum under:
Results for: blank line at the top of a report

-*********************************************************************
-* *
-*********************************************************************
TABLE FILE FAR00004
PRINT
OUTPUT_RECORD AS ''
ON TABLE SET SPACES 0
ON TABLE SET PAGE-NUM NOPAGE
ON TABLE NOTOTAL
-*ON TABLE SAVE AS &RPT8 FORMAT WP
ON TABLE PCHOLD AS XXXXXXXX FORMAT WP
END
-RUN
-EXIT

0.00|36|03/04/2008|01/28/2008|1011491888-1-1|INSURED| |01/25/2008|50.00|01/25/2008|FREDERICK MAHONEY|15.00|||2|1,000.00|YES|03/04/2008|01/28/2008|ANDREA DISMONT|SANTA FE MAZDA|06|2008|NM|NM|5.00|NONDRIVEABLE|H12084822-1|814.43

Any help would greatly appreciated
Don R.


Version 7.17
 
Posts: 31 | Location: The Hertz Corp(Oklahoma City) | Registered: March 30, 2007Report This Post
Virtuoso
posted Hide Post
try ON TABLE PCHOLD FORMAT ALPHA
creates a .txt file that contains exactly what you've specified with no formatting.

Format WP does all sorts of little tricks to try and make it presentable in word processor format.


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
Virtuoso
posted Hide Post
If you don't have to use the PCHOLD thing, then use:

TABLE FILE CAR
PRINT
     COUNTRY
     CAR
     MODEL
ON TABLE NOTOTAL
ON TABLE HOLD FORMAT DFIX DELIMITER |
END  


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Silver Member
posted Hide Post
quote:
TABLE FILE CAR
PRINT
COUNTRY
CAR
MODEL
ON TABLE NOTOTAL
ON TABLE HOLD FORMAT DFIX DELIMITER |
END


This gives me an error.
TABLE FILE CAR
PRINT
COUNTRY
CAR
MODEL
ON TABLE NOTOTAL
ON TABLE HOLD FORMAT DFIX DELIMITER |
END
0 ERROR AT OR NEAR LINE 8 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC160) THE OPTION AFTER THE WORD 'FORMAT' IS INVALID: DELIMITER
BYPASSING TO END OF COMMAND
(FOC009) INCOMPLETE REQUEST STATEMENT
(FOC009) INCOMPLETE REQUEST STATEMENT


What i really trying to do is
I have blank line at the top of my hold file.
I also have two blank at the beging of each line that i would like to remove.


Version 7.17
 
Posts: 31 | Location: The Hertz Corp(Oklahoma City) | Registered: March 30, 2007Report This Post
Expert
posted Hide Post
Have you tried NOLEAD instead of NOPAGE ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
Did you change the format to something other than WP? WP holds as a report format (with page breaks, spacing at the top and bottom, etc.) NOT a record format. Change it to format ALPHA.


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
Virtuoso
posted Hide Post
I agree try Format ALPHA.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Silver Member
posted Hide Post
That worked.
Thanks for the help
Don R.


Version 7.17
 
Posts: 31 | Location: The Hertz Corp(Oklahoma City) | Registered: March 30, 2007Report This Post
Virtuoso
posted Hide Post
quote:
Originally posted by dhagen:
If you don't have to use the PCHOLD thing, then use:

TABLE FILE CAR
PRINT
     COUNTRY
     CAR
     MODEL
ON TABLE NOTOTAL
ON TABLE HOLD FORMAT DFIX DELIMITER |
END  


Sorry ... must be a 7.6 option. Works just fine for me.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Platinum Member
posted Hide Post
Try this:
  
DEFINE FILE CAR
  PIPE/A1 = '|';
END 
TABLE FILE CAR
  PRINT
    COUNTRY PIPE
    CAR PIPE
    MODEL
  ON TABLE PCHOLD FORMAT ALPHA
END


WIN/2K running WF 7.6.4
Development via DevStudio 7.6.4, MRE, TextEditor.
Data is Oracle, MS-SQL.
 
Posts: 154 | Location: NY | Registered: October 27, 2005Report 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     Blank line at the top of my output

Copyright © 1996-2020 Information Builders