07-28-2006 9:00 AM
Hello to all,
I am making a report in which i need 8 columns. Following code makes 4 columns but i cant seem to create remaining . Can someone edit the code and makeit 8 columns.
WRITE:
/'|', AT 14 '|', AT 58 '|', AT 71 '|', AT c_lnsize '|',
AT 2(12) '11111',
AT 15(42) '22222',
AT 59(11) '33333',
AT 72(11) '44444'.
Thanks..
Shehryar
07-28-2006 9:07 AM
Hi shehryar,
1.
this is one way
2. just copy paste
3.
report abc line-count 200 line-size 200.
WRITE:
/'|', AT 14 '|', AT 58 '|', AT 71 '|', AT 72 '|', at 84 '|' , at 94 '|'
, at 104 '|'
, at 114 '|'
,
AT 2(12) '11111',
AT 15(42) '22222',
AT 59(11) '33333',
AT 72(11) '44444',
AT 85(9) '55555',
AT 95(9) '66666',
AT 105(9) '77777',
AT 115(9) '88888'.
regards,
amit m.
07-28-2006 9:03 AM
change ur report heading like this and try
REPORT ABC line-size 255.
Message was edited by: Chandrasekhar Jagarlamudi
07-28-2006 9:04 AM
Hi,
I think, by default , the line size is 72 .
change it in report command.
example.
REPORT zhr_pa_10_mus
NO STANDARD PAGE HEADING
LINE-COUNT 65
LINE-SIZE <b>132</b>
MESSAGE-ID zsd.
Then, you can display as many lines as needed.
regards.
santosh.
07-28-2006 9:05 AM
Hi Shehryar -
You have given a huge gap btw each column - 14 and next is 58.....Do u actually need such a huge spae for column 1?
Check the length of fields ur printing, and decide the space accordingly!
Eg: if the field length is 10, maybe u can give a space of 12 chars max and print the next column.
-Aarthi.
07-28-2006 9:07 AM
Hi shehryar,
1.
this is one way
2. just copy paste
3.
report abc line-count 200 line-size 200.
WRITE:
/'|', AT 14 '|', AT 58 '|', AT 71 '|', AT 72 '|', at 84 '|' , at 94 '|'
, at 104 '|'
, at 114 '|'
,
AT 2(12) '11111',
AT 15(42) '22222',
AT 59(11) '33333',
AT 72(11) '44444',
AT 85(9) '55555',
AT 95(9) '66666',
AT 105(9) '77777',
AT 115(9) '88888'.
regards,
amit m.