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

What is RRn in RRDS file


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

New User


Joined: 14 Sep 2006
Posts: 71
Location: Bangalore

PostPosted: Tue Dec 11, 2007 12:30 pm
Reply with quote

hi,
can any one tell what is a RRN in RRDS file ?and how it will be generated?

Thanks,
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Dec 11, 2007 12:36 pm
Reply with quote

RRN = Relative Record Number: 1, 2, 3, ......., n
Back to top
View user's profile Send private message
roopannamdhari
Warnings : 1

New User


Joined: 14 Sep 2006
Posts: 71
Location: Bangalore

PostPosted: Tue Dec 11, 2007 2:18 pm
Reply with quote

Thanks for the reply ...

so do you mean that RRN of the first record and also second record will be 1 and 2 respectively ?
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Tue Dec 11, 2007 2:28 pm
Reply with quote

Roopa,

Quote:
and also second record will be 1 and 2 respectively ?

Confusing. Need to rephrase your post.
Back to top
View user's profile Send private message
roopannamdhari
Warnings : 1

New User


Joined: 14 Sep 2006
Posts: 71
Location: Bangalore

PostPosted: Tue Dec 11, 2007 2:35 pm
Reply with quote

ok murmohk i will ..

i want to know What will be the RRN of the first record and also second record?


Thanks,
Roopa
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Dec 11, 2007 2:36 pm
Reply with quote

Hi,

RRN (Relative Record Number) A number that indicates the location of a logical record, expressed as a difference with respect to a base address. The RRN is used to retrieve that logical record from the data set.

RRDS (Relative Record Data Set) A VSAM file whose records are loaded into fixed-length or variable-length slots. Each slot has a unique relative record number. Data is placed in a specific slot based on a user-supplied relative record number.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
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
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top