‎2008 Dec 24 4:24 AM
Hello Experts,
I have a program (that generates a Job) that triggers about 7 reports according to a specific sequence (stored in a specific table). After getting this sequence i'm calling SUBMIT for each report... It gives something like :
CALL FUNCTION 'JOB_OPEN'.
LOOP AT SEQUENCE_TABLE.
SUBMIT SEQUENCE_TABLE-REPORT_NAME. "(from report 1 to 7) Some reprts are also generating a Job
ENDLOOP
CALL FUNCTION 'JOB_CLOSE'.Using that solution i'm waiting for each report to be submited before triggering the next one...Now i'm looking for a solution that triggers the whole sequence at same time (Submit the reports simultanously) ?
Can you help me on this ?
THANKS
Best Regards,
Soufiane
‎2008 Dec 24 4:33 AM
May be this way
LOOP AT SEQUENCE_TABLE.
CALL FUNCTION 'JOB_OPEN'. " For this you need to allocate UNIQUE job names
SUBMIT SEQUENCE_TABLE-REPORT_NAME.
CALL FUNCTION 'JOB_CLOSE'
ENDLOOP
a®
‎2008 Dec 24 4:41 AM
‎2008 Dec 24 11:35 AM
Thanks for your replies. Now i'll try to give more explanation about my problem :
In table SEQUENCE_TABLE i need to launch a job for each division stored in it. For each division 7 programms are triggered. My requirement is to launch simultanously all the division stored in my table.
Is that possible ?
Thanks for your collaboration !