Focal Point
introducing a blank line

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9991047991

December 04, 2006, 11:18 PM
<priya>
introducing a blank line
Hi,

I want to know is there any method of introducing a blank line in webFOCUS.Actually I am trying to join 3 hold files with the help of MORE but I want to insert a blank line in between each holdfile.Please tell me the way by which I can do it.
December 05, 2006, 09:40 AM
Francis Mariani
If there is a field that differentiates the three files from each other, and it is a sort column, you could do the following:

BY COLUMN_NAME SUBFOOT
" "


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
December 07, 2006, 08:28 AM
Pam Kratt
If you don't have one field already in each file that differentiates each file, you can easily create a field.

Put this compute statement in the first table file
COMPUTE FLD1/A1='A'
Put this compute in the 2nd file
COMPUTE FLD1/A1='B'
Put this compute in the 3rd file
COMPUTE FLD1/A1='C'

Then do what Francis suggests:
BY FLD1 SUBFOOT
" "


webfocus 8.105M; os: windows; pdf, html, exl2k, csv
December 10, 2006, 02:22 AM
Piipster
Priya... it would probably help if you could tell us why you want to add a blank line between the hold files.... Sometimes your objective can be met in an easier way than the technique you are asking about.

What is your objective? What is your source? Why are you doing multiple HOLD files and want a line between them? What do you want to achieve?


ttfn, kp


Access to most releases from R52x, on multiple platforms.