Hi,
I have a sequence job being triggered by a AutoSys job. There is a requirement that the AutoSys job requires the DataStage Project name.
There is only one project setup on the DS Server.
Is there any Environment variable that will pass the project name to the AutoSys job. I searched through the archives but could not find any.
Thanks,
Required Proj Name to a AutoSys job
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 74
- Joined: Sat Jul 08, 2006 4:09 am
- Location: Melbourne, Australia
- Contact:
Required Proj Name to a AutoSys job
Durga Prasad
I assume you are using 'dsjob' from AutoSys. You need to pass the Project name on the command line to dsjob. Sure, you could setup an environment variable and use that or - since there's only one - just (gasp) hard-code the Project name in the AutoSys job. ![Wink :wink:](./images/smilies/icon_wink.gif)
![Wink :wink:](./images/smilies/icon_wink.gif)
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 21
- Joined: Fri Nov 04, 2005 11:31 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The reason, if you think about it, is obvious. Unlike DataStage clients, dsjob is not connected to any particular project; it's just out there in the operating system. So you have to inform it in which project the job in question resides. The same job name might exist in more than one project (for example dev, test and prod).
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.