‎2007 Oct 04 7:32 PM
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
‎2007 Oct 04 8:13 PM
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.
‎2007 Oct 04 9:01 PM
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,