DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
admin
Site Admin



Joined: 12 Jan 2003
Posts: 8720

Points: 10

Post Posted: Mon Feb 16, 2004 9:11 pm Reply with quote    Back to top    

I don't use them, but from what I understand you can use a value of "$ENV"
in the parameter (without the quotes). This will cause the current value of
the Environment Variable to be passed into the job.

As Vince says, make sure you upgrade to 7.0.1 if you want to leverage this
functionality.

-craig

-----Original Message-----
From: datastage-users-bounces@oliver.com
[mailto:datastage-users-bounces@oliver.com] On Behalf Of McBurney, Vincent
Sent: Monday, February 16, 2004 4:52 PM
To: DataStage Users Discussion List
Subject: RE: Stage Parameters ---- > What about Project
EnvironmentVariables?


Have a look at 7.0.1. It has improved handling of environment variables.

"DataStage 7.0.1 and DataStage Enterprise Edition 7.0.1

Added Functionality and Usability Improvements

Environment variable support has been enhanced to provide dynamic setting of
environment variable job parameters, via a project environment variable, at
runtime. This prevents the need to re-compile the job to pickup a new
environment variable value."

-----Original Message-----
From: datastage-users-bounces@oliver.com
[mailto:datastage-users-bounces@oliver.com]On Behalf Of Roberto Domingo
Royuela
Sent: Tuesday, 17 February 2004 05:14
To: datastage-users@oliver.com
Subject: Stage Parameters ---- > What about Project Environment
Variables?


Hello...
.... what about environment variables at Project Level ?
I mean...
.... I'm working with DS Server v7. In a DB2 Plugin, I would like to get de
ServerName parameter at execution time from the environment (at Project
Level, established in DS Administrator), and I don´t find how to do it.
Editing the DB2 stage with de Designer, in the properties tab, I can
include environment variables, but, how can I reference the real value (not
the value at the moment I included the env. var at the stage) of this
variable in the execution time?
In the product help, I have readed something like ´$ENV´ clause to get the
real execution time value, but is not documented with an example.

Thanks in advance.


Saludos/Regards,

Roberto Domingo Royuela
IBM Software Group - Data Management Solutions
roberto.domingo@es.ibm.com
Tel: 93-401.81.00
Fax: 91-519.39.87


_______________________________________________
datastage-users mailing list
datastage-users@oliver.com
http://www.oliver.com/mailman/listinfo/datastage-users

_________________
PLEASE READ
Do not contact admin unless you have technical support or account questions. Do not send email or Private Messages about discussion topics to ADMIN. Contact the webmaster concerning abusive or offensive posts.
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours