Search found 38 matches

by loe_ram13
Thu Apr 10, 2008 9:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple Delimiters and Pivot
Replies: 4
Views: 2495

That's because you are re-opening the file (and thus positioning to beginning of file) within the loop. Open the file before you start the loop and don't forget to close the file (which releases th ... I do not have rights to view the Premium content. It would be really kind if you post the same as...
by loe_ram13
Wed Apr 09, 2008 11:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple Delimiters and Pivot
Replies: 4
Views: 2495

Multiple Delimiters and Pivot

Hi!! I have a source feed in the following pattern: INFILE ============ COL1,COL2,COL3,COL4,COL5 987,2,3~7~5,400~468~598,0005~4687~5980 1111,2,2~7,400~468,0005~897 The file is mainly delimited by comma(,). Further in COL3,4&5 it has subdelimiter as tilde(~) Further within COL3,4 &5 no of ~ m...
by loe_ram13
Tue Mar 04, 2008 2:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Populating sysdate using column generator
Replies: 3
Views: 1142

I thought I could do that once as well, but the column generator doesn't work that way, so I ended up reverted to using a transform stage in PX and getting the system date and time "the olde way". ... If I use datatype as date then in generator there is an option of "Use Current Date...
by loe_ram13
Tue Mar 04, 2008 12:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Populating sysdate using column generator
Replies: 3
Views: 1142

Populating sysdate using column generator

HI, In my server job ,using transformer stage I used to derive the system date by using @DATE & @TIME system variables. In my parallel job,I want to do the same using column generator (i.e. without using transformer stage). I need to set the default value of the generated column to sysdate. Is t...
by loe_ram13
Tue Nov 13, 2007 9:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing a List of Values Into SQL as Parameter
Replies: 19
Views: 11183

I got the solution. Instead of using $ReturnValue, I used $CommandOutput Thanks for your help. Gateleys: The SQL is fine...thinks are running fine now... --dtatem dtatem, since your problem has been addressed, can you please mark the post as 'Resolved'? And, may be help our friend loe_ram13 with his...
by loe_ram13
Tue Nov 13, 2007 4:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing a List of Values Into SQL as Parameter
Replies: 19
Views: 11183

Re: Passing a List of Values Into SQL as Parameter

Dear dtatem, I followed the steps specified below. In Output of Execute Command stage, I get two data: Reply=0 Output from command ====> xyz(this is the required data). My problem is how do i pass this output as specified in step 5 of the Quote?? Pls help. Thanks in advance Good Day: I have a server...
by loe_ram13
Tue Nov 13, 2007 4:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing a List of Values Into SQL as Parameter
Replies: 19
Views: 11183

Re: Passing a List of Values Into SQL as Parameter

Dear dtatem, I followed the steps specified below. In Output of Execute Command stage, I get two data: Reply=0 Output from command ====> xyz(this is the required data). My problem is how do i pass this output as specified in step 5 of the Quote?? Pls help. Thanks in advance Good Day: I have a server...
by loe_ram13
Tue Nov 13, 2007 4:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing a List of Values Into SQL as Parameter
Replies: 19
Views: 11183

Re: Passing a List of Values Into SQL as Parameter

Dear dtatem, I followed the steps specified below. In Output of Execute Command stage, I get two data: Reply=0 Output from command ====> xyz(this is the required data). My problem is how do i pass this output as specified in step 5 of the Quote?? Pls help. Thanks in advance Good Day: I have a server...
by loe_ram13
Tue Nov 13, 2007 4:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing a List of Values Into SQL as Parameter
Replies: 19
Views: 11183

Re: Passing a List of Values Into SQL as Parameter

Dear dtatem, I followed the steps specified below. In Output of Execute Command stage, I get two data: Reply=0 Output from command ====> xyz(this is the required data). My problem is how do i pass this output as specified in step 5 of the Quote?? Pls help. Thanks in advance Good Day: I have a server...
by loe_ram13
Wed Jul 18, 2007 11:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extacting a very large volume of data
Replies: 1
Views: 499

Extacting a very large volume of data

Dear All, I have a monthly job that extracts data from table whose volume is very huge around 300 crore records totally & 60 columns. I have to extract 15 columns from that table and also have a group by clause in it to find the count of each person who has called more than 3 times. My present q...
by loe_ram13
Wed Jun 06, 2007 1:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: about passing parameters dynamically
Replies: 10
Views: 3245

Call the job from a sequence and pass the table name as parameter and pass this as parameter from the sequence : 'x_' : '2007-05-06'[3,2] : if RDATE[6,2] = '10' Then 'J' Else if RDATE[6,2] = '11' Then 'K' Else if RDATE[6,2] = '12' Then 'L' Else Ereplace(Convert("123456789", "ABCDEFGH...
by loe_ram13
Tue Jun 05, 2007 11:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: About Oconv & Iconv
Replies: 9
Views: 3186

Iconv() doesn't need the format but, if given, it must be right. You have omitted "A" for the month. Oconv(Iconv(ToT1.START_DATE,"D-DMY[2,A3,2]"),"D-YMD[ ...[/quote] My transformation logic is: Oconv(Iconv(ToT1.START_DATE,"D-DMY[2,A3,2]"),"D-DMY[2,2,4]")...
by loe_ram13
Tue Jun 05, 2007 10:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: about passing parameters dynamically
Replies: 10
Views: 3245

If you have all the dates stored in a file then use this code in batch datefile=filename with fullpath Openseq <datefile> to <tempfile> ReadSeq Rec from <tempfile> else eof=1 Loop Until eof ipdate=Field(Rec, "|", 1) 'call the job and pass ipdate as parameter to it' Repeat WEOFseq <tempfil...
by loe_ram13
Tue Jun 05, 2007 12:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: about passing parameters dynamically
Replies: 10
Views: 3245

what i get from ur question is that u want to create table based on the i/p values... What u have to do is to use some parameter say "ipdate" and pass it to target stage where you can have ur table creation query and ur query will look smthg like: Create table #ipdate# <column name> <col ...
by loe_ram13
Mon Jun 04, 2007 2:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: hash file
Replies: 3
Views: 785

ray.wurlod wrote:Beware of the terminology. It's hashed file, therefore it's hashed lookup.
The hashing algorithm used in lookup is the one that is specified for the hashed file. There are two choices ...
How are GENERAL & SEQ.NUM different??
Can u elaborate a little??
Thanks in advance...