View previous topic :: View next topic
|
Author |
Message |
sasikumar1984
Active User
Joined: 02 Jul 2007 Posts: 109 Location: Chennai - India
|
|
|
|
Hi all,
Can anyone tell me what is the use of SYSDA,12
sysda,12 - Sysda is temp dataset... pls tell me what is mean by multi pack????
Regards,
Sasi.K |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
sasikumar,
Quote: |
Can anyone tell me what is the use of SYSDA |
We usually specify UNIT=SYSDA in our JCL's while creating datasets.
This refers to the direct access devices which is our DASD. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
Back to top |
|
|
mftrigger
New User
Joined: 18 Feb 2006 Posts: 23 Location: chennai
|
|
|
|
UNIT=(SYSDA,N) refers to the N number of volumes to be allocated for that dataset.
I suppose the Multi pack data set is the same as multi volume dataset. |
|
Back to top |
|
|
sasikumar1984
Active User
Joined: 02 Jul 2007 Posts: 109 Location: Chennai - India
|
|
|
|
hi,
Can anyone tell me how to find the total space occupied by the dataset???
is it like Lrecel * no of Records
Eg: if the DS contains 100 records and Lrecel is 289. the total space occupied by the DS is 100*289?????
i think what i am telling is wrong... pls correct me...
Regards,
Sasikumar.K |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
You can find the total space used using tso/ispf (usually 3.4).
When you list the dataset(s), type an I, press ent4er, and the system will show you space allocated and used - this will not work for vsam files (unless your system has add-on products to deal with vsam).
Your calculation will show you how many bytes are needed for the data, but that number is not exactly the same as the space requirement. |
|
Back to top |
|
|
sasikumar1984
Active User
Joined: 02 Jul 2007 Posts: 109 Location: Chennai - India
|
|
|
|
Hi dick,
thanks for ur reply..
Can you tell me what exactly SYSDA,12 means????? i heard it is called muplti pack... what it means????
sometimes we give UNIT=SYSDA. it is for creating a temporary DS.
As you said we can see how much a DS space by entering I infront of the DS in TSO/ISPF. But how that calculation has come???? i like to know that...
Please clear my doubts....
Regards,
Sasikumar.K |
|
Back to top |
|
|
Binaya
New User
Joined: 03 Jul 2007 Posts: 77 Location: Hyderabad
|
|
|
|
SYSDA,12 means it can span accross 12 disks. Means If the space is not available in 1 disk it will search for upto 12 disks. Its not necessarly for temporary DS.
[
Can you tell me what exactly SYSDA,12 means????? i heard it is called muplti pack... what it means????
sometimes we give UNIT=SYSDA. it is for creating a temporary DS.
] |
|
Back to top |
|
|
sasikumar1984
Active User
Joined: 02 Jul 2007 Posts: 109 Location: Chennai - India
|
|
|
|
Hi Binaya,
Thanks for ur response...
So for allocating DS in disks, UNIT=SYSDA,12 keeps searching upto 12 different disks rite.. is this concept is called Multi Pack????
So if we give simply UNIT=SYSDA, it will search only one disk????
Regards,
Sasikumar.K |
|
Back to top |
|
|
Binaya
New User
Joined: 03 Jul 2007 Posts: 77 Location: Hyderabad
|
|
|
|
Not sure about Multi Pack phenomenon.
But giving simply UNIT=SYSDA, it will search only one disk |
|
Back to top |
|
|
Binaya
New User
Joined: 03 Jul 2007 Posts: 77 Location: Hyderabad
|
|
|
|
Sorry, It should be "it can span accross 12 volumes" |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Often the needed space is not available on the first volume assigned by the UNIT= parameter. Specifying UNIT=(dev,n) will allow allocation to use (span) up to n volumes to meet the space requirement.
Quote: |
it is for creating a temporary DS. |
This is a site-specific "rule". On many systems SYSDA also contains production, lng-term datasets.
In the "old" days, disk was removable media. The "drive" was similar to the cd/dvd drives in your desktop. The data was stored on "dick packs". There was no permanent drives - even the system residence (SYSRES) and spool packs were removable (usually, they were not, but could be if necessary). As you stack your cd/dvd's near your pc, we stacked disk packs near the dis drives. Disk packs were much cheaper than drives, so scheduling which data would be "online" at any one time coiuld become a challange.
A "dasd volume" and a "disk pack" are the same thing these days. |
|
Back to top |
|
|
sasikumar1984
Active User
Joined: 02 Jul 2007 Posts: 109 Location: Chennai - India
|
|
|
|
Hi Dick,
Thanks for you reply.. I still need answer for my query...
We can see how much a DS space by entering I infront of the DS in TSO/ISPF. But how that calculation has come???? i like to know that...
Can you please explain this...
Regards,
Sasikumar.K |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello Sasikumar,
Quote: |
But how that calculation has come???? |
What you see in 3.4 is not a calculation - it is the actual space allocated and in use for the dataset.
If i've misunderstood the question, please clarify. |
|
Back to top |
|
|
sasikumar1984
Active User
Joined: 02 Jul 2007 Posts: 109 Location: Chennai - India
|
|
|
|
Hi Dick,
Ok, i agree its the actual space utilised by the Dataset...
I would like to know is it possible to estimate the actual space will be occupied by a datset if we know Lrecl, No of records, Blocksize and all the related information for creating the dataset.
Regards,
Sasikumar.K |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello Sasikumar,
To calculate space required, you use the number of records and their length. From lrecl, you will get a blksize (this will be done automatically by the system or your storage management people can tell you how blksize is determined for your system and dasd).
Once you know the blksize, you can calculate how many blocks will be needed and this will be used to determine total space (usually cyls or trks). Again, it will be good to check with the storage management people as there are different dasd models in use today and they will know your system specifics.
You might also look in the forum as there have been other topics on how to calculate dasd space. |
|
Back to top |
|
|
sasikumar1984
Active User
Joined: 02 Jul 2007 Posts: 109 Location: Chennai - India
|
|
|
|
Thanks a lot Dick....
So Nice Of U....
Regards,
Sasikumar.K |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Search the forum. I have lost count of the number of times that I have given the formula for space calculation on this forum. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
You're welcome - we're here if there are questions |
|
Back to top |
|
|
|