Answer Posted / steve holton
PDS directory blocks are 256 bytes long. The first halfword
(2 bytes) are used to indicate the number of bytes used in
the block, leaving 254 bytes for directory entries.
Directory entries are variable in size, and are each at
least 12 bytes long, and up to 74 bytes long (12 byte "base"
length plus up to 62 bytes user data).
Directory blocks may have no members, so 0 is the minimum
possible members in a block. If the question is re-worded to
something like "what is the minimum number of entries in a
FULL directory block?", the answer is floor(254/74) = 3.
That is, every PDS directory block is capable of holding AT
LEAST 3 entries.
Maximum possible entries in a full directory block would be
floor(254/12) = 21.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
Give the syntax of job specifying jcl statement.
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
what is the JCL statement consists of?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
Does jcl support automatic restart?
What are some jcl statements that are not allowed in procedures?
What do you understand by jcl?
Where & How Do You Code Identifier In Jcl?
When output dataset space is required, what quantity categories are used?
Is it possible to define dd statements as you want?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
What is the function of the dd mgmtclas keyword in sms datasets?
Differentiate between the joblib and the steplib statements?
What does a disposition of (new,catlg,keep) for a dsn mean?