Hi All,
I have to run a job from command line, and pass an environment variable, called in my job every time through dsjob and -param option.
Can anyone suggest what is the correct syntax for it.
Passing environment variable through dsjob
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 132
- Joined: Tue Sep 04, 2007 11:38 am
- Location: NOIDA
the format is to use single quotes so that the '$' in the environment variable is not expanded, i.e.
Code: Select all
-param '$APT_CONFIG_FILE=/path/to/non/default/new.apt'
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>