Performance Tuning
Performance Tuning
Performance Tuning
Here is the full FAQ on this topic:Creating project specific environment variables- Start
up DataStage Administrator.- Choose the project and click the "Properties" button.- On
the General tab click the "Environment..." button.- Click on the "User Defined" folder to
see the list of job specific environment variables.There are two types of variables - string
and encrypted. If you create an encrypted environment variable it will appears as the
string "*******" in the Administrator tool and will appears as junk text when saved to the
DSParams file or when displayed in a job log. This provides robust security of the
value.Migrating Project Specific Job ParametersIt is possible to set or copy job specific
environment variables directly to the DSParams file in the project directory. There is also
a DSParams.keep file in this directory and if you make manual changes to the
DSParams file you will find Administrator can roll back those changes to
DSParams.keep. It is possible to copy project specific parameters between projects by
overwriting the DSParams and DSParams.keep files. It may be safer to just replace the
User Defined section of these files and not the General and Parallel
sections.Environment Variables as Job Parameters- Open up a job.- Go to Job
Properties and move to the parameters tab.- Click on the "Add Environment Variables..."
button.- Set the Default value of the new parameter to "$PROJDEF".When the job
parameter is first created it has a default value the same as the Value entered in the
Administrator. By changing this value to $PROJDEF you instruct DataStage to retrieve
the latest Value for this variable at job run time.If you have an encrypted environment
variable it should also be an encrypted job parameter. Set the value of these encrypted
job parameters to $PROJDEF. You will need to type it in twice to the password entry
box.Using Environment Variable Job ParametersThese job parameters are used just like
normal parameters by adding them to stages in your job enclosed by the #
symbol.Database=#$DW_DB_NAME#Password=#$DW_DB_PASSWORD#File=#$PRO
JECT_PATH#/#SOURCE_DIR#/Customers_#PROCESS_DATE#.csv
Theare are the variables used at the project or job level.We can use them to to configure
the job ie.we can associate the configuration file(Wighout this u can not run ur job),
increase the sequential or dataset read/ write buffer.
ex: $APT_CONFIG_FILE
Like above we have so many environment variables. Please go to job properties and
click on Paramer tab then click on "add environment variable" to see most of the
environment variables.