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 Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am


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