IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What is the maximum value for RBA


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Mon Nov 30, 2009 2:37 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Nov 30, 2009 3:41 pm
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Nov 30, 2009 3:41 pm
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
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Nov 30, 2009 4:37 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts SORT ERROR PARAMETER VALUE EXCEEDS M... DFSORT/ICETOOL 12
No new posts Increase the Maximum Length of LRECL ... JCL & VSAM 5
No new posts Logic to skip Maximum time-stamp and ... DB2 2
No new posts What is the maximum number of sort wo... SYNCSORT 2
No new posts How to find the maximum value of a pa... IMS DB/DC 8
Search our Forums:

Back to Top