Answer Posted / steve holton
Add'l info to above - I was wondering where the 6n-1 stuff
came from, and found that ISPF adds 30 bytes of user
information to each entry, so the total for each entry is 42
bytes. So for an ISPF directory block (assuming you do NOT
use STATS OFF...) 6 entries will fir in each directory
block. The LAST entry in the directory is always a "dummy"
entry with member name x'FFFFFFFFFFFFFFFF', so I am assuming
that the 6n-1 is actually a calculation as to how many
members a directory of a certain size can hold. So, for
example, an ISPF (STATS ON) dataset can hold (6 x number of
directory blocks) - 1 (for the x'FF... dummy entry) members,
asuming that you don't x37 abend because "data size".
Note that the binder (linkage editor) apppears to fit 7
members per directory block (24 bytes user data = 36
bytes/entry), so for load modules (not PDSE program
objects...), the corresponding formula is 7n - 1, and for
IEBCOPY or IEBUPDTE created members with no user data (12
bytes per entry) 21n - 1.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How to pass data to a program that is coded in an exec statement?
How does jcl act on a cobol code?
what are JCLLIB and STEPLIB in JCL?
how can you check if a file is empty using jcl?
What is the purpose of dd dummy statement?
What is the format of comment statement?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
How is the record format of an output dataset specified?
which utility is used to run a cobol-db2 program?
Explain the function of a dd statement?
What is condition checking in jcl? Is this possible?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
what is the compile process of cobol program expalin with code
when does a dataset go uncataloged?
what happens in conversion stage in job processing?