I have a column (chgkey) with 17 rows of record. How can I print first 3 records in the same line (like, raw1, raw2, raw3). Now I can print the raw1 without any problem. Any help would be appreciated. below is my code.
let rpt.chgkey = null
select * into z_charge.* from charge where charnum in
(select shtwrd_no from crbookid where
crbookid.book_no = rpt.book_no and crbookid.line_no = rpt.line_no )
let scratch = z_charge.chgkey
let rpt.chgkey = scratch
call make_charge_section(scratch) returning rpt.chgkey
print
column 1, ESC, "(s0p12h0s3b4099T", ESC, "&a0.5R"
print
print ESC,"&a15.1R", ESC,"&a15C", rpt.chgkey