Page 1 of 1

Before/After rotuine input values

Posted: Mon Jul 05, 2004 2:38 am
by johnno
Hi all,

I can't believe this hasn't been covered before, but I can't get anything returned for a search on either 'before' or 'after'.

Anyway, I was wondering whether or not it was possible to use job parameters, stage variables, or any other dynamic value as the input value to an after-job routine, and if so how you would do this?

Any help greatly appreciated.

Cheers
Johnno

Posted: Mon Jul 05, 2004 6:55 am
by WoMaWil
Hi John no,

I don't understand your problem.

You can feed an after-job-routine, after-stage-routine, before-job-routine and before-stage-routine with job parameters.

If you need them to feed with variables you have processed via your Job run you have to take common variables.

Wolfgang

Re: Before/After rotuine input values

Posted: Mon Jul 05, 2004 7:41 am
by chulett
johnno wrote:I can't believe this hasn't been covered before, but I can't get anything returned for a search on either 'before' or 'after'.
:? Something seems to be broken. I couldn't either until I told it 'Exact Match'. Really don't think it should be working that way, but try that as a alternative.

As mentioned, Job Parameters are the easiest thing to use After Job. Simply refer to them there like you do anywhere else. Stage Variables are basically a 'no', at least not directly. The only other way I can think of off the top of my head would be to use the five system variables @USER0 thru @USER4. A search on USER0 should turn up plenty of lively discussion of their use.

Posted: Mon Jul 05, 2004 8:18 am
by johnno
Thanks folks - all sorted!