Search found 6 matches

by pchapma5
Fri Sep 12, 2008 8:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to pass variable $APT_CONFIG_FILE from script
Replies: 13
Views: 17808

Looking at your original list of parameters, I think they should look like this : '$APT_CONFIG_FILE'=/opt/Ascential/DataStage/Configurations/2Node.apt 'InputDir'=/home/source/ 'InputFileName'=emp.dat 'OutputDir'=/home/target/ 'OutputFileName'=emp.out 'RejectDir'=/home/reject/ 'RejectFileName'=emp.re...
by pchapma5
Fri Sep 12, 2008 6:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to pass variable $APT_CONFIG_FILE from script
Replies: 13
Views: 17808

In your parameter file you need something like this for all your parameters :

t_config_file=/opt/Ascential/DataStage/Configurations/2Node.apt

Then in your script, you need something like this :

-param '$APT_CONFIG_FILE'=$t_config_file

Hope this helps
by pchapma5
Fri Mar 14, 2008 10:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: pass field values to parameter
Replies: 9
Views: 6440

Are you using sequences ? If so, you could always create a sequential file in one job containing just the file name. Then in the sequence, you use the 'execute command' to perform a unix cat on that file to retrieve the contents. The next job in the sequence can pick up the output from the cat comma...
by pchapma5
Fri Mar 14, 2008 3:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Teradata data source is empty
Replies: 3
Views: 2061

Further to my last note: I'm using the 'user generated sql' option but I'm wondering if this is being ignored as I can't get anything to work.
Could there be a bug here that ignores that option and just uses the generated sql ?
thanks
by pchapma5
Fri Mar 14, 2008 3:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Teradata data source is empty
Replies: 3
Views: 2061

Thanks for your reply. However, the union still says 'data source is empty' via datastage and native sql fails saying that a UNION requires a table. I do have a sort of workaround for this but it involves using the row generator to generate 1 row with my default timestamp; this then gets filetered w...
by pchapma5
Thu Mar 13, 2008 11:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Teradata data source is empty
Replies: 3
Views: 2061

Teradata data source is empty

Can somebody help please. I'm trying to use the Teradata API stage to select a max timestamp as follows : select max(#TDREJDATECOL#) from #TDDBASE#.#TDREJTAB#; However, the table is actually empty. I want to be able to return a default value in these circumstances. Whatever I try I just get the mess...