Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

WRITE AT command

Former Member
0 Likes
627

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
582

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.

4 REPLIES 4
Read only

Former Member
0 Likes
582

change ur report heading like this and try

REPORT ABC line-size 255.

Message was edited by: Chandrasekhar Jagarlamudi

Read only

Former Member
0 Likes
582

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.

Read only

Former Member
0 Likes
582

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.

Read only

Former Member
0 Likes
583

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.