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,
Answer Posted / 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 |
Post New Answer View All Answers
how to compare two datasets without using superce because output is limited to 133 bytes
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
Explain how can an in-stream dataset be terminated?
what is use of dsn parameter in dd statement?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
Explain about LMQUERY�give a dialog information about a data set
Can I share my data with other jobs? How?
What is use of restart and how to use it?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
What parameter of the job statement is used to limit the cpu time consumed by the job?
Is their any limit for data sets?
What do you know about jcl?
Is it possible to code instream data in a PROC?