how many members can be created inside a single pds?
Answers were Sorted based on User's Feedback
Answer / praveen kumar bejjanki
The members to be created in single pds depends on the
value of the directory block we mention while creating the
PDS. suppose if directory block=1 then we can have 5
members. if dir blk=2 then 11 members.
the formula for no of members for the directory block is
6*n-1 where n=value of directory block
if n=1 then mem's=6*1-1=6-1=5
if n=2 then mem's=6*2-1=12-1=11 and so...on...
Correct me if this is wrong...
I hope this is the way we calculate the members in a PDS.
| Is This Answer Correct ? | 39 Yes | 4 No |
Answer / sreerag p n
i think the total number of members in a pds is related to
the size of directory block. for example ....if you specify
the directory block as 1 then you can create 5 members
inside a partition dataset(pds).if you create more than 5(it
is possible) but you will get region abbend when you run the
job....
i hope this is correct.....
by sreerag p n
| Is This Answer Correct ? | 15 Yes | 4 No |
Answer / ram
actual formulae is
6n-1
here , n= no of directory blocks
max nuber of directory blocks is 5
then 6*5-1=29
i.e., you can create only 29 members in single pds file.
correct if me wrong
thanks,
ram.
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / yaswanth
it will on the directory blocks that we specify when
creating a pds for example if we specify 5 we can create 30
members in it that means per block we can create 6
members,if try to create more than that we will get se37 abend
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / bryan
Depends on what the PDS is used for. If PDS is updated with
ISPF and statistics are recorded you get less members.
Stats are stored in an optional user area of any given
directory block. Consider a LOAD library (no ISPF stats) -
you can get many more members in 1 directory block than a
PDS which you edit. A directory block is 256 bytes - 2
bytes for a count field followed by 3-21 directory entries.
Directory entries are comprised of 8-byte member name,
starting position of the member in the PDS, and some
optional data of up to 62 bytes.
I recommend using PDSE instead and no longer have to worry
about directory blocks and compressing your library.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ashish
above answer is right but the maximum number of members
that can created are 255 theorotically(ranade jcl book).And
practically can be more than 255.
| Is This Answer Correct ? | 6 Yes | 5 No |
Answer / gani
depends upon the size of the program in each member
| Is This Answer Correct ? | 1 Yes | 7 No |
what happens when time=0 is given in jcl code. what happens when blksize=0 is given in jcl code. what is symbolic and overriding parameters and a example program.
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
When cursor is not closed what is the error?
how to allocate a dynamic dataset in jcl ?
i have 1000 records in input file and i want to sort it and the first 200 records to be placed in output file. how to do that??
What is the purpose of the PARM keyword in the EXEC statement?
which utility is used to run a cobol-db2 program?
what is the function of spool command?
is it possible to submitt more than one job in job card in jcl? and if yes than is it necessary to have the jobs same name?
How many types we can give input to JCL
how to modify the copy book?explain with examples
How do you designate a comment in JCL?