Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Merging records, but not all the time prino DFSORT/ICETOOL 7 Sat Feb 17, 2018 4:20 pm
No new posts Need all records with high key kalidasvs SYNCSORT 14 Fri Feb 09, 2018 10:38 pm
No new posts Why is SORT rearranging records that ... cschablow DFSORT/ICETOOL 4 Wed Jan 24, 2018 10:14 pm
No new posts Skip records depends on count lakshmiibmmainframes DFSORT/ICETOOL 5 Sun Dec 24, 2017 9:51 pm
No new posts Compare two PS files using ICE TOOL f... SENTHIL MURUGAAN DFSORT/ICETOOL 5 Sun Dec 24, 2017 1:26 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us