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

aborting a program

Former Member
0 Likes
478

hi guyz,

can anybody tell me wot statement can i use to abort the program and wrtitng a message the program is aborted....

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
448

Hi,

Use the STOP Statement. In the END- OF-SELECTION create ur message which u wnat to display.

3 REPLIES 3
Read only

Former Member
0 Likes
449

Hi,

Use the STOP Statement. In the END- OF-SELECTION create ur message which u wnat to display.

Read only

Former Member
0 Likes
448

Use message type A.

Check the syntax,

MESSAGE A001(ZMSG) WITH TEXT-001.

Regards

Read only

Former Member
0 Likes
448

MESSAGE 'Program aborted' TYPE 'A'.

(or)

MESSAGE A001(ZA).

001 is the message number (your message number)

ZA (your message class)