On Wed, 30 Jun 2010 17:51:40 +0200, Thomas Berg wrote:

>When I have needed to compress a PDS that was in frequent/continuous use,
>e g a target load library in test env, I use a command/rexx that submits
>a job which begins with submitting another job that has the pds allocated
>with DISP=OLD.  This as a way to "shut the door" behind.  Then it waits
>typically 30 seconds where after it starts the compress (w DISP=SHR).
>And in the last step cancels the "shut the door" job and ends.
>Something along this could be used as a way to minimize problems when
>deleting members.
>I have never had any problems with this approach.
>
You're lucky.  It will also "shut the door" on jobs that have the
data set open, and have done BLDLs, and may subsequently use TTRs
that point to trash.

PDSEs avoid this problem and introduce others, including a notorious
lack of robustness.

While UNIX directories can contain program objects, they can't (as
yet) be used in TASKLIB concatenations.  For other content, they
avoid most serialization problems while providing LUW isolation.
I don't know how UNIX directories compare to PDSE in robustness.

-- gil

----------------------------------------------------------------------
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