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 |
How to execute a set of JCL statements from a COBOL program ?
Hi, My dataset have multiple records, say 100. I want to start copy records only after a record contain a specific value that may be in a specific position. Secondly I want to stop copying rest records if certain record contains a specific value. Can it be done using SORT/ICETOOL utilities?
What is maximum length of block size?
5 Answers Cap Gemini, Kanbay, TCS,
What is TimeStamp, What is TimeStamp error and What is the Abend Code for TimeStamp Error ?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
Can comments be specified at the very beginning of a jobcard? Will the JCL execute?
What is the function of //jcllib statement?
what is the COND=EVEN ? Can anyone give me an example to explain the usage.
Can you execute a PROC from another PROC?
In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute. But the job will be successfull with the maximum return code. How can we reset this maximum return code to '0' regardless of return codes of any steps?
after submiting the jcl.how do you know that the job has been completed.
There are two input sorting files and there is a need to create one sort out file which contains data of both input files. What is the sort card for this. Write a sample JCL for this using a control card?