passing file name dynamically

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
Xpert
Premium Member
Premium Member
Posts: 85
Joined: Wed Mar 01, 2006 7:17 am

passing file name dynamically

Post by Xpert »

Hi all,

how to pass the file name dynamically to sequential file stage. Thanx in advance
With regards,
Xpert
loveojha2
Participant
Posts: 362
Joined: Thu May 26, 2005 12:59 am

Post by loveojha2 »

Use Parameters in place of the Hardcoded File names. Its pretty straight forwad. 8)
Success consists of getting up just one more time than you fall.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

As loveojha2 mentioned, use job parameters. But you need to set the values of job parameters from outside the job. So you need either a script or a control job to do that. Search the website for relative examples as this has been covered a lot here.
Regards,
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply