Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
What's INREC and OUTREC in SORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: What's INREC and OUTREC in SORT
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    Post subject:
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 Moderator


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

PostPosted: Fri Nov 10, 2006 10:10 pm    Post subject:
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:

www.ibm.com/servers/storage/support/software/sort/mvs/srtmpub.html

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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts To remove spaces from a VB file using... Selvarajars DFSORT/ICETOOL 2 Thu Jun 21, 2018 6:57 pm
This topic is locked: you cannot edit posts or make replies. To remove spaces in a variable length... Selvarajars JCL & VSAM 1 Thu Jun 21, 2018 1:07 pm
No new posts OUTREC OVERLAY different to INCREC ge... Joerg.Findeisen SYNCSORT 8 Fri Apr 27, 2018 2:11 am
No new posts Sort numeric fields with trailing spaces sancraig16 SYNCSORT 7 Tue Apr 03, 2018 1:21 am
No new posts Find & Replace string in CA-SORT mrgnndhmk CA Products 1 Fri Mar 30, 2018 12:58 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us