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
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 |
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 |
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 |
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
What is the difference between joblib and jcllib statements
Can we call instream to catalog and catalog to instream?
what is SOC4 error?
Give the syntax of job specifying jcl statement.
MOD, DELETE; What does a disposition of (,DELETE) mean ?
How to run cobol program using jcl?
Can we give two user name in NOTIFY parameter in JOBCARD
What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?
Can we browse or edit the GDG dataset if it is a tape entry?
i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i code RESTART and COND parameter?
What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring the length field in Linkage Section?