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

Can we sort RRDS files in cobol


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shri_shant

New User


Joined: 26 Oct 2005
Posts: 16

PostPosted: Fri Oct 28, 2005 11:02 am
Reply with quote

Can we sort RRDS files in cobol ?
Back to top
View user's profile Send private message
Prasanthhere

Active User


Joined: 03 Aug 2005
Posts: 306

PostPosted: Fri Oct 28, 2005 11:38 am
Reply with quote

When you sort a RRDS file using SORT KEY, File Manager sorts the RRDS into VSAM SLOT sequence. The SLOT number is a unique number that the VSAM access method allocates for each record. If the records of the RRDS file have been re-ordered by moving records via a move (M, Mn, or MM) prefix command or SORT primary command, SORT KEY re-orders the records as they were when the file was opened. However, when you add records using insert (I or In), copy (C, Cn, or CC), or repeat (R, Rn, RR, or RRn) prefix commands, the new records do not have a SLOT number assigned as the file is still in memory. In this case, SORT KEY re-orders the new records at the bottom of the file.

publib.boulder.ibm.com/infocenter/pdthelp/v1r1/index.jsp?topic=/com.ibm.filemanager4.doc/base/sortcmd.htm
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Joining files with intermittent heade... SYNCSORT 1
No new posts Alternative of JoinKeys in SORT DFSORT/ICETOOL 2
No new posts INPFIL FILES, FNAMES examples SYNCSORT 7
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sort SMF records? SYNCSORT 6
Search our Forums:


Back to Top