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.
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
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.