Hi,
How to pass the job parameters in datastage jobs for different environments using profiles(unix).
please help me about process,Any documentation regarding this is helpful.
Thanks for your help.
profiles passing
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 76
- Joined: Wed Jan 25, 2006 6:42 pm
-
- Participant
- Posts: 76
- Joined: Wed Jan 25, 2006 6:42 pm
Yes you can use environment variables as parameter values. There are several other best practices like having a ini file or a text file which is read with all the parameter values like
pSourceDsn=MyDsn
pSourceUser=EtlUser
pSourcePwd=MyPassword
Do a search on DSParams to see how parameters are can be moved around.
pSourceDsn=MyDsn
pSourceUser=EtlUser
pSourcePwd=MyPassword
Do a search on DSParams to see how parameters are can be moved around.
Mamu Kim
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
I do not get up at 2:45am (my local time when you posted this) just to answer DSXchange posts!vardhan354 wrote:Can any help in this issue.
Last edited by ray.wurlod on Fri Sep 15, 2006 7:08 pm, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Create job parameters using "Add Environment Variable". Use one of the special default values.
- $ENV obtain value from executing user's environment
$PROJDEF obtain value from project (set in Administrator client)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.