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

Whats the major difference between inrec and outrec function


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

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Wed Mar 01, 2006 9:19 am
Reply with quote

whats the major difference between inrec and outrec functions in sort???
when we need to reformat a file and do a sort of the reformatted file which function needs to be used.
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: Wed Mar 01, 2006 8:59 pm
Reply with quote

INREC and OUTREC have the same functions. The difference is that INREC is processed before sort, merge or copy and OUTREC is processed after sort, merge or copy. Use INREC to reformat a file and then do a sort of the reformatted file.

The following figure describes the order in which DFSORT statements are processed:

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA10/FIGSTMTSEQ?SHELF=&DT=20050222160456&CASE=&ScrollTOP=FIGSTMTSEQ#FIGSTMTSEQ
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts FUNCTION ADD-DURATION COBOL Programming 11
No new posts Simplify SORT CARD to combine INREC a... DFSORT/ICETOOL 6
No new posts Difference between joblib and steplib JCL & VSAM 2
No new posts Pull data using date difference betwe... DB2 6
No new posts Difference between PLT txn and schedu... CICS 3
Search our Forums:


Back to Top