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 |
Is CPU time assigned to a JOB and JOBSTEP BOTH, by default ?
Explain how can values be passed from the job stream to an executable program?
How does -818 sql error occur? Why does it happen and what can be done to overcome this error code?
Can we write same stepname for one or more steps in on job ?
What does the TIME parameter signify ? What does TIME=1440 mean ?
What is NOTCAT 2
wht do u mean by notify parameter, how can u give acess to multiple users ?
Hi, I have a requirement File A : I have 6 records out of which 4 are same. File B: I have 8 records out of 6 records are same. The 4 records in FILEA and 6 records in FILE B are same. If we substract we will get two records, I need these two records in output file This is because to remove the duplicates from the database. Through easytrieve we can compare but for that there should not duplicates, but in my file I have duplicates. Thanks in advance!!
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
what r the types of job control statements?
What are s0c1, s0c4, s0c5, s0c7 and socb?
In sms datasets, what is the function of the dd avgrec keyword?