On Wed, 8 May 2024, at 13:17, Jason Cai wrote:
> Dear all
>
> I am reaching out to discuss a specific operation we are considering 
> for our z/OS DCOLLECT reports. Currently, we are planning to delete all 
> the datasets where LASTREF=NONE and DSORG=PS.

Multiple people have mentioned JCL but remember that datasets can
be dynamically allocated in various ways.

If LASTREF only gets updated if a file is opened, then there's another
problem.  I used to use empty (no primary allocation, IIRC) datasets
as state flags in applications - everybody could see them via ispf 3.4,
those with relevant ACF2 permissions could rename/delete them if it
was needed to reset/force an application's state out of some "not 
supposed to happen" situation.  Usually the application renamed the
datasets to indicate what it was doing.  

-- 
Jeremy Nicoll - my opinions are my own.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to