parameters setting

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
kavuri
Premium Member
Premium Member
Posts: 161
Joined: Mon Apr 16, 2007 2:56 pm

parameters setting

Post by kavuri »

Hi experts,
I would like to desig a job which needs to take run time parameters. Can anybody give me a hint at what stage in designing I need to set the options.
for example suppose if I am reading DB2 files from DB2 server and I am having various tables need to be converted into text files through some modify stage or transformer stage. Here while designing where should I define run time variables. Can anybody give me some hints.

Thanks
Kavuri
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You should be designing your parameters well before you take up any ETL tool.
In DataStage I recommend adding the job parameters as early as possible in the job design process - maybe even before the first save, if there aren't too many of them.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sachin1
Participant
Posts: 325
Joined: Wed May 30, 2007 7:42 am
Location: india

Post by sachin1 »

and these parameters what ray has said can be set values through DSSetParam.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Go to the job properties, go to the job parameter's tab. You can define the job parameters there. In order to use the job parameters you need to enclose the job parameters with hashes within the stages, except the transformer stage, where you will use the job parameters as is without hashes.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply