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

What is model dataset label(Model DSCB)?

1 Answers  


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

0 Answers  


What is meant by S0C7 system abend code?

8 Answers  


What do you understand by the term notcat 2 – gs?

0 Answers  


JCL Example: // //RUNJCL JOB CLASS=5,MSGCLASS=6,NOTIFY=&SYSUID //STEP01 EXEC PGM=IEFBR14 // .. .. If this JCL will run or it'll throw the ERROR?

4 Answers   HCL,






Explain the purpose of dd * statement in jcl?

0 Answers  


What are the common jcl syntax errors you get? This is not abends?

1 Answers  


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

0 Answers  


What will happen if two JOB statements are mentioned in an JCL continuously.

2 Answers   IBM,


How to pass values in jcl to cobol?

4 Answers   IBM, Infosys,


i have a ps with two columns eno and ename , i need to copy eno column values in one ps and ename column values in one Ps ? is it possible through iebgener . how ? thx in advance

1 Answers   IBM, TCS,


I have a job (4 steps) with time parameter coded in job & exec, say time=10 in job & time =3,2,2,4 in each steps. Will the job executes successfully?

4 Answers   Cognizant,


Categories