Search found 77 matches

by MOHAMMAD.ISSAQ
Wed Feb 13, 2008 6:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Buffer out error
Replies: 6
Views: 1387

Buffer out error

There is one user defined Merge routine is present in my job. When i'm running the job at the this point(Merge routine) it's throwing an error as "nls_map_buffer_out() - NLS". I think there is no space in the buffer, i've to clear the buffer. If this is the reason then could anyone pls tel...
by MOHAMMAD.ISSAQ
Wed Feb 13, 2008 12:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data is not in order in Hash file.
Replies: 10
Views: 2663

Thanks for the help
by MOHAMMAD.ISSAQ
Tue Feb 12, 2008 9:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data is not in order in Hash file.
Replies: 10
Views: 2663

Data is not in order in Hash file.

I'm extracting data from .csv file and putting it into a hash file.
I'm just doing direct mapping.I've input key column values as 1 to 100.

But in output the value of key column are not in the same order as that of input.

Pls help me out..




Thanks in advance
by MOHAMMAD.ISSAQ
Tue Feb 12, 2008 7:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Pre-load file to memory-- HASHFILE STAGE
Replies: 9
Views: 4290

Can anyone tell me what's the difference between hash "ed" file and "hash" file?
by MOHAMMAD.ISSAQ
Mon Feb 11, 2008 11:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Merging columns into single
Replies: 3
Views: 1243

Merging columns into single

I have one input file around 2000 fixed width columns.I have to search text from this columns. Directly i can't search from multiple columns, so i thought of merging all columns into one single column.This i'm doing by using a ":" operator in stage variable. E.g: col1(5) col2(2) col3(3) St...
by MOHAMMAD.ISSAQ
Fri Feb 08, 2008 6:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: After job subroutine
Replies: 7
Views: 2491

I think you're calling "DSLogFatal" function.This function never return to the before/after sub routine.It's better if you used "DSLogWarn".
by MOHAMMAD.ISSAQ
Mon Feb 04, 2008 8:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: to find the min value
Replies: 2
Views: 693

First you can sort the columns in ASC giving priority to 1st col and then 2nd. After sorting consider your target file as Hash lookup. Output.Col1=AfterSort.Row_Id Output.Col2=VarRowTemp Where VarRowTemp is :- "If VarRowPrev <> VarRowCurr Then AfterSort.Row_Val Else "N"" VarRowPr...
by MOHAMMAD.ISSAQ
Mon Feb 04, 2008 6:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CONVERSION
Replies: 6
Views: 2223

You can use "Left" function or "Substring".

If you're not sure of the length of the date format i,e. DD/MM/YYYY(10 Characters) or YYYYMMDD(8 Characters) then you can do like this:


Output:- Left(DSLink8.TIMESTAMP,Index(DSLink8.TIMESTAMP,' ',1))
by MOHAMMAD.ISSAQ
Thu Jan 31, 2008 11:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file
Replies: 4
Views: 2105

Sorry the previous reply had some junk characters.

You can do like this:-

Output.Col1=Input.Col1[1,3]
Output.Col2=Input.Col1[4,len(Col1)]
Output.Col3=Input.Col2
by MOHAMMAD.ISSAQ
Thu Jan 31, 2008 11:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file
Replies: 4
Views: 2105

You can do like this:-

Output.Col1=Input.Col1[1,3]
Output.Col2=Input.Col1[4,len(Col1)]
Output.Col3=Input.Col2[/quote][/list]
by MOHAMMAD.ISSAQ
Thu Jan 31, 2008 9:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Appending Multiple column names
Replies: 3
Views: 1222

Thanks ray for suggestion.
I found one solution for copying column names.
If we create one sequential file job and "include column name as header" we'll get all the columns names.
by MOHAMMAD.ISSAQ
Thu Jan 31, 2008 8:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Duplicate count
Replies: 12
Views: 4093

You can also do by using a hash look up and using the same lookup job as reference in the same job itself.
by MOHAMMAD.ISSAQ
Thu Jan 31, 2008 8:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Appending Multiple column names
Replies: 3
Views: 1222

Appending Multiple column names

I'm using DS server 7.1 version on Unix environment. I want to append multiple coulmn names into a single. Say for e.g: Input Col Output Col a e b c d where the value of e=a:b:c:d Since in Input have nearly 2000 columns it's a daunting task to append the column names. Can anybody suggest me a simple...
by MOHAMMAD.ISSAQ
Wed Jan 30, 2008 6:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Delete rows before inserting
Replies: 4
Views: 2575

You can do by selecting the option "Clear the table and then Insert rows" in DB2 stage