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
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
What are the parameter we cannot use in procedure?
Is acct parameter mandatory?
What are hierarchy levels in jcl?
How is a type of file defined in the jcl that executes the cobol program?
What parameter directs the output of the job log dataset?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
how would you create a temporary dataset? And where will you use them?
How can a jobs execution priority be modified?
Explain the hierarchy levels in jcl?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
when does a dataset go uncataloged?
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?
Explain the function of the dd dcb keyword?
What is the purpose of dd dummy statement?