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 / 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 View All Answers
what are the statements that are not valid to be included in an include statement?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
How gdg are concatenated?
is there any way to execute more than one proc in the same exec statement at the same time..?
Is their any set of rules for dd? Explain.
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
What parameter directs the output of the job log dataset?
can any one plzzzzzz tell the jcl code for creating ps using idcams
Is automatic restart possible in jcl?
How to pass the parameter in parm using linkage section ? (syntax)?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
write a jcl to execute a job by 7:00 am on jan 20,1986?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
Explain dfsort utility?