how many members can be created inside a single pds?
Answer Posted / 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 |
Post New Answer View All Answers
how you can access an uncataloged dataset in a JCL?
How do you submit a job for execution?
what operation is performed by job statement?
Is it possible to code instream data in a PROC?
What are steplib and joblib? What for they are used?
What are hierarchy levels in jcl?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
what JCL Procedures?
How can the disposition of sysout datasets be set for an entire jobstream?
Explain the job statement in jcl?
What is the function of job statement in jcl?
Explain about LMQUERY�give a dialog information about a data set
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
State the uses of syspring, sysin, sort fields, sum fields and dummy.
i want to store 20 digits . how will u do it in cobol ?