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
 

 

What is the maximum value for RBA

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

Active User


Joined: 15 Nov 2005
Posts: 117
Location: Chennai, India

PostPosted: Mon Nov 30, 2009 11:23 am    Post subject: What is the maximum value for RBA
Reply with quote

Hi,

Does RBA value for an ESDS has a maximum limit or is it just limited by the space allocated to the file?
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Nov 30, 2009 2:37 pm    Post subject:
Reply with quote

Why do you believe that there is a limit ?
Back to top
View user's profile Send private message
senthils

Active User


Joined: 15 Nov 2005
Posts: 117
Location: Chennai, India

PostPosted: Mon Nov 30, 2009 3:31 pm    Post subject:
Reply with quote

I am facing a situation in which the we are holding the RBA value in S9(09) BINARY. Since S9(9) BINARY can hold only a maximum value of +2147483648 is there a possibility of the RBA going beyond this value?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10257
Location: italy

PostPosted: Mon Nov 30, 2009 3:41 pm    Post subject: Reply to: What is the maximum value for RBA
Reply with quote

RBA are by UNSIGNED, for 32bits tha max RBA is x'FFFFFFFF'
why would You want to read a negative RBA icon_biggrin.gif

for extended vsam the rba is 64 bits...

investigate accordingly

anyway a signed declaration fo an RBA is just plain wrong
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2433
Location: Netherlands, Amstelveen

PostPosted: Mon Nov 30, 2009 3:41 pm    Post subject:
Reply with quote

That could be a problem with 1 byte records.
Back to top
View user's profile Send private message
senthils

Active User


Joined: 15 Nov 2005
Posts: 117
Location: Chennai, India

PostPosted: Mon Nov 30, 2009 4:15 pm    Post subject: Reply to: What is the maximum value for RBA
Reply with quote

We used signed variable beacause it is a standard we had to follow. And the problem we face is is due to the fact that the RBA goes beyond +2147483648 and due to the restriction of S9(9) BINARY the value turns to negative.

Thanks for your replies. I will modify the program logic accordingly.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2433
Location: Netherlands, Amstelveen

PostPosted: Mon Nov 30, 2009 4:37 pm    Post subject:
Reply with quote

So the maximum RBA = 4294967295 (FFFFFFFF).
You could calculate how many records fit into that, given
the record length and the track capacity of the drives
you put your data on.

As for extended vsam i remember vaguely that is only for KSDS vsam datasets.
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 What is the maximum number of sort wo... Pravina M SYNCSORT 2 Mon Mar 14, 2016 4:51 pm
No new posts How to find the maximum value of a pa... Susheel singh IMS DB/DC 8 Mon Mar 24, 2014 11:39 am
No new posts Select maximum value of Sequence Num... Vijayshyale DB2 1 Fri Jan 31, 2014 8:11 am
No new posts Get maximum value of 2 different fields aditya_gorti DFSORT/ICETOOL 10 Wed Nov 27, 2013 7:36 pm
No new posts Maximum number of I/O PCBs in a COBOL... guruji Mainframe Interview Questions 7 Mon Nov 18, 2013 11:25 am


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