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


Please Help Members By Posting Answers For Below Questions

which utility is used to run a cobol-db2 program?

914


//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

1013


Can I share my data with other jobs? How?

757


List the various advantages of using jcl language?

958


What is the use of disp parameter?

727






Explain dd statement in jcl?

738


List in order the hierarchical levels of jcl?

756


How can return codes be tested before execution of a job step?

1040


i want to store 20 digits . how will u do it in cobol ?

960


How can a stopped job be started again?

795


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.

1816


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

669


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

898


What is one line to pass PARM from JCL to COBOL?

4550


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

758