How to pass values to environmental variables thru job
Moderators: chulett, rschirm, roy
How to pass values to environmental variables thru job
I want to pass the values to the environmental variables in the server job. Can you pls assist me on this
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Can you be more explicit? I understand that you want to set environment variables from a DataStage job. If that's correct, simply execute an appropriate command or pipeline of commands. For example
You could execute this command (for example, still) via ExecDOS as an after-job or after-stage subroutine.
Code: Select all
set MYVAR=#valuetoset#
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:
Didn't think so, but sure seems to me that's what the OP wants and you said "Sure, do it like this" so was a little confused. Never mind the fact it was fairly early on a hectic morning, what with two new puppies chewing on my cords and cables. ![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