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


Please Help Members By Posting Answers For Below Questions

I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1345


What are the parameter we cannot use in procedure?

636


Is acct parameter mandatory?

758


What are hierarchy levels in jcl?

949


How is a type of file defined in the jcl that executes the cobol program?

709






What parameter directs the output of the job log dataset?

763


Explain how can the disposition of sysout datasets be set for an entire jobstream?

634


how would you create a temporary dataset? And where will you use them?

765


How can a jobs execution priority be modified?

794


Explain the hierarchy levels in jcl?

1117


How to execute 2nd and 4th steps among 5 steps in jcl proc?

747


when does a dataset go uncataloged?

827


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?

610


Explain the function of the dd dcb keyword?

696


What is the purpose of dd dummy statement?

942