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 |
01 A. 10 B pic X(10). move spaces to A. move spaces to B. output in A & B
can u explain gdg with example wht happens if we give limit,empty,noempty,scartch and no scartch
i have 3 steps in my jcl, where i want to run only one step at a time depending on the variable. How should i give the condition statement... I have tried this with two steps which is working but not able to add condn for the 3rd step. can anyone help me... I want to know the cond stmt which i can code in step 3 and step4, so that only either step2 or step3 or step4 executes
wht happens if blksize = 0 and lrec = 0 ?
what are the options in file-aid to edit vsam dataset and to compare data sets.
AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE DUPLICATES HOW TO REMOVE THE DUPLICATE FILES IN JCL? CAN I GET THE PROGRAM FOR THIS
Are there any set of rules for the names of the steps used in a job?
What is model dataset label(Model DSCB)?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
Explain how can the attributes of one sms dataset be copied to another dataset?
If your job fails at particular step then what would be the return code for next steps
The maximum number of in-stream procedure you can code in any JCL is ?