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

Why data access is faster in RRDS


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

New User


Joined: 20 Nov 2005
Posts: 19

PostPosted: Tue Jan 03, 2006 11:25 pm
Reply with quote

Hi All,
In comparison to ESDS and KSDS why data access is faster in
RRDS?????

Thanks & Regards.
Sand.
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Wed Jan 04, 2006 11:40 am
Reply with quote

Hi Sand,

When compared to ESDS and KSDS, RRDS is faster since the RRN is alternative reason and in RRDS the entire data set is a string of fixed length slots. Record in an RRDS may be inserted,retrived,updated and deleted both sequentially and randomly. In general RRDS is like a Direct File.
Back to top
View user's profile Send private message
sand
Warnings : 1

New User


Joined: 20 Nov 2005
Posts: 19

PostPosted: Mon Jun 19, 2006 3:40 am
Reply with quote

Hi All,

Suppose ESDS/RRDS/KSDS all 3 files are having same 10 records.
I want to get the 5th record (for KSDS by the key value/for RRDS by the RRN/for ESDS by RBA).Which file will access the 5th record faster & how????????

Thanks
Sand.
Back to top
View user's profile Send private message
dpkeee

New User


Joined: 19 Jun 2006
Posts: 2

PostPosted: Mon Jun 19, 2006 7:14 am
Reply with quote

Hi,

I have a vsam file, with key as store po and store name.
I know only the store PO.
So i want to use partial key concept of vsam files to do it. Can any body tell me where can i get the code for this.

Thanks,
dpkeee
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Tue Jun 20, 2006 4:40 pm
Reply with quote

Sand,

Quote:
Which file will access the 5th record faster & how????????


By practical we will be using KSDS & RRDS only. Mostly the familiar one is KSDS with most of the users. SO as per me i think there may be bit difference i dont think there will be much diff in time so when compared to that KSDS will do. The speed of record fetching for 10 rec is not a matter . When we go for millions of records the speed talks. KSDS will do..... icon_smile.gif but i m not sure.
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 Store the data for fixed length COBOL Programming 1
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts How to access web services/website? Mainframe Interview Questions 4
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top