If I defined space as TRK(10,10) for the one file and lrecl
= 4K then tell me how many record will vsam file will
contain. will it 1,2,3,4,5 or how many,
Answer Posted / srikanth kankatala
TRK(10,10) means 10 tracks of primary space and 10 tracks
of secondary space available for that VSAM data set.
For a VSAM file totally 123 extents are possible( 1 for
primary and 122 for secondary).
1 TRK = 56k
so the snswer is : [(10*1)+(10*122)]*56/4 = 17220
Ans : 17220 records can be placed in the given VSAM dataset.
Please let me know if it is wrong.
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
How does jcl act on code(if you take a cobol program)?
how JCL works?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
What is the function of the dd dcb keyword?
Which dd parameters are required?
Explain the function of the dd dcb keyword?
What is the function of the dd avgrec keyword in sms datasets?
Must tape dataset definitions include vol=ser specifications?
How is the record format of an output dataset specified?
Is it possible to left uncode disp?
How to alter the parameters for the existing gdg?
Is condition checking possible in jcl? If yes, how?
Is condition checking possible in jcl?
Explain in DD statement what is the use of DCB parameter?
what are the statements that are not valid to be included in an include statement?