Page 1 of 1

Job Parameters

Posted: Thu Aug 11, 2005 6:06 am
by lstacks
I have create a fairly simple job that contains a Parameter that identifies the path if of the input file. I would like to create a batch process to run this job for 50 different parameter inputs. Any suggestions?

Posted: Thu Aug 11, 2005 8:22 am
by roy
Hi,
You can:
1. write some sequenc job logic with start/end loop activity.
2. write a job control with a loop.

How do you plan to get the list of parameter values?

IHTH,

Posted: Thu Aug 11, 2005 8:31 am
by lstacks
I am going to create an array with all the values.

Is there something specific I need to do to release/reset the job between each run?

Are there any of the defaults which are loaded when creating a batch that would allow the process to run quicker?

Thanks

Posted: Sun Aug 14, 2005 12:56 am
by roy
Hi,
Usually after finishing with a job you perform the DSDetachJob() routine (read about it in the manuals)
On windows machines I usually add a sleep 3 or 5 for stability reasons especially if I run many jobs in a loop one after the other in parallel (then again it has been a while since last time I worked on a windows DS server so people are welcome to correct me if this is no longer needed)

IHTH,