I am using SUBMIT RFEBKA00.....
The above standard programs internally submits 3 other programs and creates 3 spools
After the SUBMIT i am sending an email with those generated spool numbers
So my problem is,
The third program is taking lot of time and so only 2 spools are sent in the mail and the third spool is generated after 1 hour
So is there any work around to do , after SUBMIT statement so that ONLY after 3 spools are generated , the control will come to my program and send mail with the 3 spools
I have used WAIT 20 seconds after SUBMIT but still the same problem as the data is huge