Search found 5168 matches

by kumar_s
Tue Aug 29, 2006 6:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Header & Trailer Record Warning
Replies: 11
Views: 4343

Code: Select all

head -$(expr $(wc -l filename | awk '{ print $1 }') \- 1) filename | tail +2

Use this in Beforejob subroutine or in FilterCommand in you sequential stage to strip out both header and trailer.
by kumar_s
Tue Aug 29, 2006 5:57 pm
Forum: Site/Forum
Topic: Congrats Craig on your 7000th accomplishment
Replies: 11
Views: 5534

Awesome!!!
Great work with consistent effort. With many smileys. :D
Actual wishes for Homepage count and advance wishes for Actual count. :wink:
by kumar_s
Tue Aug 29, 2006 7:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to write nulls as nulls
Replies: 10
Views: 2744

If you are bothered about additional overhead, use message handler, else use NVL in the database stage to convert the null to a value and nullableFieldValue to convert back the specified value to null.
by kumar_s
Tue Aug 29, 2006 6:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: inserted tsort operator
Replies: 7
Views: 4200

Use the corresponding APT* environmental variable to avoid the auto insertion of sort in the job. The same has been discussed some days back. I belive Balaji was also in parft of it. If an explicit sort stage is not ther ein a a job where a Join stage is used, the job will likely to insert a tsort i...
by kumar_s
Tue Aug 29, 2006 6:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: vertical pivot
Replies: 28
Views: 11560

I dont find any reason to add an additional dummy row. The last row in the group should have all the concatinated value.
by kumar_s
Tue Aug 29, 2006 6:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to write nulls as nulls
Replies: 10
Views: 2744

Server editon Sequential file is more polite in accepting the nulls when it has delimiter.
by kumar_s
Tue Aug 29, 2006 2:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: XML input problem
Replies: 5
Views: 1583

D:/tar/xml/xmlct.xml - Is this the same file you mentioned in both Input XML stage and output XML stage?
by kumar_s
Tue Aug 29, 2006 2:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to view source data
Replies: 10
Views: 2323

Hi Vasu,
You havent mentioned what happened when you run the job alone (without the Jobsequence which holds the $PROJDEF - Which I assuem from your explaination.)
by kumar_s
Tue Aug 29, 2006 2:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: vertical pivot
Replies: 28
Views: 11560

Below is my source, and I need to concatenate col03 based on Col01 and Col02. But I couldnt see any Col2 in your example. If it is simple concatination, you can acheive using transformer. Sort baseded on Col1. Use stage variable to check for repeated value in Col1, and based on that, concatinate th...
by kumar_s
Tue Aug 29, 2006 2:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to write nulls as nulls
Replies: 10
Views: 2744

Also check through out the links including transformer.
Turn off RCP.
Try using NullToValue() and set null again for null values.
What is the datatype?
by kumar_s
Tue Aug 29, 2006 2:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error: The link contains no derivation rules
Replies: 5
Views: 4741

Or the similar option available in Transformer.
I always miss those APT* variable with the given huge list. :evil:
by kumar_s
Tue Aug 29, 2006 2:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to view source data
Replies: 10
Views: 2323

$POJECTDEF - Hope this is given by mistake. It suppose to be $PROJDEF.
Try to run the current job, you can know what's the value of the parameter been passed. By that way you can easlily ensure, whether the project level parameter is been passed.
by kumar_s
Mon Aug 28, 2006 10:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: decimal data type
Replies: 4
Views: 1227

Property of the decimal datatype is to preceed 0's with its field length. If you dont wish to get zero, use number or varchar.
As mentioned, dont bother about view data, check the target data.
by kumar_s
Mon Aug 28, 2006 10:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning while inserting rows to DB2
Replies: 3
Views: 980

Check your delimeter.

Code: Select all

SQLSTATE=22005 WHEN INSERTING DECIMAL VALUE WITH COMMA AS THE DECIMAL POINT
by kumar_s
Mon Aug 28, 2006 10:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error: The link contains no derivation rules
Replies: 5
Views: 4741

Try a run with APT_Combine_Operator = 'FALSE'.