List of environment variables

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
ippie02
Participant
Posts: 14
Joined: Tue Aug 16, 2005 2:13 pm

List of environment variables

Post by ippie02 »

Looking for a list of all the buit-in environment variables to which I can have access.

Did not find in in the regular documentation. Using Datastage 7.1

thanks in advance
<h3>Consulting</h3>
If you're not part of the solution, There's good money to be made in prolonging the problem.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

What are you trying to do? What do you think you will find? Write a simply Sequence job with a command stage to execute "env" and you'll see the environment a job.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
ippie02
Participant
Posts: 14
Joined: Tue Aug 16, 2005 2:13 pm

Post by ippie02 »

I'm looking for variables like

Vuser
DSJobName

and so forth.

is there a reference document with all of those variables listed?
<h3>Consulting</h3>
If you're not part of the solution, There's good money to be made in prolonging the problem.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

I don't know where vuser applies to DS Server, is this a variable that applies to one of the other tools? As for DSJobName, I wasn't aware that was being pushed into the environment of a job.

Anyone else want to pick this one up because I'm at a loss.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

vUser and DSJobName are not DataStage environment variables.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

They (DataStage environment variables) are visible in the Administrator client.

Therefore, they are mentioned in the Administration manual.

However, no list can be "complete" that is customizable.

DSJobName is a DataStage macro, not an environment variable. There are also system variables (having names beginning with "@"). For example the login ID is @LOGNAME. These are listed in the DataStage BASIC manual. Some, though not all, are listed in on-line help - then again, you don't need them all.
Last edited by ray.wurlod on Tue Oct 25, 2005 2:10 pm, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

ray.wurlod wrote:They are visible in the Administrator client.
Now, my eyes are tired, but are they that tired that they didn't see:
Vuser
DSJobName
listed under the environment tab? The post is for Server, but even checking in the Parallel tab didn't yield results. Help out these tired eyes....
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

IF you create them under the User Defined area you will be able to see them! :lol:
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Ahhhh, somehow I feel I walked into that one. :oops:


So the posters answer is that the listed variables are something they dreamed up. However, the vanilla variables that come with the product are available in Administrator. There are also the environment variables available for the DS Engine under the dsenv. Lastly, there's the custom ones that you can stick in dsenv or the Administrator client.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
ippie02
Participant
Posts: 14
Joined: Tue Aug 16, 2005 2:13 pm

Post by ippie02 »

thank you. this helped me out.

I could not find a better word than "environment variables" for what I needed.
System variables or macros are indeed so much clearer. thank you all.

:idea:
<h3>Consulting</h3>
If you're not part of the solution, There's good money to be made in prolonging the problem.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Do you still have a question?
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Being new, I suspect that the problem for the OP was simply one of not having the appropriate terminology ready to mind. I believe the question (uncertainty) has been resolved.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

New DataStage users could also benefit from opening up a Transformer and looking at everything available on the right mouse click menu. There are some things on there that even experienced DataStage coders are unaware of.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

One of the pieces of advice I always give when running the DataStage Essentials class is "right click everywhere!".

There just isn't enough screen real estate to make the whole of the functionality visible. For example who knew that every Director view has a filter? Or that you can view data in Designer without opening the stage properties editor? (These are rhetorical questions and, as such, do not require answers.)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply