pretty Currently Banned New User Joined: 13 Mar 2006 Posts: 6
What's INREC and OUTREC in SORT
WARNING: TITLE EDITED
yogeswariumapathy New User Joined: 14 Sep 2005 Posts: 4
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:
//SYSIN DD *
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.
Frank Yaeger DFSORT Moderator Joined: 15 Feb 2005 Posts: 7130 Location: San Jose, CA
See Chapters 5 and 6 in "z/OS DFSORT: Getting Started". You can access it and all of the other DFSORT books online at:
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.
All times are GMT + 6 Hours