Search found 127 matches

by Sunshine2323
Wed Jun 01, 2005 11:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: German Character in the files
Replies: 11
Views: 4926

German Character in the files

Hi Reddy,

We had a similar problem when we were trying to load data to SAP for Norwegian Characters.

Using NLS UTF-8 had resolved it.
by Sunshine2323
Wed May 18, 2005 4:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loop in DS (transformer)
Replies: 10
Views: 4208

Hey I have written a job control that can easily do this task. OPENSEQ "/home/dsadm/Input.txt" TO INPUT1 THEN Call DSLogInfo("File Input.txt Opened Successfully.","Generating a Different Sequence") END ELSE ErrorCode = 1 Call DSLogInfo("Error in Openening Input.txt...
by Sunshine2323
Wed May 11, 2005 1:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Eliminating Duplicates in an Excel file
Replies: 13
Views: 7530

Hi Ram, If you use Sort -u then only those records will be considered duplicates in which values for all the columns are duplicated. You can check for the details of this command by doing man sort For Example if your input file looks like this 1,2,3,4 1,1,1,1 4,4,4,4 1,1,1,1 then a sort -u InputFile...
by Sunshine2323
Tue May 10, 2005 9:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Select records where date = maxdate
Replies: 2
Views: 1487

Hi,

You can get your date in this format YYYYMMDD and then pass the data through an Aggregator to find the max date.
by Sunshine2323
Tue May 10, 2005 6:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Catch a null in file & put spaces
Replies: 2
Views: 2366

Hi,

In the LookUp set the property If Not Found - Continue

Then in the transformer you can check for the value of column A in the derivation as

If IsNull(lnkLookUp.ColumnA) Then " " Else lnkLookUp.ColumnA

Hope this helps.
by Sunshine2323
Tue May 10, 2005 5:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Eliminating Duplicates in an Excel file
Replies: 13
Views: 7530

Nice way of earning points without any strong inputs. :P
by Sunshine2323
Tue May 10, 2005 3:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Eliminating Duplicates in an Excel file
Replies: 13
Views: 7530

Hi, There are many ways duplicates can be removed, 1)You can pass the rows through a Aggregator and Group on the keys 2)You can read and write a the same hash file and check for constraints IsNull(Key) in the transformer --------------------Hash File Input File -------Transformer-----------Output Fi...
by Sunshine2323
Sun May 08, 2005 10:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Seq_File
Replies: 12
Views: 4805

Hi, Ya indeed you do not need to sort the data the below logic will work provided the input records arrive in the same order as specified in the question. Also, if that is not the case then sorting will have to be done and a relation between X and Y will have to be established as mentioned earlier b...
by Sunshine2323
Sun May 08, 2005 4:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Seq_File
Replies: 12
Views: 4805

Hi, -k keydef it defines a restricted sort key The format of this defination is field_start[type][,field_end[type]] which defines a key begining at field_start and end at field_start.The characters at field_start and field_end are included in the key field. You can use this option when you have an a...
by Sunshine2323
Sun May 08, 2005 3:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Seq_File
Replies: 12
Views: 4805

Seq_File

Hi,

Why are you not using the SORT STAGE?
by Sunshine2323
Sun May 08, 2005 3:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Remove Blank Spaces
Replies: 1
Views: 750

Hi Ravi, If I have understood your problem correctly then, You have used a Complete Set as the Join Type so If the key does not exist in the any of the input files you will get null values for that key For Example, You have First file Input "Code","Name","Color" "1...
by Sunshine2323
Sun May 08, 2005 1:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Seq_File
Replies: 12
Views: 4805

Hi, If I have understood your requirement correctly You can define a stage variable say StgCheckDup with derivation, if Left(DSLink3.Value,1)='Y' and DSLink3.Sequence<>"001" then if RowProcCompareWithPreviousValue(DSLink3.Sequence) then 1 else 0 else 0 In the output column derivation you c...
by Sunshine2323
Sat May 07, 2005 11:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String Parsing
Replies: 37
Views: 14560

Re: String Parsing

How do I further use the pivot function I am unable to follow. Could you please help on this Hi Varsha, You can use the Convert function to convert all the "&" to "," So after conversion your data will look as follows 1,A=B,C=D,E=F,G=H 2,L=M,G=H Then you can use the pivot to...
by Sunshine2323
Thu May 05, 2005 4:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Function to find string
Replies: 10
Views: 2583

Function to find string

You can also try the COMPARE function :)
by Sunshine2323
Thu May 05, 2005 4:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Array 'DSGetLinkInfo' never dimensioned
Replies: 6
Views: 2578

Array 'DSGetLinkInfo' never dimensioned

$IFNDEF JOBCONTROL.H
$INCLUDE DSINCLUDE JOBCONTROL.H
$ENDIF


Add this to the begining of the code and try compiling.