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

Submit Statement

Former Member
0 Likes
293

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

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

1 REPLY 1
Read only

Former Member
0 Likes
277

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