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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Realtion between primary,secondary,lrecl,blksize,space abend
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

Site Director


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

PostPosted: Mon Jul 20, 2009 8:22 pm    Post subject:
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: 8002
Location: Bellevue, IA

PostPosted: Mon Jul 20, 2009 9:06 pm    Post subject:
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    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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am


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