SQL/MP Report Writer Guide

Customizing a Report
HP NonStop SQL/MP Report Writer Guide527213-001
4-60
Printing Double-Byte Characters
Using the SPACE Clause to Adjust Display Columns
One way to adjust a detail line so that double-byte characters are not split with text
wrapping or folding is to use the SPACE clause, as shown in Figure 4-25
.
Figure 4-24. Splitting Double-Byte Characters With Text Wrapping
TAB 30
TAB 40
2 spaces
(default)
>>SET LIST_COUNT 0;
>>SELECT * FROM PERSNL.DEPT;
>>S
S>SET RIGHT_MARGIN 55;
S>DETAIL col1, col2, tab 30, col3, tab 40 col4, col5;
S>L F 3;
DEPTNUM DEPTNAME MANAGER RPTDEPT LOCATION
1000
1500
FINANCE
PERSONNEL
INVENTORY2000
23
213
32
9000
1000
9000
c1c2
c1c2c3@@#
c1c2c3###@@#@#
>>S
VST0424.vsd