Getting values of User defined environment variables in UNIX
Posted: Mon Jan 07, 2008 6:19 pm
Hello All,
My requirement is:
To get the value of User defined environment variable for a project in the UNIX box.
For e.g.:
1. I have defined a variable Log_Dir having value /user/spool/myproject/logdir in the administrator.
2. I am using this variable in the job and have given the value in job as $PROJDEF.
3. I want to run the job from UNIX using dsjob command. I want to use the value "/user/spool/myproject/logdir" in my batch run script.
I could see that if we use the command below it will give me "$PROJDEF":
dsjob -paraminfo project_name job_name parameter_name
Is there a way I can get the actual value (/user/spool/myproject/logdir) stored in administrator?
Your help is appreciated.
Thanks and Regards,
Ajith GK
My requirement is:
To get the value of User defined environment variable for a project in the UNIX box.
For e.g.:
1. I have defined a variable Log_Dir having value /user/spool/myproject/logdir in the administrator.
2. I am using this variable in the job and have given the value in job as $PROJDEF.
3. I want to run the job from UNIX using dsjob command. I want to use the value "/user/spool/myproject/logdir" in my batch run script.
I could see that if we use the command below it will give me "$PROJDEF":
dsjob -paraminfo project_name job_name parameter_name
Is there a way I can get the actual value (/user/spool/myproject/logdir) stored in administrator?
Your help is appreciated.
Thanks and Regards,
Ajith GK