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 are the jcl procedures?
Can we use DISP=SHR in output file in JCL
Explain how can a stopped job be started again?
1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program.can anyone please answer me for above questions. it's very urgent
I've one sequential file, That file contains millians of Junk & CHAR recoreds example File 1 ,,,,,...,,,.....,.,.INFOSYS.....,,,,,,,,,,,WIPRO..........., ,...,..,. My questions is : I want omit the 44th posstion to 4 CHAR (WIPRO) remaining things I want output file (including Junk CHAR also)... How can we slove this problem & give me a syntax. Please provide the result as soon as possible.
Can we use empty VSAM as input?
When will we need to specify Space parameter ?
One dataset is creating in the step1 with LRECL of 133 and the same dataset is used in the next step in DISP=SHR mode, but while scanning the JCL the following error is thrwon. Please verify the below JCL $/SEPP030.PROVIDER DD DSN=Z1225BT.F5750PG9.F5910PRV.QC#A6868 //ERRORRPT DD DSN=F5910&ST&IN..F5910EPP.ERRORRPT.P&CYCDATE, --ERRORRPT DD DSN=F5910PG.F5910EPP.ERRORRPT.P, // DISP=&DISNCD,UNIT=&DELQ, -- DISP= (NEW,CATLG,DELETE),UNIT=DELQ, // SPACE=(TRK, (30,15),RLSE), // DCB=&DCB2 -- DCB= (PPG.METMODEL,BLKSIZE=0,LRECL=133,RECFM=FB) $/SEPP030.ERRORRPT DD DSN=Z1225BT.F5910EPP.ERRORRPT.AOUTPUT //SEPP040 EXEC PGM=FILEAID,COND= (0002,EQ,SEPP030) //SYSPRINT DD SYSOUT=* //SYSLIST DD SYSOUT=* //DD01 DD DSN=SYSCMN.PROD.CCLIB (F5910EP1),DISP=SHR $/SEPP040.DD01 DD DSN=Z1225BT.TEST.CCLIB (F5910EP1) E1 - DSS20791E - DATA SET 'Z1225BT.F5910EPP.ERRORRPT.AOUTPUT' HAS AN LRECL OF 133 COULD NOT BE OPENED BECAUSE THE CODED LRECL WAS 80. // DD DSN=F5910&ST&IN..F5910EPP.ERRORRPT.P&CYCDATE, -- DD DSN=F5910PG.F5910EPP.ERRORRPT.P, // DISP=SHR $/ DD DSN=Z1225BT.F5910EPP.ERRORRPT.AOUTPUT please find the error code in the above mentioned lines and please suggest me about the error and the solution for that.
How would you understand error(execution phase)?
What does the statements: typrun=scan and typrun=hold do in a JCL statement
what is the difference between JES3 and JES2?
My JCL contains four steps //STP1 A(+1), DISP = NEW //STP2 A(+2), DISP = NEW //STP3 A(+3), DISP = NEW //STP4 A(+1), DISP = OLD STP3 was abended and I want restart my JCL from STP3 onwards & what are the precaution I want to take & what are the changes I need to make. Pls let me know.