Search found 195 matches

by talk2shaanc
Tue Oct 24, 2006 8:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job running long: Changed Seq file to Dataset
Replies: 18
Views: 6243

add env variable APT_NO_SORT_INSERTION= true as job parameter and test ur job...with partition as "same" thru all the stages
by talk2shaanc
Tue Oct 24, 2006 6:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data is getting rejected at lookup.
Replies: 9
Views: 3300

u didnt get my msg..assuming field colA has length 5 on the table. Now while loading the table, there must be some formatting standard..(e.g., for char fields ..trim leading and trailing spaces, then left justify the column and fill the remaining bytes with spaces "abc ")...now u have a re...
by talk2shaanc
Tue Oct 24, 2006 1:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data is getting rejected at lookup.
Replies: 9
Views: 3300

If I were you, I would have made the columns of same length, by doing formatting (like trimming, left justify space filled) for both LOOK-UP and MAIN Stream. Before bringing it to look-up stage.
by talk2shaanc
Tue Oct 24, 2006 1:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rule of Thumb on Runtime Column Propagation
Replies: 15
Views: 14062

My understanding on the subject is: Assuming I have 50 columns and I have 10 stages in my DS job (with stage 1 as input file stage and stage 10 as output file and 2-8 are some intermediate stages) . Out of 50 I am using only 10 columns for some logic and rest 40 columns are straight move. In such si...
by talk2shaanc
Tue Oct 24, 2006 1:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: warnings with join
Replies: 16
Views: 5224

You have two link going to your Join stage, both the link has "EndProcessingDate" column and this column is not part of "KEY", on which you are joining the two links. Soln: either you drop the column from either of the two link before the join stage itself or change the name of o...
by talk2shaanc
Thu Sep 14, 2006 2:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading or writing the last record to a Sequential File
Replies: 7
Views: 3549

if you want to read the last rows from the source file, you can use "external source" stage and then use unix command to get the last row.
tail -1 /#path#/filename.dat
by talk2shaanc
Thu Apr 06, 2006 7:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Null handling
Replies: 10
Views: 3049

I think you can simply make the field as nullable, in the metadata of all the stages and later while writing the records to a file, you can set a default value in fields properties in sequential file stage.
by talk2shaanc
Thu Mar 16, 2006 8:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rpad in PX
Replies: 3
Views: 1937

There is another way of doing it.

Right('00000000000':<link.column name>,11)
by talk2shaanc
Tue Mar 07, 2006 6:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rpad in PX
Replies: 3
Views: 1937

Rpad in PX

Hi All,
a quick question. How to Right justify and zero fill; a string in PX?
An equivalent of FMT(ColumnName,"11'0'R"), in PX.
I was looking for functions, but couldnt find one. Px has PadString function, but it does Left justification.
by talk2shaanc
Fri Jul 22, 2005 6:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Duplicates in Hash File
Replies: 6
Views: 2141

Re: Duplicates in Hash File

Hi All, How does a hash file handle duplicate records. My understanding is that if a hash file has a key, then a record coming in with the same key overwrites the existing record. If it doesn't have a key, then it keeps the incoming record even though it is a duplicate. But does it make sense to st...
by talk2shaanc
Fri Jul 22, 2005 6:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORA-01089
Replies: 8
Views: 4490

Cause: The SHUTDOWN IMMEDIATE command was used to shut down a running Oracle instance, terminating any active operations.
Action: Wait for the instance to be restarted or contact the database administrator
by talk2shaanc
Fri Jul 15, 2005 11:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data comparison with Mix Case alphabets
Replies: 9
Views: 2215

In short,
for comparison have UPCASE(Src.Name)=UPCASE(Lkp.NAME), but while writing the field, dont do any transformation, simple one to one mapping(do not change case)
by talk2shaanc
Thu Jul 14, 2005 5:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to call a routine inside a ds routine
Replies: 5
Views: 2236

Re: How to call a routine inside a ds routine

Sorry I forgot to write, Var = MyRoutine('2004-01-01') inside a routine. The answer after compile it is "Array MyRoutine never dimensioned." You got the above error while compiling the RoutineB because, you have not specifically given directive to compiler that 'MyRoutine' used in RoutineB...
by talk2shaanc
Thu Jul 14, 2005 5:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to call a routine inside a ds routine
Replies: 5
Views: 2236

say you have routine RoutineA and RoutineB.
RoutineA has 2 arguments, filename and filepath.

Now you want to call RoutineA inside RoutineB.

RoutineB
Deffun RoutineA(A1,A2) calling "DSU.RoutineA"

var1=RoutineA(value1,value2)
------
-------------
----



Return(Ans)
by talk2shaanc
Wed Jul 13, 2005 2:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: writting routinue
Replies: 4
Views: 1302

ysrini9, Could you please give more details, what do u mean by valid? will u be comparing the format for validity or will you be comparing it with some default value? Second part of your question is even more confusing. If possible rephrase your question and explain your requirement with an example....