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.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
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