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

Can we sort the RRDS file using SORT verb


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
aliasgar
Warnings : 1

New User


Joined: 23 Jan 2007
Posts: 1
Location: Gujarat,India

PostPosted: Mon Feb 05, 2007 11:56 am
Reply with quote

Can we sort the RRDS using SORT VERB???

Warning: Title Edited
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Mon Feb 05, 2007 1:39 pm
Reply with quote

aliasgar wrote:
Can we sort the RRDS using SORT VERB?
Yes, as either filed or variable length, what gives you the idea that RRDS might not be sortable?
Back to top
View user's profile Send private message
prav_06
Warnings : 1

Active User


Joined: 13 Dec 2005
Posts: 154
Location: The Netherlands

PostPosted: Fri Feb 09, 2007 5:58 pm
Reply with quote

Hi Will,
RRDS are records that are stored in structures called as slots, which is identified by RRN , if sorted according to u, the relative positon of these slots would vary according to the sort card , I doubt that this is possible , As far as my knowldge we cannot sort a VSAM file reasons PSB

ESDS ---> RBA would change if sorted, which is not allowed .

KSDS ---> Already sorted (Index )

RRDS ---> RRN would be changed if sorted

Please let me know if u have a different opinion.

Cheer's,

Thamilzan.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top