Search found 102 matches

by satya99
Fri Nov 30, 2007 10:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: position and count
Replies: 6
Views: 1695

Sorry, no. Read the help for the Count() function. Or better yet, build a test harness routine in the Manager and try it out for yourself. ... ok, let me put in this way for example i have string "aaa bbb ccc dd ee ff" what i am expecting is a count of 6 in other words aaa bbb ccc dd ee 1...
by satya99
Fri Nov 30, 2007 10:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: position and count
Replies: 6
Views: 1695

chulett wrote:How to count number of substrings in a string? Count()
How to find the starting position of the string? Index() ...
It give the number of charecters not the number of substrings
by satya99
Fri Nov 30, 2007 9:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: position and count
Replies: 6
Views: 1695

position and count

How to count number of substrings in a string?
How to find the starting position of the string?

ex:"How to count number of substrings in a string"

Thanks in advance
by satya99
Wed Oct 10, 2007 2:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sort
Replies: 2
Views: 1378

sort

Job design

seq1------|
seq2------|------->linkcollector-->seq4--->sortstage--->seq5
seq3------|


I am sorting the data by key column,i am expecting to get the data in sorted format but When i look at the data in seq5 the key column values are same.

any ideas
by satya99
Sun Sep 16, 2007 8:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: look up
Replies: 4
Views: 1156

Re: look up

From lookup. Hi, Lookup data (Hashed File) 123456@10@b 123456@00@c Source data ( Hashed file) 123456@00@c I need to delete both the records from hash file if the first 6 positions are same. Any advice. Thanks in advance Hello HELLO (God!! I feel stupid), Delete both records from WHICH hashed file? Y...
by satya99
Fri Sep 14, 2007 11:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: look up
Replies: 4
Views: 1156

look up

Hi,

Lookup data (Hashed File)

123456@10@b
123456@00@c

Source data ( Hashed file)

123456@00@c

I need to delete both the records from hash file if the first 6 positions are same.

Any advice.

Thanks in advance
by satya99
Thu Sep 06, 2007 10:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Run multiple instances of Server jobs?
Replies: 3
Views: 1394

Job Properties 1. Check the box -- Allow Multiple instance 2. Set the Parameters as below: Parameter name Prompt Type Default Value BeginRec Enter Begin Row string 1 EndRec Enter End Row String 30000 BeginRec1 Enter Begin Row string 30001 EndRec1 Enter End Row String 60000 ... 3. When we set it to m...
by satya99
Tue Aug 28, 2007 1:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Mod 10 Check Routine
Replies: 9
Views: 3855

1. First check for the credit card number(CC_NO)

sv1 If LEN(Trim(CC_NO,' ','A')) = 16 Then @True Else @False

2. Then check for mod 10.

sv2 If Mod(Trim(CC_NO,' ','A'),10) = 0 Then @True Else @False

3. Constraints sv1 and sv2

Good Luck
by satya99
Tue Aug 28, 2007 12:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: accesing hashfile -doubt
Replies: 9
Views: 4015

It should not be problem, if you are accessing it.

Can you go a head and give more information.
by satya99
Mon Aug 27, 2007 2:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: date manipulation
Replies: 12
Views: 3835

date manipulation

Try this logic:

Create three stage variable

sv1 Iconv("01/03/1968", "D2/")
sv2 (@DATE - sv1)/365
sv3 IF sv2 > 16 AND sv2 < 85 Then @True else @False

Good luck
by satya99
Tue Jul 24, 2007 11:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hashed file size
Replies: 6
Views: 3636

Hashed file size

Hi,

Is there any Universe query to find out Hashed file size in terms of GB.

Thanks in advance.
by satya99
Fri Jun 22, 2007 1:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: insert or update
Replies: 1
Views: 729

insert or update

Hi,

I am using a ORAOCI9 stage, where i am performing an insert and update, my understanding is we can know how many rows are inserted are updated.

Is there a way to know in a particular row which column is updated
or
which row is inserted.

Thanks in advance.
by satya99
Fri May 18, 2007 11:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sequential file location
Replies: 3
Views: 881

DSguru2B wrote:Use the query in this link. This will give you the job name which will create and read this file. If you just want the job name that will create the file then remove 'CSeqOutput' from the query.
I am not sure how to implement this, can let me know where i need to write this query.

Thanks
by satya99
Fri May 18, 2007 10:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sequential file location
Replies: 3
Views: 881

sequential file location

Hi,

How can we know which job is going to create a particular sequential file.


Thanks
by satya99
Wed May 16, 2007 2:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Blanks/Null Values in the date field
Replies: 9
Views: 4049

TRY THIS

I didn't get your point. you said Trim() never removes the last of any set of internal spaces. But Trim(Link.Column," ","A")="" can removes the internal spaces right???......Thats the reason I used it in my Jobs..... If not Please explain. Thanks in advance. If ISNULL(...