Focal Point
How to print the report in the center of page in WP format [CLOSED]

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

August 18, 2011, 09:41 AM
Amar
How to print the report in the center of page in WP format [CLOSED]
Hi,

I have a report to print in a data set which have record length of 133. I have only two columns and heading to print in WP format.

Ex:

Table file car
Heading Center
" XXXX XXXXX "
Print model
color
on table save as DATA-SET format WP
END.


Report is diplayed to left corner in the page. Can this be possible to dispaly the report in center of the page(133 bytes).

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


WebFOCUS 7.6.4, Mainframe Focus
Mainframe / Z/OS,MVS
Managed Reporting / Windows
All formats
August 18, 2011, 05:43 PM
Waz
I would suggest using IN {n} against the first print field.

But you will have to determine the number of characters to indent by.

-SET &Indent = 10 ;
TABLE FILE CAR
HEADING CENTER
" XXXX XXXXX "
PRINT MODEL IN &Indent
SEATS
RETAIL_COST
ON TABLE PCHOLD AS DATA-SET FORMAT WP
-*ON TABLE SAVE AS DATA-SET FORMAT WP
END



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!

August 19, 2011, 01:48 AM
Amar
Thank you Waz.. It worked.


WebFOCUS 7.6.4, Mainframe Focus
Mainframe / Z/OS,MVS
Managed Reporting / Windows
All formats