IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What's INREC and OUTREC in SORT


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pretty
Currently Banned

New User


Joined: 13 Mar 2006
Posts: 6

PostPosted: Fri Nov 10, 2006 1:41 pm
Reply with quote

What's INREC and OUTREC in SORT

WARNING: TITLE EDITED
Back to top
View user's profile Send private message
yogeswariumapathy

New User


Joined: 14 Sep 2005
Posts: 4

PostPosted: Fri Nov 10, 2006 2:35 pm
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Nov 10, 2006 10:10 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
Search our Forums:

Back to Top