Kolusu,
That is an awesome solution. It is so quick and I got expected results in a short while.
I apologize for the delay in reply. But it saved me a lot of time as I was in the midst of implementation and had to come up with quick solution.
Thanks a lot for all your help!
Thanks,
Nachi
Search found 22 matches
- Fri Jun 26, 2009 1:29 am
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Multiple spliced records for each match in 2 files
- Replies: 10
- Views: 15543
- Thu Jun 18, 2009 9:04 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Multiple spliced records for each match in 2 files
- Replies: 10
- Views: 15543
In this same context, my input is 14 million rows and I have 25 max duplicate keys. This join multiplies 14 million with 25 which will be a huge number of rows in the temp. I tried running it but with no surprise my SORT job went down due to size limitations. Is this is the only solution for this sc...
- Wed Jun 17, 2009 10:18 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Multiple spliced records for each match in 2 files
- Replies: 10
- Views: 15543
- Tue Jun 16, 2009 9:15 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Efficiency in using DFSORT/ICETOOL
- Replies: 1
- Views: 3623
Costa, In my personal opinion and experience, I say that both COBOL or EZTRIEVE program when compared with DFSORT/ICETOOL got more or less the same performance. Advantage in going with DFSORT is its ease of developement (as you already mentioned) and maintenance (no compile required for any requirem...
- Tue Jun 16, 2009 9:06 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: How to sort an input file with a space
- Replies: 3
- Views: 5022
- Mon Jun 15, 2009 11:49 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Multiple spliced records for each match in 2 files
- Replies: 10
- Views: 15543
- Fri Jun 12, 2009 9:09 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Multiple spliced records for each match in 2 files
- Replies: 10
- Views: 15543
- Fri Jun 12, 2009 9:06 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Multiple spliced records for each match in 2 files
- Replies: 10
- Views: 15543
Multiple spliced records for each match in 2 files
I wish to write multiple records by matching 2 files which has the same key. For example, IN1 NACHI MAT FRANK MAT IN2 MAT STG MAT SAS I want the output to look like NACHI MAT STG NACHI MAT SAS FRANK MAT STG FRANK MAT SAS Read the first record, and find for the key in pos (7,3) is in (1,3) of file 2....
- Thu May 21, 2009 1:44 am
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Sort Format Comma separated values
- Replies: 6
- Views: 10592
- Thu May 21, 2009 12:36 am
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Sort Format Comma separated values
- Replies: 6
- Views: 10592
Frank, I have another question. If I have to eliminate few records while writing to output, how can that be done. For example: Input: FB 80 ROBYN ARIAS,QTR2:05-19-2009,1,PROG1,LINE1, NACHI KATHIR,QTR2:05-20-2009,2,PROG2,LINE2, SOLAI SAKTHI,QTR2:05-21-2009,1,PROG3,LINE3, If I need only records which ...
- Wed May 20, 2009 9:43 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Sort Format Comma separated values
- Replies: 6
- Views: 10592
- Wed May 20, 2009 9:08 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Sort Format Comma separated values
- Replies: 6
- Views: 10592
Sort Format Comma separated values
Hi, I have a comma separated file which needs formatting before loading into a DB2 table. A new value needs to be introduced between 2 fields. Example: Input file (LRECL 80, FB): ROBYN ARIAS,QTR2:05-19-2009,PROG1,LINE1, NACHI KATHIR,QTR2:05-20-2009,PROG2,LINE2, SOLAI SAKTHI,QTR2:05-21-2009,PROG3,LIN...
- Thu Apr 30, 2009 6:35 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: ICETOOL - Sort results in different order of records. Why?
- Replies: 4
- Views: 7962
- Wed Apr 29, 2009 4:06 am
- Forum: DFSORT , ICETOOL & Utilities
- Topic: ICETOOL - Sort results in different order of records. Why?
- Replies: 4
- Views: 7962
- Wed Apr 29, 2009 2:45 am
- Forum: DFSORT , ICETOOL & Utilities
- Topic: ICETOOL - Sort results in different order of records. Why?
- Replies: 4
- Views: 7962
ICETOOL - Sort results in different order of records. Why?
I wish to sort an input file of LRECL 357 on position 19, length 7 which is a packed decimal. Input file contains 300,000 records. Records having same value (as example) are located at 33777, 33835, 138230 and 252826 lines. When I execute the sort, the order became 252826, 33777, 33835, 138230 Now I...