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

Create a message without the message class

Former Member
0 Likes
1,998

Hi,

How would I display an error message with the MESSAGE statement without using the MESSAGE CLASS.

Please let me know the code for it.

Thanks and regards,

Anishur

3 REPLIES 3
Read only

Former Member
0 Likes
1,170

you can write :

message 'Error occured' type 'E'.

Read only

0 Likes
1,170

Hi Priyank,

I was missing the quotes in E.

Thanks a lot!!!!!!

Regards,

Anishur

Read only

Former Member
0 Likes
1,170

Hi,

You can write code for error message as:

Message E000(0000) with 'Error message to be printed'.