View previous topic :: View next topic
|
Author |
Message |
pretty Currently Banned New User
Joined: 13 Mar 2006 Posts: 6
|
|
|
|
What's INREC and OUTREC in SORT
WARNING: TITLE EDITED |
|
Back to top |
|
|
yogeswariumapathy
New User
Joined: 14 Sep 2005 Posts: 4
|
|
|
|
Hi there
The main diff between inrec and outrec is:
inrec adds/del/formats the fields before the records are sorted.
outrec adds/del/formats the fields after the records are sorted
Sample Example using INREC:
Code: |
//SYSIN DD *
INREC FIELDS=(7:2,5)
SORT FIELDS=(7,5,CH,A)
/*
|
Reformats the input record.moves the field in the 2 position of length 5 to the seventh position. sorts the reformatted record.
if u still have any doubts you can raise your doubt.
regards,
yogeswari |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
pretty,
See Chapters 5 and 6 in "z/OS DFSORT: Getting Started". You can access it and all of the other DFSORT books online at:
Use [URL] BBCode for External Links
In fact, if you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. |
|
Back to top |
|
|
|