Page 1 of 1

Environment value in routine

Posted: Thu Oct 16, 2008 8:16 am
by bikan
hi In routine I am taking value of environment variable

DSGetParamInfo(DSJ.ME,"$PATH",DSJ.PARAMDES.DEFAULT)

Now value of $PATH set in job is $PROJDEF
now when I rub the routine and when I try to display value of $PATH then it is showing as $PROJDEF and not actual path and then my job is getting aborted

I tried

DSGetParamInfo(DSJ.ME,"$PATH",DSJ.PARAMDEFAULT) but i found same result

Posted: Thu Oct 16, 2008 9:13 am
by chulett
I would think you should be using DSJ.PARAMVALUE for the actual value rather than the seeing what the default value is.