Project warning count environment variable

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
bensonian
Participant
Posts: 42
Joined: Tue Nov 22, 2005 2:12 pm

Project warning count environment variable

Post by bensonian »

In order to run our application we have a shell script that actually grabs the project setting values set at the project level and executes the 'dsjob' command.

The Problem is I donot see an Environment variable (at the Admin/Proj Level) that actually overwrites the default 'Warning Limit' count value.

I certainly would appreciate your help.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

There isn't one... but that doesn't mean you can't create one for that purpose, I suppose.

I'm curious, what 'project setting values' are you fetching in your script and how are you using them? Seeing as how they are project level environment variables, those variables are automatically created in every job's environment when it runs so there shouldn't be a need to explicitly pass it to the job... unless you're not taking advantage of the $PROJDEF mechanism. :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
bensonian
Participant
Posts: 42
Joined: Tue Nov 22, 2005 2:12 pm

Post by bensonian »

I'm curious, what 'project setting values' are you fetching in your script and how are you using them?



The script actually grabs all the values at the Project level and tries to execute the 'DSJob command'. The default value for 'Warning counts' is 50, I beleive unless and untill one specifies it at the admin/project level. I was wondering if there is an environment variable that actually overwrites the 'default' 50 count ??
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

As noted, there isn't one. The only "override" setting is done at the client (individual PC) level as an option in the Director. There is no project level equivalent.

ps. Didn't really answer my tangential question as to exactly what you're doing in this script, but that's ok.
-craig

"You can never have too many knives" -- Logan Nine Fingers
bensonian
Participant
Posts: 42
Joined: Tue Nov 22, 2005 2:12 pm

Post by bensonian »

chulett wrote: ps. Didn't really answer my tangential question as to exactly what you're doing in this script, but that's ok.

dsjob -file $XCONFIG_DIR/dsjobfile.txt $DOMAIN_PORT $ETL_PORT -run -jobstatus -param $DS_GLOBAL_PARAM $DS_PROJECT $XDS_NAME >> $LOG_FILE
Post Reply