Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to ESDS records using RBA

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
jazna.b23

New User


Joined: 30 May 2007
Posts: 1
Location: Trivandrum

PostPosted: Sun Jun 03, 2007 12:00 pm    Post subject: access records in ESDS fle with RBA
Reply with quote

Can Anyone tell how to access records in ESDS file with RBA option?I want to retrieve particular record from this file.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Jun 03, 2007 2:14 pm    Post subject:
Reply with quote

Hello and welcome to the forums icon_smile.gif

When posting a new question, please start a new topic.

If you add some more info about how you want this to work, we can probably offer suggestions.

Usually, a programmer does not calculate the RBA - it is handled internally and the records are read sequentially.

Keep in mind that as records are added to the ESDS, they are added at the end with no regard to values in the record. Calculating the RBA of a record added to the file might be quite out of reach.

FYI, the first record in an ESDS is at RBA zero. The second record is at RBA (0 + record-length) and so on. . .

There is a type of file called a Relative-Record DataSet which may be easily read directly if the "record nujmber" is known.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Removing Duplicates based on certain ... chandracdac DFSORT/ICETOOL 8 Fri Dec 09, 2016 4:40 am
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to split the records using the am... vnktrrd DFSORT/ICETOOL 24 Fri Oct 28, 2016 7:33 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us