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

message-id

Former Member
0 Likes
3,854

Hi,

LINE-SIZE 132

LINE-COUNT 65

MESSAGE-ID ZMM

can any body plz describe this

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,971

Hi,

... <b>LINE-SIZE</b> col

Formats the new page with the number of columns specified in

col, except in the case of LINE-SIZE = 0 which indicates line

length set by the system according to the standard window

width.

The addition ... LINE-SIZE col is only effective on the new

page if it is also the first page of a new list level.

<b>... LINE-COUNT</b> lin

Starts a new page containing the number of lines per page

specified by lin, except in the case of LINE-COUNT 0, where the

number of lines per page is unlimited, and the internal limit

is 60,000 lines. This statement has no effect in print mode.

<b>MESSAGE ID</b> id TYPE mtype NUMBER n.

ID message class

TYPE message type

NUMBER message number

e.g. MESSAGE ID 'SU' TYPE 'E' NUMBER '004' WITH 'Hugo'.

The example displays message 004 from message class SU as an error message, and its first placeholder is

replaced with 'Hugo'.

Hope this helps.

Reward if helpful.

Regards,

Sipra

10 REPLIES 10
Read only

Former Member
0 Likes
1,972

Hi,

... <b>LINE-SIZE</b> col

Formats the new page with the number of columns specified in

col, except in the case of LINE-SIZE = 0 which indicates line

length set by the system according to the standard window

width.

The addition ... LINE-SIZE col is only effective on the new

page if it is also the first page of a new list level.

<b>... LINE-COUNT</b> lin

Starts a new page containing the number of lines per page

specified by lin, except in the case of LINE-COUNT 0, where the

number of lines per page is unlimited, and the internal limit

is 60,000 lines. This statement has no effect in print mode.

<b>MESSAGE ID</b> id TYPE mtype NUMBER n.

ID message class

TYPE message type

NUMBER message number

e.g. MESSAGE ID 'SU' TYPE 'E' NUMBER '004' WITH 'Hugo'.

The example displays message 004 from message class SU as an error message, and its first placeholder is

replaced with 'Hugo'.

Hope this helps.

Reward if helpful.

Regards,

Sipra

Read only

Former Member
0 Likes
1,971

HI,

Line-size 132 means ...no. of characters in a row when the list is printed.

Line-Count 65 means no. of lines in a page when the list is printed.

message-id zmm means the messages used in teh program.

For eg: you can write,

message i032(zmm) .

you can either zmm in the message stmt or can be used in the first line of the report.

Regards

Subramanian

Read only

p291102
Active Contributor
0 Likes
1,971

Hi,

... LINE-SIZE col

Effect

Formats the new page with the number of columns specified in col, except in the case of LINE-SIZE = 0 which indicates line length set by the system according to the standard window width.

The addition ... LINE-SIZE col is only effective on the new page if it is also the first page of a new list level.

Note

The addition works only before initialization of the new list level (with WRITE, SKIP, ...).

For the default setting use the addition ... LINE-SIZE in the REPORT statement.

The maximum line length is 1023. You should keep list width to the miniumum possible. This improves useability and performance, and makes the list easier to print (recommendation: LINE-SIZE < 132). For very wide (LINE-SIZE > 255) lists, see the notes for using LINE-SIZE greater than 255.

... LINE-COUNT lin

Effect

Starts a new page containing the number of lines per page specified by lin, except in the case of LINE-COUNT 0, where the number of lines per page is unlimited, and the internal limit is 60,000 lines. This statement has no effect in print mode.

Note

For the default setting use the addition ... LINE-COUNT in the REPORT statement.

Further notes about the use of LINE-COUNT.

... MESSAGE-ID mid

Effect

This addition specifies the standard message class for the main program. This contains the messages used with the simple MESSAGE statement.

Note

This message class must not be enclosed in quotation marks.

You can use a namespace prefix with message class names.

Example

REPORT RSTEST00 MESSAGE-ID SY.

It is helpful for u.

Thanks,

Shankar

Read only

Former Member
0 Likes
1,971

Hi,

<b> Line Size.</b>

Line size means number of character in an report output

supose ur putting line-size 100 means only 100 chracter will be print a line.

<b>line-count</b> means total numer of lines in an page.

suppose ur giving 20(3) means it will print 20 lines in an page.

<b>message-id</b> means we r creating our own message under the name of ZMM

Read only

0 Likes
1,971

Hi,

can u help me creating messagew class

Read only

0 Likes
1,971

you can use se91 tcode.

or just write

message e001(ZSPD).

dbl click on ZSPD it will directly go to se91 and 001 text write the message text there save that

regards

shiba dutta

Read only

Former Member
0 Likes
1,971

Hi sudhir,

go to se91->specify the name of message class,provide description.

go with messages tab and provide the messages that u want to create.save and activate.

Read only

0 Likes
1,971

I want to know in built message class n use them how can i?

Read only

Former Member
0 Likes
1,971

Hi sudhir,

u can create ur own message class by se91.

But if u want to use the built in class go with se91 and press f4 so that u can view the built in classes so that the required one can b used.

Read only

Former Member
0 Likes
1,971

Line-size 132 means it indicates that the output width is restricted to 132 characters and not more than that.

Line-count 65 means that the output list contains 65 lines . If it is more than that it will be printed in next page.

Message-id ZMM all the messages will be stored in ZMM.