Search found 37 matches

by SBSA_DW2
Tue Dec 07, 2010 2:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how clever is Dstage supposed to be?
Replies: 1
Views: 1409

how clever is Dstage supposed to be?

Hi Guys It's been a while. :D I have records going into a transformer and then split either of two ways, one to LN_BSNS and the other to LN_PERSONAL. More often than not, there are no records going down to LN_PERSONAL which in turn does a inner JOIN to a fairly large Dataset. My question is this - s...
by SBSA_DW2
Mon Dec 06, 2010 11:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Avoid Rouding Off in Parallel Job, 7.5.2 version
Replies: 3
Views: 3344

you may want to do a search on this environment variable: APT_DECIMAL_INTERM_ROUND_MODE

APT_DECIMAL_INTERM_ROUND_MODE
Specifies the default rounding mode for any decimal intermediate
variables required in calculations. The default is round_inf.
by SBSA_DW2
Wed Nov 10, 2010 10:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Derivation OK, Compiled code not OK
Replies: 3
Views: 2046

I changed the code from function (removing code not impacting post): If Num(Trim(linkname.column_1,'"',"A")) = 1 Then Trim(linkname.column_1,'"',"A") : "000" Else something other code here : "000" To Trim(linkname.column_1,'"',"A") : &...
by SBSA_DW2
Wed Nov 10, 2010 3:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Derivation OK, Compiled code not OK
Replies: 3
Views: 2046

Derivation OK, Compiled code not OK

Hi guys I experienced a strange error today, but managed to fix it by excluding the piece of code generating the error. I am getting source data that I test whether it's a number using the Num function (removing code not impacting post): If Num(Trim(linkname.column_1,'"',"A")) = 1 The...
by SBSA_DW2
Fri Oct 15, 2010 4:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Join Key column data type decision
Replies: 1
Views: 1319

Join Key column data type decision

Hi Guys I'm trying to decide if we are overusing varchar data types when doing joins/lookups in Datastage. In 99% of situations we cast data to same varchar types and lengths before doing a join, merge, lookup etc. It may be we're not experienced in using decimals/integers etc, but my real question ...
by SBSA_DW2
Fri Sep 17, 2010 6:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input record sequence number
Replies: 21
Views: 10472

sequence number

recieved this code, hope it helps:

Code: Select all

(1 + @INROWNUM + MOD(@PARTITIONNUM, @NUMPARTITIONS)) + ((@INROWNUM -1) * (@NUMPARTITIONS -1))
by SBSA_DW2
Thu Sep 16, 2010 5:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: referencing remote hash files
Replies: 2
Views: 1959

thanks Ray
by SBSA_DW2
Thu Sep 16, 2010 2:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: referencing remote hash files
Replies: 2
Views: 1959

referencing remote hash files

Hi Guys Normally we would just run the before job subroutine "CLEAR.FILE HASHFILENAME" to clear a hash file in the current project. We have a scenario where we are reading and writing to the same hash file in the same job (aggregating), but need to clear the file before the job runs. The p...
by SBSA_DW2
Mon Aug 23, 2010 6:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: "Unrecognized SQL statement" - UNION ALL
Replies: 3
Views: 2378

turns out there was a syntax error or something that caused the error to appear! :oops:
by SBSA_DW2
Wed Aug 11, 2010 5:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: "Unrecognized SQL statement" - UNION ALL
Replies: 3
Views: 2378

"Unrecognized SQL statement" - UNION ALL

Hi there Is there a known issue when using UNION ALL in the teradata API stage? We have a piece of code: SELECT BLAH, BLAH2 UNION ALL SELECT BLAH3, BLAH4 UNION ALL... (45 UNION ALL statements) that returns a fatal error "Unrecognized SQL statement". We've removed the UNION ALL statements (...
by SBSA_DW2
Wed Aug 04, 2010 1:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to reject data using the join stage
Replies: 2
Views: 2807

Do a left join and bring in the key columns from the RIGHT table/source. Set up a transformer or filter after the join and send data where the RIGHT table/source columns are NULL down the reject link. These will be the rows that did not match to the RIGHT table/source I think i have it right... or i...
by SBSA_DW2
Mon Jun 28, 2010 7:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal Scale on Calculation
Replies: 4
Views: 2215

the setting mentioned is:

APT_DECIMAL_INTERM_SCALE
Specifies the default scale value for any decimal intermediate
variables required in calculations. Default value is 10.
(page 6-14 of the parallel job advanced user guide)
by SBSA_DW2
Mon Jun 28, 2010 6:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trimming XML Output for MQ
Replies: 1
Views: 1311

Trimming XML Output for MQ

Hi Guys I'm on the verge of finally cracking an XML to MQ problem. Now I need to call ont eh experts :D Steps followed: 1. Created job that creates XML. finished OK 2. Amended job to take XML and write out to MQ stage.. I have one column (the XML) coming from XMLOutput to MQ stage. The data type is ...
by SBSA_DW2
Tue Jun 15, 2010 12:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Does a messy table definition repository affect performance?
Replies: 4
Views: 2047

thanks for the responses - i'll feedback to the team.
by SBSA_DW2
Mon Jun 14, 2010 5:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Does a messy table definition repository affect performance?
Replies: 4
Views: 2047

Does a messy table definition repository affect performance?

Hi Is there a relationship between the number fo table definitions in the repository and the impact on performance of the jobs? I can think that the repository which stores everything will be impacted and that at a minimum job start-up time will be impacted, but will the runtime of a job be impacted...