Skip to Content
avatar image
Former Member

Executing batch-input sessions in background jobs

Isn't there any possibility to process several Batch Input sessions in one background job?

Now we create with a own written program a lot of batch input sessions and we process these sessions in a background job with program RSBDCSUB as the only step. After this job has run all the batch input sessions

are submitted in background (there are as many jobs as batch input.

This causes sometimes a performance problem for the background processes

because all of these sessions are processed as separated jobs

(sometimes more than 100 batch input sessions = more than 100 background

jobs)

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Mar 04, 2004 at 07:33 PM

    One way you could accomplish this, is by scheduling a backgroud job that will call program RSBDCSUB as a step and specify the BDC session name in a variant. You can repeat this in several steps. The problem is that the BDC sessions will run one after the other, so you would have to decide the priority of the sessions when you schedule the job. However, only one job will be running instead of 100 jobs.

    Now, I checked everywhere and I could not find any documentation that specifies the number of steps that you can create in a job (I have never created more than six or seven steps), so you would need to try and see (trial and error).

    I hope this helps.

    EG

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 05, 2004 at 01:59 PM

    I guess I will play <i>devil's advocate</i> and ask why create so many Batch Input Sessions. You know that creating 100 or more session overloads the system. This is a custom program that is creating the sessions, correct? Why not take the total number of transactions and divide it into only 10 or so sessions (or whatever number is manageable for your system) using functions BDC_CLOSE_GROUP and BDC_OPEN_GROUP triggered by a counter. You will still get parallel activity, but only enough parallelism as so not to overwhelm your system.

    Add comment
    10|10000 characters needed characters exceeded