parameter value of the previous run

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
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Don't have the docs here with me, but the API function to get parameter values (DSGetParamInfo?) should have an InfoType to get the value used in the most recent (last) run. Can't go any further back than that without farming the logs but the function should get you what you need.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Copy the file (if arrived) into a common location. Thus if today's file does not arrive, you will have the previous one there.

Crude but simple method.
Post Reply