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

Realtion between primary,secondary,lrecl,blksize,space abend


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

New User


Joined: 15 Jul 2009
Posts: 16
Location: INDIA

PostPosted: Mon Jul 20, 2009 2:52 pm
Reply with quote

Hi all,

I have created a dataset with Primary quantity =1, Secondary quantity =1, lrecl=1, BLKSIZE= 1, space units is BLKS and record format is FB . One block constitutes 32KB of formatted memory.

It means i can store 32768 records for primary memory and 32768 records for secondary memory. A single record more than 65536 should give a space abend.

But in actual scenerio i am getting abend for first 20,000 records itself.

Please help me out to understand this.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Jul 20, 2009 8:22 pm
Reply with quote

Hello,

Suggest you start over with something more realistic. . .

Quote:
It means i can store 32768 records for primary memory and 32768 records for secondary memory
Where did you learn this?

Quote:
A single record more than 65536 should give a space abend.
A single record more than 1 should abend. . . Not for space, but abend. . .

Not only is this useless as a "real" file, it is not good even as a test.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Jul 20, 2009 9:06 pm
Reply with quote

Quote:
One block constitutes 32KB of formatted memory.
Nope. Not even close. Memory is a specific term used on IBM mainframes to refer to storage available to the central processing unit -- not disk space, not tapes, nothing but bytes used by the CPU and controlled via the REGION= parameter.

Furthermore, except for some specialized cases, 32760 is the limit for a data set block size, not 32K.

There is a link to the manuals at the top of the page, click on it and read the JCL Language Reference and User Guide manuals. These will tell you about requesting disk space.
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts VB to FB - Finding LRECL SYNCSORT 4
No new posts ISAM and abend S03B JCL & VSAM 9
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top