Search found 3329 matches

by Sainath.Srinivasan
Thu Aug 06, 2009 5:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Naming a hash file based on the Invocation id
Replies: 8
Views: 2517

In this case, the requirement is a parameter or macro.

If you have a routine or function return value, you have to set it in a parameter and passed to the job.

Alternatively you can work around by re-arranging the data outside.
by Sainath.Srinivasan
Thu Aug 06, 2009 3:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Naming a hash file based on the Invocation id
Replies: 8
Views: 2517

Plagvreugd wrote:but I see no way in using that in the Filename property.
Why can't you use in file name ? apart from the business reasons.
by Sainath.Srinivasan
Thu Aug 06, 2009 3:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Ora 00911
Replies: 25
Views: 13128

And where is the to_date ?
by Sainath.Srinivasan
Thu Aug 06, 2009 2:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI has fetched truncated data--Peoplesoft DataStage
Replies: 9
Views: 11446

vijay.barani wrote:Hi
I am getting the error "OCI has fetched truncated data".I do not have info that on which column it is happening.PLease could anybody crack this??
Did you do what was asked from you ?

Avoid duplicate posting without any effort from your side.
by Sainath.Srinivasan
Thu Aug 06, 2009 2:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI has fetched truncated data--Peoplesoft DataStage
Replies: 9
Views: 11446

If you are not involved in the same job as the initial poster, please start a new thread.

Truncating implies char or varchar. So try removing couple of varchar columns and see when that disappears.

Use the "Process of elimination".
by Sainath.Srinivasan
Thu Aug 06, 2009 2:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Ora 00911
Replies: 25
Views: 13128

Maybe you need a To_Date rather than %DateTimeIn
by Sainath.Srinivasan
Thu Aug 06, 2009 2:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unrecognized argument: ) [argvcheck/argvcheck.C:3832]
Replies: 6
Views: 1844

What happens if you provide two non-empty values. Something like '123','456' - together.
by Sainath.Srinivasan
Thu Aug 06, 2009 2:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: PxEreplace routine issue when calling through datastage
Replies: 11
Views: 10232

Initial looks suggest possible memory allocation problem due to malloc.

Try setting that as result[1000] or your maximum string length.

Alternatively you can use another variable at the end to hold the return value and free the result.

Posted same in FAQ also.
by Sainath.Srinivasan
Thu Aug 06, 2009 2:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Naming a hash file based on the Invocation id
Replies: 8
Views: 2517

You can create the hashed file with a parameter value as its name.
by Sainath.Srinivasan
Thu Aug 06, 2009 1:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Divident by zero
Replies: 27
Views: 6206

You have to look into the TRANS4 lines 109 to 112 to see what operation is being carried out.

My assumption is that you are doing some arithmetic division in a transformer stage in your job.
by Sainath.Srinivasan
Thu Aug 06, 2009 1:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: px version of Ereplace()
Replies: 51
Views: 66640

Initial looks suggest possible memory allocation problem due to malloc.

Try setting that as result[1000] or your maximum string length.

Alternatively you can use another variable at the end to hold the return value and free the result.
by Sainath.Srinivasan
Wed Aug 05, 2009 1:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: metadata in csv import it into datastage
Replies: 4
Views: 5422

How is the column name provided ?

You can import the column names alone as first line being header.
by Sainath.Srinivasan
Wed Aug 05, 2009 1:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: transformer stage compilation error
Replies: 4
Views: 1326

From your initial response, it appers to be compiler configuration issue.

Can you post you compiler setup.
by Sainath.Srinivasan
Wed Aug 05, 2009 1:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Abort a Sequence if the file size is zero
Replies: 4
Views: 1370

Include a command stage with

Code: Select all

test -s <fileName>
and branch depending on the result
by Sainath.Srinivasan
Wed Aug 05, 2009 1:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Case and If statement issue in the sql
Replies: 15
Views: 8075

Your SQL is performing select on the same table in the inner query from which you are selecting the outer query.

What are you planning to achieve ?

Did you try running in db2 query tool itself ?