View previous topic :: View next topic |
Author |
Message |
Vish Beginner
Joined: 17 Sep 2003 Posts: 21 Topics: 9 Location: Mumbai India
|
Posted: Wed Sep 17, 2003 4:35 pm Post subject: Difference between INREC and OUTREC in SORT |
|
|
Hi Friends,
What is the exact difference between INREC and OUTREC statements in SORT ?
Thanks,
Vish |
|
Back to top |
|
|
Frank Yaeger Sort Forum Moderator
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
|
|
Back to top |
|
|
Vish Beginner
Joined: 17 Sep 2003 Posts: 21 Topics: 9 Location: Mumbai India
|
Posted: Wed Sep 17, 2003 9:13 pm Post subject: |
|
|
Hi Frank Yaeger,
Thanks a lot for your quick response.
Thanks a million
Vish _________________ Vish |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Thu Sep 18, 2003 5:44 am Post subject: |
|
|
vish,
For SORT FIELDS=COPY,there is no difference between INREC and OUTREC. For a sort or merge, the INREC statement is processed BEFORE sorting or merging occurs whereas the OUTREC statement is processed AFTER sorting or merging occurs.
In simple terms INREC is the layout that you want the sort program to process. OUTREC is the layout which you want to get from the sort program.
Hope this helps...
cheers
kolusu |
|
Back to top |
|
|
Frank Yaeger Sort Forum Moderator
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
|
Posted: Thu Sep 18, 2003 9:50 am Post subject: |
|
|
Quote: | For SORT FIELDS=COPY,there is no difference between INREC and OUTREC. |
True, unless BOTH INREC and OUTREC are used. _________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort |
|
Back to top |
|
|
|
|