$PROJDEF issue

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
dsedi
Participant
Posts: 220
Joined: Wed Jun 02, 2004 12:38 am

$PROJDEF issue

Post 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
pnchowdary
Participant
Posts: 232
Joined: Sat May 07, 2005 2:49 pm
Location: USA

Post 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.
Thanks,
Naveen
dsedi
Participant
Posts: 220
Joined: Wed Jun 02, 2004 12:38 am

Post 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
pnchowdary
Participant
Posts: 232
Joined: Sat May 07, 2005 2:49 pm
Location: USA

Post 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.
Thanks,
Naveen
dsedi
Participant
Posts: 220
Joined: Wed Jun 02, 2004 12:38 am

Post 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
pnchowdary
Participant
Posts: 232
Joined: Sat May 07, 2005 2:49 pm
Location: USA

Post 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.
Thanks,
Naveen
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post 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.
Post Reply