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 |
What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring the length field in Linkage Section?
How can we increment subscript and index?
What is the significance of addrspc parameter in exec statement?
Hi, If a catolog proc has another proc in it, both have ddnames dd1 and dd2. what proc will override if gave override parameter. Here both have same step names.
Can a job have only steplib and no joblib ?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
in step1 of a jcl,disp=(mod,delete,delete) step02 exec pgm=ccc,cond=(0,le) will step02 be executed? i)never ii)always iii) iv)... i dont remember options
I have a jcl which is using 2 data sets i want to override those data sets. how can i override the files within the JCL. Give me the syntax. Make sure that it is not calling any Proc.
I have a job (4 steps) with time parameter coded in job & exec, say time=10 in job & time =3,2,2,4 in each steps. Will the job executes successfully?
What is DSNDB06 ?
I've one sequential file, That file contains millians of Junk & CHAR recoreds example File 1 ,,,,,...,,,.....,.,.INFOSYS.....,,,,,,,,,,,WIPRO..........., ,...,..,. My questions is : I want omit the 44th posstion to 4 CHAR (WIPRO) remaining things I want output file (including Junk CHAR also)... How can we slove this problem & give me a syntax. Please provide the result as soon as possible.
wht do u mean by internal reader in jcl ? wht is the use of internal reader ?