Search found 376 matches

by jerome_rajan
Fri Nov 30, 2012 6:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job runs for a long time and does not complete
Replies: 11
Views: 5786

I'm afraid there's absolutely nothing we can do to help you unless you provide more tangible information. What does your job do? What are its sources/targets. Are you performing joins? The context of your migration activity? Just because you 'NEED' a solution doesn't mean you'll 'GET' a solution if ...
by jerome_rajan
Fri Nov 30, 2012 2:42 am
Forum: General
Topic: Listing Names of All DataStage Jobs
Replies: 2
Views: 1156

Thanks Ray. That worked. I queried the DS_JOBS table to get a list of jobs in a specific folder.
by jerome_rajan
Fri Nov 30, 2012 1:55 am
Forum: General
Topic: Listing Names of All DataStage Jobs
Replies: 2
Views: 1156

Listing Names of All DataStage Jobs

Hi,
Is there a way to list the names all the DataStage jobs in UNIX or otherwise?
Thank You
by jerome_rajan
Tue Nov 27, 2012 4:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Not able to handle Null
Replies: 2
Views: 1380

So you are not sure if those columns from Teradata are actually nulls. First fire a query with a 'where colname is null' in teradata and check if they are really nulls. If they aren't, try extracting the ascii values using the ASCII function in your db. If the values aren't nulls, then they are most...
by jerome_rajan
Mon Nov 26, 2012 6:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: oracle connector stage in datastage 8.1
Replies: 7
Views: 7551

And like you can see in the above diagram, the link on which you define the type of lookup is a reference link!
by jerome_rajan
Mon Nov 26, 2012 6:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: oracle connector stage in datastage 8.1
Replies: 7
Views: 7551

The sparse lookup option will be available to you in the Oracle connector stage only if the connector is directly used as a reference link to the lookup stage. There SHOULD NOT be any intermediate stages between the two else you will not find the sparse lookup option.
by jerome_rajan
Mon Nov 26, 2012 12:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: oracle connector stage in datastage 8.1
Replies: 7
Views: 7551

Are you sure you are linking the Oracle connector directly to the lookup and there is no copy stage between the connector and the lookup?
by jerome_rajan
Tue Nov 20, 2012 11:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string quote clarification
Replies: 1
Views: 804

it won't and it shouldn't. The Quote=double/single merely tells datastage to ignore the character 'IF' present and read from the character after the leading quote character up to and not including the trailing quote. If not present, it just reads all the data. if the quotes are present, then it igno...
by jerome_rajan
Tue Nov 20, 2012 2:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NUM function
Replies: 5
Views: 3636

I don't see the trim applied to the NUM function's parameter in the code you've posted. Kindly post the updated code.
by jerome_rajan
Tue Nov 20, 2012 1:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NUM function
Replies: 5
Views: 3636

Since it's char(19) and you have numbers stored in the column, you may have spaces padded after the number.

Code: Select all

For e.g. '123       ' 

Spaces, or whatever your PADCHAR is, are not valid numeric values. Either change the datatype to varchar or trim the spaces before performing the numeric check.
by jerome_rajan
Tue Nov 20, 2012 12:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: New Line in Date Field
Replies: 10
Views: 3712

So my question was not childish after all :lol:
This might sound childish but when you say \N, you mean the newline character '\n' right?
by jerome_rajan
Mon Nov 19, 2012 3:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting Amount in integer to amount in words
Replies: 8
Views: 2135

See if This helps. You can probably get a custom SQL at your source. This is under the assumption that your database is Oracle. Not too ure whether the SQLs mentioned will work with other DBs
by jerome_rajan
Mon Nov 19, 2012 2:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: New Line in Date Field
Replies: 10
Views: 3712

Try

Code: Select all

If TRIM(Lnk_Src_To_Trf.EXTRNL_RTNG_STRT_DT," ","A") = '' Then SetNull() Else 
 StringToDate(Lnk_Src_To_Trf.EXTRNL_RTNG_STRT_DT,"%yyyy-%mm-%dd")
by jerome_rajan
Mon Nov 19, 2012 2:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: New Line in Date Field
Replies: 10
Views: 3712

This might sound childish but when you say \N, you mean the newline character '\n' right? In my opinion the \n is where it should be. It's a new-line/record delimiter. Your logic might be failing because the new-line character is not a part of the column's data!