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 |
can u execute a proc from another proc?
What does the keyword DCB mean and what are some of the keywords associated with it?
How to exclude the duplicate records from two concateded flat files (records from both files must be removed)?
What are the parameter in the job card wihtout which job won't run........
How do you overcome this limitation ?
What is the purpose of dd?
how can handle the s0c4 abend???
How to find the number of duplicates in a file using Sort?
wht r different types of sort fields in jcl ?
i have 1000 records in input file and i want to sort it and the first 200 records to be placed in output file. how to do that??
How does -818 sql error occur? Why does it happen and what can be done to overcome this error code?
The maximum number of steps in a job?