Page 1 of 1

Parameters in Sequencers

Posted: Tue Jan 18, 2011 6:25 am
by sachinag
Hi,

In my job i have created one sequencer,what i want is if i missed out to pass the value in sequencer parameter while running it,my sequencer should not run or it should abort.

Please help me on this.

Regards,
Sachin Gupta

Posted: Tue Jan 18, 2011 7:47 am
by chulett
Some types are required and thus can't be left empty, the others need to be explicitly checked triggering a Terminator if needed. If there are many, a routine would be best, I would think.

Posted: Tue Jan 18, 2011 12:53 pm
by kduke
It is possible. If a parameter gets added after a job sequence is built then it can run the job without that parameter. If the job being run has a default value on that parameter it will use the default otherwise it should fail.

Same is true using the dsjob command. Parameters can be left out if they have defaults and the job will run fine.

Posted: Tue Jan 18, 2011 3:41 pm
by ray.wurlod
Check the value of the parameter, simply by interrogating it, perhaps in a trigger expression that leads to a Terminator activity.