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,

Answers were Sorted based on User's Feedback



If I defined space as TRK(10,10) for the one file and lrecl = 4K then tell me how many record will..

Answer / 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

If I defined space as TRK(10,10) for the one file and lrecl = 4K then tell me how many record will..

Answer / shriram10

TRK(10,10) means 10 tracks for primary and 10 tracks for
secondary space
for flat file 15 extents are available (1 for primary and 15
for secondary).
1 TRK = 56k
so, it will be like
[(10*1)+(10*15)]*56/4 = [10+150]*14 = [160]*14 = 2240

so Answer is we can place up to 2240 records in the flat file

correct me if i am wrong...
thanks

Is This Answer Correct ?    0 Yes 0 No

If I defined space as TRK(10,10) for the one file and lrecl = 4K then tell me how many record will..

Answer / 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 : 123*56/4 = 1722

Ans : 1722 records can be placed in the given VSAM dataset.

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More JCL Interview Questions

If the proc stepname is excluded while overriding the COND, TIME, REGION and PARM parameters while calling the proc, will the override only apply to the first step in the proc or all the steps for all the above parameters?

2 Answers  


how to edit a tape dataset ? asked in wipro

1 Answers   Wipro,


If a JOBSTEP abends, AND without using COND also, all the subsequent steps execute, then what is the use of using EVEN ? Why do we use EVEN when without it also all the JOBSTEPs execute ?

2 Answers   IBM,


//{name} INCLUDE MEMBER=memname {comments} in the include statement, what actually happens when its executed? The membername conatains a list of valid JCL statements, so will the include statement be substituted by these statements and how can we mention the pds that conatains the member? How does the include group differ from a PROC? how is include statement connected to JOBLIB and STEPLIB?

2 Answers   CCS, CTS,


I have a job which is a long-running one. Processes millions of records. Due to some run-time problem (not a problem due to the job/data) the job abends.What needs to be done to make the job complete successfully.

4 Answers   TCS,






Are all (i), (ii), (iii), (iv) of the below are VALID to reference a temporary dataset ? STEP2 DD1 DD DSN = &&TEMP STEP3 DD2 DD (i) DSN = TEMP (ii) DSN = *.TEMP (iii) DSN = *.STEP1.DD1 (iv) DSN = *.STEP1.DD1.ONE

8 Answers   IBM,


Explain COND used in JCL?

1 Answers   Patni,


What is the meaning of the following declaration : DCB=BLKSIZE=, What is the difference between above declaration & not specifying DCB at all for a output file?

1 Answers  


How many types we can give input to JCL

5 Answers   UHG,


Explain the purpose of the dd keylen parameter?

0 Answers  


How does jcl act on a cobol code?

0 Answers  


Why we us SYSTSIN DD with IKJEFT01 (TSO Utility) to execute a COBOL DB2 program? Why can't we use SYSIN DD?  

1 Answers   TCS,


Categories