2007 Aug 13 7:43 AM
Hi,
I have 2 jobs associated with 2 programs.
1st program creates the 1st job and after that job is sumitted 2nd program submitted in the background as a job(Using Submit As a Job Statement).
Now prob is in Develpoment environment the complete scenario is working fine. But when i transport it to Staging,only the 1st job is being created,2nd is not.
I mean Submit is not getting triggered somehow even though it is givin sy-subrc value eq to 0.
Is there any configuration that needs to be done in Staging.
Note: Condition that 2nd job is to be executed after 1st job ,i have specified in JOB_CLOSE FM in params PRE_JOBNAME & PRED_JOBCNT specifying the 1st job's name & count.
Its Urgent
Answers will be rewarded,
Regards,
Rohan
2007 Aug 13 9:54 AM
Hi,
I would suggest to SUBMIT the program after the last processing statement in 1st job itself instead of passing the same in JOB_CLOSE.
JOB 1 => Program..
Select_data.
Process_data.
Display_data.
SUBMIT Z.... --> Call to 2nd program
Best regards,
Prashant
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |