Thank you for your fast responses. I am using the PRINTPLUS feature, and I wasn't using the NOSPLIT Feature. Here is basicly what I've written does:
SQL SELECT data1, data2, data3, data4,
data5, data6, data7, data8, data9,
data10, data11, data12, data13, data14,
data15, data16, data17
FROM table1;
TABLE ON TABLE HOLD AS LETTER
END
-RUN
SET PRINTPLUS = ON
DEFINE FILE LETTER
frmt10/HMDDYY=LETTER.LETTER.data10;
frmt11/MDYY=LETTER.LETTER.data11;
ftmt12/A55V= IF LETTER.LETTER.data12 EQ '' THEN 'P.O. BOX' || (' ' || LETTER.LETTER.data13 ELSE LETTER.LETTER.data12;
END
TABLE FILE LETTER
PRINT
'LETTER.LETTER.data1' AS 'Label1'
'LETTER.LETTER.data2' AS 'Label2'
'LETTER.LETTER.data3' AS 'Label3'
'LETTER.LETTER.data4' AS 'Label4'
'LETTER.LETTER.data5' AS 'Label5'
'LETTER.LETTER.data6' AS 'Label6'
BY 'LETTER.LETTER.data7' AS 'Label7'
BY 'LETTER.LETTER.data8' AS 'Label8'
BY 'LETTER.LETTER.data9' AS 'Label9'
ON Table SUBHEAD
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
"< LETTER.LETTER.data10"
" "
"< LETTER.LETTER.data14"
"< LETTER.LETTER.data12"
"< LETTER.LETTER.data15"
" "
" "
" "
"text here < LETTER.LETTER.data16"
" "
"TEXT LINE"
"TEXT LINE"
"TEXT LINE"
"TEXT LINE"
" "
" MORE TEXT HERE"
" "
ON TABLE SUBFOOT
" "
"TEXT"
"TEXT"
"TEXT"
"TEXT"
" "
"TEXT"
"TEXT"
"TEXT"
" "
"TEXT"
" "
"TEXT"
" "
" < LETTER.LETTER.data17"
"TEXT"
" "
"TEXT"
"TEXT"
"TEXT"
ON TABLE SET PAGE-NUM OFF
ON TABLE COLUMN-TOTAL AS 'TOTAL'
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='Letter',
LEFTMARGIN=0.500000,
RIGHTMARGIN=0.500000,
TOPMARGIN=0.000000,
BOTTOMMARGIN=0.00000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
(formatting stuff here)
ENDSTYLE
END
7.6.10
Windows, All Outputs