MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Current Allocation and Current Utilization

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
deepeshk79
Beginner


Joined: 20 Jun 2003
Posts: 112
Topics: 48
Location: Bangalore

PostPosted: Mon Sep 20, 2004 8:20 am    Post subject: Current Allocation and Current Utilization Reply with quote

Hi All,

The space parameter for a particular file in our system here is as below

Code:

General Data                           Current Allocation
  Management class . . : PRDGDG1         Allocated cylinders : 4,007
  Storage class  . . . : PRD1000S        Allocated extents . : 55
   Volume serial . . . : 1SSLKO +
   Device type . . . . : 3390
  Data class . . . . . : ADDDSORG       Current Utilization
   Organization  . . . : PS              Used cylinders  . . : 4,007
   Record format . . . : FB              Used extents  . . . : 55
   Record length . . . : 650
   Block size  . . . . : 27950
   1st extent cylinders: 250
   Secondary cylinders : 100
   Data set name type  :                 SMS Compressible  . : NO
 
   Creation date . . . : 2004/09/17      Referenced date . . : 2004/09/20
   Expiration date . . : ***None***


The primary space is 250 cyls
The secondary space is 100 cyls

Hence the total space allocated should be 250+15*100 = 1750 cyls
But if we see the current utilization we get
Code:

Current Allocation             
 Allocated cylinders : 4,007   
 Allocated extents . : 55       
                               
                               
Current Utilization             
 Used cylinders  . . : 4,007   
 Used extents  . . . : 55       


Howz that possible????

Thanks,
Deepesh
Back to top
View user's profile Send private message AIM Address
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon Sep 20, 2004 8:29 am    Post subject: Reply with quote

Deepesh,

I am guessing that the dataset in question is allocated as EXTENDED FORMAT DATASET. Sequential data sets that are not in extended format are limited in size to 65535 tracks per volume. Extended-format data sets can use all allocatable space or up to 123 extents per volume. With compression, an extended-format data set can hold even more data.

Check this link for a detailed explanation of EXTENDED FORMAT DATASETS.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2DI10/4.1.3?DT=20020122171102

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
deepeshk79
Beginner


Joined: 20 Jun 2003
Posts: 112
Topics: 48
Location: Bangalore

PostPosted: Mon Sep 20, 2004 8:45 am    Post subject: Reply with quote

Hi Kolusu,

Thanks for the prompt reply.

1) But is there any way i can find out if the dataset is allocated as EXTENDED FORMAT DATASET ??

2) My dataset space should be increased now in such a way that it can hold 18000 records more. I did the following calculation for this
Code:

LRECL = 650
    Number of records to be added = 18000
    Total bytes required = 18000 * 650 = 11700000 bytes
    One cylinder = 838500 bytes
    One track = 55900 bytes
    Hence Total number of cylinders required = 11700000 / 838500 = 14 cylinders ( this includes both primary and secondary)
    So the space parameter (CYL,(1,1),RLSE)=1+1*15=16 cyls will also suffice if we consider a file of just 18000 records separately. So there is no need to add any more space if the file already has (cyl,(250,100),rlse) allocated.


If the file that i mentioned above is EXTENDED FORMAT DATASET, then i think we dont need to increase space at all. Isnt it??

Thanks,
Deepesh
Back to top
View user's profile Send private message AIM Address
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon Sep 20, 2004 9:05 am    Post subject: Reply with quote

Deepesh,

Quote:

1) But is there any way i can find out if the dataset is allocated as EXTENDED FORMAT DATASET ??


In the 3.4 listing you can look up the Data set name type : parameter which is right below the secondary allocation listing. If that parm shows EXTENDED , then the dataset is an extended format dataset.
Code:

Data set name type  :    EXTENDED


I just noticed that your DS listing does not show it as extended. However your dataset is a multi-volumed dataset. place your cursor on the Volume Serial parm in the listing and press ENTER. It would bring up a pop up window with the number of volumes that the dataset is allocated.

I don't think you need to increase the space parameter as it already coded to handle more records.

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
deepeshk79
Beginner


Joined: 20 Jun 2003
Posts: 112
Topics: 48
Location: Bangalore

PostPosted: Mon Sep 20, 2004 9:42 am    Post subject: Reply with quote

Hi Kolusu,

Yeah as u said in our DS listing we have
Code:

1st extent cylinders: 250                                             
Secondary cylinders : 100                                             
Data set name type  :                 SMS Compressible  . : NO         
                                                                       
