MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VRRDS Vs RRDS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
naveen
Beginner


Joined: 03 Dec 2002
Posts: 90
Topics: 31

PostPosted: Wed Jan 15, 2003 11:32 pm    Post subject: VRRDS Vs RRDS Reply with quote

How Variable-length RRDS is different from RRDS? (apart from being Variable length)
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Wed Jan 15, 2003 11:53 pm    Post subject: Reply with quote

Naveen,

A VRRDS is similar to a fixed-length RRDS, except that it contains variable-length records. Each record has a unique relative record number, and is placed in ascending relative record number order. Each record is stored and retrieved using its relative record number. VRRDS has no slots. The relative record number of a record cannot change. When that record is
erased, the relative record number can be reused for a new record
. You can specify free space for inserting records and increasing the length of a record. VRRDS is a KSDS processed as an RRDS, so an index will be created.

Fixed-Length RRDS:

  • Records are in relative record number order
  • Records have fixed length
  • Direct access by relative record number
  • Consists of Data component only
  • No Alternate index is allowed
  • A record's relative number cannot be changed
  • Empty slots in the dataset are used for adding records
  • A slot given up by deleted record can be reused
  • No spanned records
  • Extended format is allowed

Variable-Length RRDS:

  • Records are in relative record number order
  • Records have variable length
  • Direct access by relative record number
  • Consists of Data and Index components
  • No Alternate index is allowed
  • A record's relative number cannot be changed
  • Freespace is used for inserting and lengthening records
  • Space given by deleted or shortened record becomes free space
  • No spanned records
  • Extended format is allowed


Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group