$APT_CONFIG_FILE

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
patonp
Premium Member
Premium Member
Posts: 110
Joined: Thu Mar 11, 2004 7:59 am
Location: Toronto, ON

$APT_CONFIG_FILE

Post by patonp »

On our EE server, we've created a new APT_CONFIG file such that we now have two files - the original version and the new version. In one of our projects, we have modified the project default for the $APT_CONFIG_FILE to point to this new file.

Will jobs within this project that do not add the $APT_CONFIG_FILE variable to the list of variables end up using the new file pointed to by the project default or the original server default configuration file?

Thanks!
bcarlson
Premium Member
Premium Member
Posts: 772
Joined: Fri Oct 01, 2004 3:06 pm
Location: Minnesota

Post by bcarlson »

If the project default has been updated, then any job that does not explicitly specify a config file will use the project default. If, however, a job DOES specify APT_CONFIG_FILE as one of its parameters, then that value will override the project default.

Hope this helps.

Brad.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The pathname specified by the APT_CONFIG_FILE environment variable, wherever it is set, will be used to specify the configuration file with which a parallel job is run.
Last edited by ray.wurlod on Wed Feb 21, 2007 3:26 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.
patonp
Premium Member
Premium Member
Posts: 110
Joined: Thu Mar 11, 2004 7:59 am
Location: Toronto, ON

Post by patonp »

ray.wurlod wrote:The pathname soecified by the APT_CONFIG_FILE environment variable, wherever it is set, will be used to specify the configuration file with which a parallel job is run.
So...am I correct in understanding that the $APT_CONFIG_FILE value set up as the project default will be used by a job even when that environment variable is not explicitly added to the list of variables used by the job?
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Yes.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply