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

1 Program with Multiple Variants in Background with Parallel Processing..

Former Member
0 Likes
1,118

Hi Experts,

I need your help. Here is what I want to do.

I have a Program 'TEST1' with different different variants. I want to create New Program 'NEW' which execute 'TEST1' with VARIANTS1, 'TEST1' with VARIANTS2, 'TEST1 with VARIANTS3'.... and so on. Also I want to make sure that once I execute 'NEW' Program, all 'TEST1' with different VARIANTS needs to execute in back ground in parallel processing.

Can anybody give me step by step instructions / code for the same ASAP.

Thanks in advance

2 REPLIES 2
Read only

Former Member
0 Likes
512

Hi Sanket,

U can call a new program using the submit statement followed by variant.

SUBMIT NEW USING SELECTION-SET 'variant1'.

U can get the variants for a program from table VARID and tvarv.

For abckground execution.

1.CALL FM JOB_OPEN by passing the job name and get the job number.

2. SUBMIT NEW USING SELECTION-SET 'variant1

VIA job_name NUMBER job_number.

3. CALL FM JOB_CLOSE.

Reward points.

Thanks

Sampath.

Read only

0 Likes
512

Sampath,

If I select two variants, will both program run parallel ?? and dont i have to write JOB_OPEN,SUBMIT,JOB_CLOSE for each variant.

I have One Program with 50 Variants. What I want is to run this One program with 50 variants in background, in parallel.

If you can provide me code, would be appreciated.

Thanks,