SQL/MP Report Writer Guide

Customizing a Report
HP NonStop SQL/MP Report Writer Guide527213-001
4-61
Printing Double-Byte Characters
Using the TAB Clause to Adjust Display Columns
Another way to adjust a report so that double-byte characters are not split with text
wrapping or folding is to use the TAB clause.
Figure 4-26
demonstrates changing the TAB clause specification from 40 to 41 to
adjust the detail line so that double-byte characters are not split if text wrapping occurs.
Figure 4-25. Using the SPACE Clause to Adjust Display Columns
VST0425.vsd
>>SET LIST_COUNT 0;
>>SELECT
* FROM PERSNL.DEPT;
>>S
S>SET RIGHT_MARGIN 55;
S>DETAIL col1, col2, tab 30, col3, tab 40 col4,
+>SPACE 1, col5;
S>L F 3;
TAB 30
TAB 40
1 spaces
DEPTNUM DEPTNAME MANAGER RPTDEPT LOCATION
1000
1500
FINANCE
PERSONNEL
INVENTORY2000
23
213
32
9000
1000
9000
c1c2
c1c2c3c4C5
c1c2c3c4c5c6c7
>>S