Parameter File

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Peytot
Participant
Posts: 145
Joined: Wed Jun 04, 2003 7:56 am
Location: France

Parameter File

Post by Peytot »

Hi,

When I create a new project, where can I found the default file for the global variable like $PATH, $TMPDIR and the User Defined ?

Thanks

Pey
hgalusha
Participant
Posts: 8
Joined: Tue Jan 22, 2002 12:27 pm
Location: USA

Re: Parameter File

Post by hgalusha »

Peytot wrote:Hi,

When I create a new project, where can I found the default file for the global variable like $PATH, $TMPDIR and the User Defined ?

Thanks

Pey
Pey,

$PATH, $TMPDIR (syncsort?), and other environment specifications are usually in the dsenv file in $dshome. The UNIX id that administers DataStage (dsadm) should source the dsenv in its .profile, then when the DSEngine is brought up, it inherits all of these.

Hope this helps.

-Howard
Peytot
Participant
Posts: 145
Joined: Wed Jun 04, 2003 7:56 am
Location: France

Post by Peytot »

Thank you Howard,

You are true, the variables $PATH, $TMPDIR used for syncsort.

Regards,

Pey
hgalusha
Participant
Posts: 8
Joined: Tue Jan 22, 2002 12:27 pm
Location: USA

Post by hgalusha »

Pey,

Also, make sure that your id's source the dsenv file as well....that way, when you open up a shell session through telnet or ssh, you pick up the environment the same way that DataStage does...invaluable for troubleshooting, and nice to maintain that stuff in one place (dsenv) rather than a bunch of individual's .profiles.

-Howard
neena
Participant
Posts: 90
Joined: Mon Mar 31, 2003 4:32 pm

Re: Parameter File

Post by neena »

Peytot wrote:Hi,

When I create a new project, where can I found the default file for the global variable like $PATH, $TMPDIR and the User Defined ?

Thanks

Pey
Hi,
you can view these datastage variable through administrator. If you choose project properties General tab you can find a button Environment... when you click that you cansee the variable and the default values and at the same time you can also add some user defined variables aslo

Hope this will help you.
------------------
Neena
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

I really like this feature in version 7.0. Much safer viewing and setting DataStage specific environment variables in the Administrator rather than poking around in the dsenv file directly. I also like the log message whenever a job runs showing all environment variable settings.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You may like it in 7.0, but it has been doing it that way since the 6.x release. :) Unless they've made it more better in 7?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply