Application Development 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: 

Background Job Scheduling

Former Member
0 Kudos

Hi,

I wanted to create the Background job scheduling for more than 1 job at a time.

I think JOB_OPEN will create for only one background job.

How can I create it for multiple jobs which can run parallely at a time.

Urgent help me

1 REPLY 1

Former Member
0 Kudos

hi,

Keep the following pseudo code in loop.

loop

Use JOB_OPEN to create a background job. The function module returns the unique ID number which, together with the job name, is required for identifying the job.

Once you have "opened" a job, you can add job steps to it with

JOB_SUBMIT and submit the job for processing with JOB_CLOSE.

endloop.

Give job names by concatenating with numeric.

Ex: job_01, job_02 .....