Creation date . . . : 2004/09/17      Referenced date . . : 2004/09/20


The Data set name type is blank, it does not indicate if it is extended or not. Yes the DS is multi volume.

Thanks,
Deepesh
Back to top
View user's profile Send private message AIM Address
bablack
Beginner


Joined: 04 Dec 2002
Posts: 71
Topics: 0
Location: Little Falls, NJ

PostPosted: Thu Sep 30, 2004 9:14 am    Post subject: Reply with quote

Your ds appears to be a standard sequential dataset. If it is multi-volume, you get 16 extents PER VOLUME. On the secondary volumes, they should all be the secondary allocation size of 100 cylinders, so you could get up to 1600 cylinders per volume (up to 1750 on the first volume).
_________________
Bruce A. Black
Senior Software Developer
Innovation Data Processing
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MikeBaker
Beginner


Joined: 04 May 2004
Posts: 96
Topics: 9

PostPosted: Thu Sep 30, 2004 4:57 pm    Post subject: Reply with quote

The '+' sign next to your Volume Serial indicates that it is a multi-volume dataset. When you select the dataset ('S') via 3.4, do not PF3 out of it after looking, but just hit [enter] again, and it will show you the other volumes.

To see for yourself the difference and how this works, do:-

Test 1: allocate a dataset with SPACE=(CYL,(50,50))
Test 2: allocate a dataset with SPACE=(CYL,(50,50)),UNIT=(,9)
Back to top
View user's profile Send private message
icon
Beginner


Joined: 10 Jun 2003
Posts: 5
Topics: 2

PostPosted: Wed Dec 06, 2006 2:29 am    Post subject: Reply with quote

This thread is old but I have a similar issue as I am trying to increase space for this file.

This was created using CYL(8,3), how can this allocate 118 cylinders?
Code:

 General Data                           Current Allocation                     
  Management class . . : MCSEAP          Allocated cylinders : 118             
  Storage class  . . . : SCSEAP          Allocated extents . : 38               
   Volume serial . . . : SEAP03 +                                               
   Device type . . . . : 3390                                                   
  Data class . . . . . : **None**       Current Utilization                     
   Organization  . . . : PS              Used cylinders  . . : 118             
   Record format . . . : FB              Used extents  . . . : 38               
   Record length . . . : 250                                                   
   Block size  . . . . : 23250                                                 
   1st extent cylinders: 7                                                     
   Secondary cylinders : 3                                                     
   Data set name type  :                 SMS Compressible  :   NO               


This was created using CYL(110,3) based on computation of how many cylinders it will use up taken from this link.
http://www.mvsforums.com/helpboards/viewtopic.php?t=28

Code:
 General Data                           Current Allocation                     
  Management class . . : MCSEAT          Allocated cylinders : 118             
  Storage class  . . . : SCSEAT          Allocated extents . : 10               
   Volume serial . . . : SEAT04                                                 
   Device type . . . . : 3390                                                   
  Data class . . . . . : **None**       Current Utilization                     
   Organization  . . . : PS              Used cylinders  . . : 118             
   Record format . . . : FB              Used extents  . . . : 10               
   Record length . . . : 250                                                   
   Block size  . . . . : 23250                                                 
   1st extent cylinders: 93                                                     
   Secondary cylinders : 3                                                     
   Data set name type  :                 SMS Compressible  :   NO               
                                                                               
   Creation date . . . : 2006/12/06      Referenced date . . : 2006/12/06       
   Expiration date . . : ***None***
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Dec 06, 2006 5:39 am    Post subject: Reply with quote

icon,

Read bablack and mike baker's response which are just above your post.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
icon
Beginner


Joined: 10 Jun 2003
Posts: 5
Topics: 2

PostPosted: Thu Dec 07, 2006 12:04 am    Post subject: Reply with quote

kolusu,
I did but am still not clear on this. appreciate some clarification on this.

I checked the file and it sits on 3 volumes. Is this what happens?
vol1 = 7+16*3 = 55
vol2 = 16*3 = 48
vol3 = 16*3 = 48

total possible space of 151 cylinders?

What btw made it multi-volume? is it an installation default? the rest of my jcl goes
UNIT=3380,VOL=SER=SEA005
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Thu Feb 08, 2007 11:54 am    Post subject: Reply with quote

Quote:

1st extent cylinders: 93
Secondary cylinders : 3

A point to note - your 1st extent is only 93 cylinders - not 110. Your primary space request is taking more than 1 extent because space is fragmented (cannot find 110 contiguous cylinders)
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group