06-16-2011 8:41 AM
Hi,
My requirement is, I am using SUBMIT PROGRAM statement. Now i want to exit that program forcefully and return to my current program after certain time say 15 secs.
How can i achieve this ?
Regards
Vikash Singh
06-16-2011 8:47 AM
Hi.,
Use SUBMIT PROGRAM 'ZPROG1' and Return.,
now in the last line of ZPROG1 use Wait Statement .,
So that After Submitting It will wait and then return,.
hope this helps u.,
Thanks & Regards,
Kiran
06-16-2011 8:48 AM
Hello Vikas ,
One solution can be to check the execution time in the report you are submitting and when the specified time period ends exit from the program.
You can use the command get run time to get the execution time.
Regards,
Arun