Page 1 of 1

$PROJDEF

Posted: Fri Dec 30, 2005 4:08 pm
by p.jain
What is $PROJDEF ? How do I create it using DS Administrator and then use it in my Server jobs?

Thanks
-Pj

Posted: Fri Dec 30, 2005 4:46 pm
by ray.wurlod
Welcome aboard! :D

There are three special tokens that can be used as the default value for an environment variable set up via the Administrator client.
$PROJDEF picks the value up from what was set in the Administrator client.

$ENV picks the value up from the executing user's environment.

$UNSET explicitly unsets the variable (useful for those "testing" on/off environment variables)

    Posted: Fri Dec 30, 2005 5:33 pm
    by ds_developer
    You should look at the FAQ Forum. It tells you all about it. Here is the link: viewtopic.php?t=92038

    John

    Posted: Fri Dec 30, 2005 10:42 pm
    by kumar_s
    Hi Pj,
    Datastage retrieves the latest value for the environmental variable available in the project which you might have set though administrator client thorough $PROJDEF.
    Ans this is not as such created in Administrator.

    -Kumar

    Thanks to all

    Posted: Tue Jan 03, 2006 4:24 pm
    by p.jain
    Hello All,

    I have the information that I had required to get started. Thanks to all for your suggestions.

    -Pj