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

Creating Generation Data Group with a variable as GDG(+N)


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
svishnudas

New User


Joined: 02 Aug 2006
Posts: 4

PostPosted: Fri Aug 04, 2006 12:09 pm
Reply with quote

Hi all...

While creating a GDG in the following way ESCUB11.VDS.GDG1(+N), it is possible for N to have values in the range 1 to 255....

That is (+1) to (+255)...

Can anyone please tell the reason for this....
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Fri Aug 04, 2006 12:30 pm
Reply with quote

hi,

MVS is a 8 bit operator.

So the Max value can be 2 power of 8. That is 256.

Since the GDG is refered from zero, a maximum of 255 can be created.

Clear??

~Vamsi
Back to top
View user's profile Send private message
imain
Warnings : 1

New User


Joined: 25 Jun 2006
Posts: 14
Location: US

PostPosted: Fri Aug 04, 2006 12:56 pm
Reply with quote

hi Vamsi,

Can u tell me abt MVS Extended Architecture.
What bit it is.?
I thought MVS was 32 bit.
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Fri Aug 04, 2006 1:48 pm
Reply with quote

Yes Imain,

MVS is 24 or 31 bit OS, and of that only 8 bits are allocated for what are required.

After that there is truncation of the bits...(exceeds the 8 bits allocated)

2 power 8 = 256.
MVS counts from 0 to 255 total of 256.
So at Max MVS allows at most 255 no of EXEC, Buffers, GDG versions,Procs etc.........

Hope i cleared what you wan.

~Vamsi
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 Store the data for fixed length COBOL Programming 1
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top