What is the difference between primary and secondary
allocations for a dataset?
Answers were Sorted based on User's Feedback
Answer / guest
Secondary allocation is done when more space is required
than what has already been allocated.
| Is This Answer Correct ? | 49 Yes | 6 No |
Answer / saikat dey
total storage of Space=(cyl,(5,10),rlse)is not 5 + 16*10 =
165 cylinders.
For sequential file total extent is 16 that not mean above.
Total space of it would be [(1*5)+(15*10)]=155 Cylinders.
| Is This Answer Correct ? | 33 Yes | 2 No |
Answer / s
A dataset is created in extents. Extents are contiguous
space of tracks, cyls or blocks. The first extent is called
the primary allocation. As the dataset grows, dataset is
extended using secondary extents.
| Is This Answer Correct ? | 25 Yes | 5 No |
Answer / sash
Primary allocation is treated as an one extend. So total
space for a dataset would be Primary + 15 * secondary.
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / satya prakash
For a Dataset in primary allocation is needed. The number is
close to the total requirement as possible. The secondary
quantity is an additional quantity that can be used only if
dataset exceeds the space allocated with the primary quantity
| Is This Answer Correct ? | 7 Yes | 5 No |
Answer / jignesh patel
The primary allocation is the space units given to the
empty new dataset initially. Though primary & secondary
spaces are allocated during defination it wont allow the
dataset to use the secondary allocation till the time
primary allocation fully acquired by the data of that
dataset.
As mentioned above, dataset uses the primary & secondary
spaces in the sense of EXTENT mode. the memory allocated is
virtually departed in the 16 extents. System can allocate
primary + secondary*16 space units in the best case.
| Is This Answer Correct ? | 5 Yes | 14 No |
Answer / saroja kolli
Primary and the secondary allocations are the space
allocated for a particular dataset.
Primary indicates that the mian storage allcoated and for
the specified dataset the storage allocated primarily is
not sufficient then it will go for the secondary extents.
Secondary allocation will be usually 16 extents
Example:
Space=(cyl(5,10),rlse) is specified for any dataset then
the dataset will be allocated with the total storage of
5 + 16*10 = 165 cylinders.
| Is This Answer Correct ? | 16 Yes | 29 No |
Wrete a JCL to compare two files and mached records move to onc file & un mached rows wants to another file?
13 Answers CGI, DSRC, IBM,
what is the default region size if I dont specify region parametre in my job card ( I know that if I specify region=0k or 0M, then the job will occupy all he available resources at the time of job execution), but I want to know the defult value for "region" paramatre.
What parameter directs the output of the job log dataset?
What is the function of the dd avgrec keyword in sms datasets?
What is the function of //cntl statement?
Could you provide an example and its effect OF, Using COND on JOB and EXEC both ?
How to skip first step of a job? Can we use COND on the first step?
Is there a limit of 3273 DD statements for a JCL or for every EXEC step in a JCL?
Why 16 is used in calculating the DPRTY ? as, DPRTY = (num1, num2), THEN, DPRTY = 16* num1 + num2
As PARM can supply information to a program ? Can PARM be used to supply information to a cataloged or Inline Procedure also ?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
How do you submit a JCL under CICS environment ?