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 MXG - Processing Compressed DB2 SMF r... vasanthz All Other Mainframe Topics 2 Thu May 10, 2018 12:47 am
No new posts Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 pm
No new posts Merge 2 records sancraig16 SYNCSORT 19 Tue Mar 27, 2018 8:17 pm
No new posts Copy set of records based on condition krish.deepu SYNCSORT 2 Thu Mar 08, 2018 11:39 am
No new posts add sequence number for duplicate rec... SRUTHI DRAVIDAMANI COBOL Programming 11 Thu Feb 22, 2018 5:37 pm

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