Re-assigning a job parameter

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Hello Gautam,

unfortunately job parameters cannot have their values changed once a job has been called.

If you need to have a changed value visible in your job you could use the value of a stage variable to indicate the recovery status within a transform stage - I'm not sure if that adresses your question.

If you don't need to reassign the value in the job directly, but just need to ensure that somewhere a flag is set so that the calling sequence or the next job see that you have recovered. Perhaps you could set a value in the hashed file indicating the recovery status, or create an empty sequential file when recovery is complete or use some similar mechanism.
Gautam19
Participant
Posts: 7
Joined: Fri Aug 26, 2005 12:24 am
Location: India

Re-assigning a job parameter

Post by Gautam19 »

Thanks Arnd.
Using stage variable in the transformer seems to be a good option to go along with - I will definitely give it a try.
Thanks so much for your inputs.
Gautam Handa
Post Reply