Page 1 of 1

Posted: Sun Aug 25, 2002 9:15 pm
by vmcburney
There are a few ways to use parameters within a sequence job.
- Firstly you can set up parameters in the sequence job properties screen, these parameters can then be passed to any stages within that sequence. I don't know of any way to change the value of these parameters while the job is running.
- You can use a routine stage to set the value of variables that can then be used by other stages in the sequence. A routine has a $ReturnValue that is set by the routine and can be passed to any other stage as a parameter. A typical use is to write a routine that returns the current date and then pass this date to other routines and jobs. There must a set of links between the routine that sets the variable and the stage that uses the variable.
- You can write out parameters to a text or hash file from a job stage and read these values in through a routine stage as return values. These values can then be passed to other stages as parameters.