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

Error handling with SUBMIT

vimalv
Active Participant
0 Likes
517

Hello Experts!

Is it possible to handle errors generated in a program called with SUBMIT ?

for example I am calling a program REPORT00

SUBMIT REPORT00

WITH PARAM_1 = 'X'

AND RETURN.

And say there are some validations in REPORT00 that throws an error.

I see that when it throws an error, the screen on REPORT00 is displayed, which would not be prefered!

Is there a way to handle this?

Awaiting your valuable responses....

Thanks in advance

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
477

REPORT00 need to write the messages to File and download it later or need to write to spool... I guess its not possible to handle with submit statement...

2 REPLIES 2
Read only

former_member156446
Active Contributor
0 Likes
478

REPORT00 need to write the messages to File and download it later or need to write to spool... I guess its not possible to handle with submit statement...

Read only

vimalv
Active Participant
0 Likes
477

closing thread