Page 1 of 1

APT Config File

Posted: Wed Nov 03, 2004 4:08 am
by vigneshra
Hi

We are having three different versions of APT Config file and we are passing different file name as a parameter to different job based on the job complexity. Here the issue is, whenever I try to compile the job having a parallel transformer, without giving default value in $APT_CONFIG_FILE parameter, the job doesn't compile and says that the value is required for compilation. So what I am afraid for is, will this default value will be overridden when I pass some other APT Config file name from the calling shell script ?? Or will it set at the compilation time itself which cannot be changed during run time ??
Kindly help me out in this regard.

DataStage PX version : 7.0
OS : IBM AIX

Thanks,
Vignesh.

Re: APT Config File

Posted: Wed Nov 03, 2004 10:44 am
by raju_chvr
I come from the regular DS world. In the regular DS the values you pass from the shell scripts overwrite the default values and I am assuming the same would happen with PX also and that would be a safe assumption I would say...

Posted: Wed Nov 03, 2004 2:18 pm
by gh_amitava
Hi,

It will overwrite.

Regards
Amitava

Posted: Thu Nov 04, 2004 11:15 am
by Eric
The job with a transformer will always use the config file given at runtime regardless of the config file used at compile time

Posted: Sat Nov 06, 2004 3:43 am
by mandyli
Hi

what Amitava reply is correct b'cus during run time u sending one more APT file latest value only it will take.

Thanks
Man

Posted: Mon Nov 08, 2004 6:25 am
by vigneshra
Ok Raju, Amitava, Eric and Mandyli. I go with what you guys are saying. But this gives way to one more question. Why does a parallel transformer needs a value in APT Config file parameter to get compiled ?? Can you guys throw some more light on this ??? Thanks in advance !!

Vignesh.

Posted: Mon Nov 08, 2004 11:27 am
by Eric
The parallel Engine won't run without a Config File and it is the parallel engine which controls the Compile of the transformer.

Posted: Mon Nov 08, 2004 2:34 pm
by ray.wurlod
The compiler needs to know about processing node allocation too.

Posted: Tue Nov 16, 2004 9:14 am
by vigneshra
So Ray, You mean to say something like if a job with parallel transformer is compiled for a 8 processing nodes, that job will run only in 8 nodes even if the PX actually runs in 16 node production environment. Am I making sense ?? :P

Posted: Tue Nov 16, 2004 2:35 pm
by ray.wurlod
Not saying that at all. What I'm saying - all I'm saying - is that, when the job is compiled, it needs to generate an object that can be cloned across multiple processing nodes.