Search found 230 matches
- Fri Apr 14, 2006 12:21 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Handling Line Terminator's
- Replies: 13
- Views: 3658
If it is variable width , Under the Format tab of sequential file If I specify the delimiter as 013 and Line Termination as UNIX style, then I can see all the LINE's. Actually iam expecting a file with Line Terminator either fixed width or variable width.So,How can i put a Line terminator if I dont ...
- Fri Apr 14, 2006 11:54 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Handling Line Terminator's
- Replies: 13
- Views: 3658
- Fri Apr 14, 2006 10:05 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Handling Line Terminator's
- Replies: 13
- Views: 3658
Handling Line Terminator's
I have a input file which is fixed width of 100.But, sometimes i am receiving it with Line Terminator and sometimes without any Line terminator.How can i handle this?.
I would be grateful If anyone could shed some light on this?.
Thanks in advance.
I would be grateful If anyone could shed some light on this?.
Thanks in advance.
- Mon Mar 13, 2006 7:13 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: intermediate result set required from a recordset
- Replies: 19
- Views: 9435
Hi Sunshine, Yes. you are right.But my requirement is slightly changed and i need to get the 'Col1' value if col2<>4. Thanks for your time. My requirement is for my input record 'a' look for the value in reference data if it finds the key value , then it should check the col2 value=4 or not. If the ...
- Mon Mar 13, 2006 6:03 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: intermediate result set required from a recordset
- Replies: 19
- Views: 9435
- Sun Mar 12, 2006 8:01 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: intermediate result set required from a recordset
- Replies: 19
- Views: 9435
Ray, After reconnecting to the DS client also, i am not getting the expected value.I'm getting result as blank or might be empty space. Am i missing anything here. Thanks for your time. COMMON remains active while you're connected. Hence the error about changing its size. You need to disconnect your...
- Sun Mar 12, 2006 6:20 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: intermediate result set required from a recordset
- Replies: 19
- Views: 9435
- Sun Mar 12, 2006 2:11 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: intermediate result set required from a recordset
- Replies: 19
- Views: 9435
Ray, How can i lodge it in a COMMON?. you mean to say, declaring a variable at COMMON like file variable.If i declare a variable at COMMON, how can i assign the innermost key value to that variable.Please explain me. Thanks in advance for your time. Col1 is Arg at the innermost call. Lodge it in a C...
- Sun Mar 12, 2006 8:30 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: intermediate result set required from a recordset
- Replies: 19
- Views: 9435
Ray, Thank you very much for your help. In the above routine, i want to capture the 'Col1' if Col2<>4.For that, what i did is: Read Rec From HashedFile.fvar, Arg Then Col2 = Rec<1> Col3 = Rec<2> If Col2 = 4 Then Ans = ReadRec(Col3) ; * recursive call Else Ans = Rec<0> But i didn't get the Col1 value...
- Fri Mar 10, 2006 5:25 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: intermediate result set required from a recordset
- Replies: 19
- Views: 9435
Ray, I have one column in my input which is a key, col1 a and My reference link data is col1 col2 col3 a 4 b b 4 c c 4 d d 1 e where col1 is key. My requirement is for my input record 'a' look for the value in reference data if it finds the key value , then it should check the col2 value=4 or not. I...
- Fri Mar 10, 2006 2:55 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Lookup(looping in the ref table)
- Replies: 9
- Views: 4267
- Fri Mar 10, 2006 12:29 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Lookup(looping in the ref table)
- Replies: 9
- Views: 4267
Hi all, Let me put my requirement in this way, Input Data: a,b b,c c,d Output Data should be like a,d b,d c,d Any clues pls. Thanks Naren Provide a DEFFUN declaration that refers to the function itself. DEFFUN MyRoutine(Arg1, Arg2) Calling DSU.MyRoutine Then, within your routine, you can invoke it r...
- Fri Mar 10, 2006 11:56 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: intermediate result set required from a recordset
- Replies: 19
- Views: 9435
Hi I am trying to write the routine to do a recursive lookup to the same hash file.But iam out of luck.Could anyone please help me to write a routine. Thanks in advance. Load the data to a hash file, then write a routine to do a recursive lookup to the same hash file. Recurse until a read fails. The...
- Thu Mar 09, 2006 2:19 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Lookup(looping in the ref table)
- Replies: 9
- Views: 4267
could anyone please shed some light on how to write the recursive routine. Thanks in advance. Naren, this can be done with either a recursive lookup or a loop within a routine. You could chain lookups in a job, but you could only link back one level per lookup - if you know your maximum depth of rec...
- Thu Mar 09, 2006 1:12 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Lookup(looping in the ref table)
- Replies: 9
- Views: 4267
Lookup(looping in the ref table)
Hi, I have a input record like: col1 col2 col3 66 41 55 Ref table data like: col1 col2 col3 Status 66 41 55 1 66 41 56 66 41 56 1 66 41 57 66 41 57 0 66 41 58 What i need to do is, I have to look for the record with 66 41 55 in the ref data and If finds the record then check for the status. If the s...