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 is DSN parameter and DISP parameter is used for?
is there any possibilities for sumbitting more than one job in single jcl? if yes...based on which thing they will execute..(priority,class,time,written order..?)
How does jcl act on a cobol code?
Is condition checking possible in jcl? If yes, how?
what are JCLLIB and STEPLIB in JCL?
In all our JOB Statement we have always COND=(4,LT) defined. Nevertheless when a Job failed the last step should then be executed (send a message to an user). Due to we don't like to change all our JOB's (ca. 2000), we are looking for a simply solution.
what is the cond=even only
restart logic ?
How would I code JCL to copy a gdg data set G001v00 and create a gdg Data set G001v01
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include temporary file used for sorting in assign statement?
Explain about Internal Sort