Hi Ravi,

With regard to the use of DISP=MOD and partitioned data sets.

In my experience, and I can only speak from that perspective, I believe the
recommendation in the manual is incorrect.

It also seems to conflict with the DFSMS Utilities manual, where PARM=MOD is
used on IEBUPDTE to indicate ADD or REPLACE activity on a PDS, with both
SYSUT1 and SYSUT2 having DISP of OLD/SHR as appropriate.

The general consensus is that DISP=OLD will ensure that GRS will honour data
set name ENQs, and whilst DISP=MOD also gives exclusive control there may be
other implications.

I have never used DISP=MOD with PDSs, which doesn't make it right, but not
using it has not caused a problem.

The option of splitting the current process such that each DD statement
forms the basis for an independent step is certainly a solution to the
overlap problem.

Amending the program to perform a loop in which it;

a)      Opens the PDS
b)      Writes a member
c)      Closes the PDS

Is another solution.

I have not explored any potential benefit with switching to using PDSE
rather than PDS.

I hope this helps.


Kind Regards - Terry
 
Director
KMS-IT Limited
228 Abbeydale Road South
Dore
Sheffield
S17 3LA
UK
 
Reg : 3767263
 
Outgoing e-mails have been scanned, but it is the recipients responsibility
to ensure their anti-virus software is up to date.
 
 


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to