What is the difference between primary and secondary
allocations for a dataset?

Answers were Sorted based on User's Feedback



What is the difference between primary and secondary allocations for a dataset?..

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

What is the difference between primary and secondary allocations for a dataset?..

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

What is the difference between primary and secondary allocations for a dataset?..

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

What is the difference between primary and secondary allocations for a dataset?..

Answer / nepal

5+10*15

Is This Answer Correct ?    26 Yes 9 No

What is the difference between primary and secondary allocations for a dataset?..

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

What is the difference between primary and secondary allocations for a dataset?..

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

What is the difference between primary and secondary allocations for a dataset?..

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

What is the difference between primary and secondary allocations for a dataset?..

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

Post New Answer

More JCL Interview Questions

a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

0 Answers   IBM,


There is one QSAM is the VB file. i want to get the first characters in this file and change those characters from'abcd' to '1234' and creat a vasm file to put '1234' in it. how to do in only JCL. if it not QSAM, it's VASM and VB. how to do it.

1 Answers   IBM,


How many steps we can overide in the proc's?

2 Answers   CS,


How to create delta file using JCL

1 Answers   CTC,


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

0 Answers  






can we copy a file from fixed block to variable block and vice versa ....asap

1 Answers  


If a field is declared as a comp-3 field and if we want to sort a dataset based on this field, then how will the sort card be??? e.g- if we want to sort by a field which is defined as a PIC X(5) then we will mention - sort fields=(1,5,ch,a). Likewise if a field is defined as PIC S9(10)COMP-3 then in this case how will the sort field be defined (because in this case a sign is also involved)???

8 Answers  


What is the error in the following JCL statements : I) //step#three exec pgm=hkbc762 ii) //step#3 exec pgm = hkbc762 iii) //step#3 exec pgr = hkbc672

6 Answers  


what do you mean by include statement in jcl?

1 Answers   IBM,


How do you submit JCL via a Cobol program?

2 Answers   Cap Gemini,


What is the purpose of dd * statement in jcl?

0 Answers  


Can we have a JOBSTEP without any EXEC ?

6 Answers   IBM,


Categories