Page 1 of 1

$PROJDEF issue

Posted: Wed Jul 27, 2005 1:47 pm
by dsedi
Hi All,

I am trying to implement $PROJDEF in job parameters which will take the default values in DS Admin.
It's not running sucessfully.

I am using PX 7.0..
Is that becoz of this version or any other issues?

Thanks in advance
Edi

Posted: Wed Jul 27, 2005 2:30 pm
by pnchowdary
Hi,
It's not running sucessfully.
What's the exact error you are getting?. You need to provide more information, so that we can help you.

Posted: Wed Jul 27, 2005 3:00 pm
by dsedi
We defiend a project level variable for example SRC_DIR in admin with a default path value where source file exixts.

we are using the same env variable in our job parameters by using
"add envirounment variables".
then we replace our default path value with "$PROJDEF" in our job.

while running the job it's saying " Error writing ORCHESTRATE File Data Set descriptor for '$PROJDEF/testdata.ds'.

Thanks
Edi

Posted: Wed Jul 27, 2005 3:32 pm
by pnchowdary
Hi,

I am confused, about what the actual problem is as you are speaking of both about SRC_DIR and $PROJDEF

Are you trying to use $PROJDEF as the value for the parameter SRC_DIR ?. Please clarify.

Posted: Wed Jul 27, 2005 3:57 pm
by dsedi
yes we are trying to use $PROJDEF as the value for the parameter SRC_DIR in the Job.

Do i need to modify something in Dsparams file or some other configuration?

Thanks,Edi

Posted: Wed Jul 27, 2005 4:03 pm
by pnchowdary
Hi,

As far as I know, You can't use one Environment Variable ($PROJDEF) as the value to another Environment Variable (SRC_DIR).

Guys,
Please correct me, If I am wrong.

Posted: Wed Jul 27, 2005 6:25 pm
by vmcburney
Read the FAQ on project specific environment variables. $PROJDEF can only be used on variables set up by the Administrator tool and added to the job via the "Add Environment Variable" button on the job parameters tab. They are brought into the job starting with a $ sign.