You will need to consider datasets coded in JCL that are not opened. Unless a dataset is opened, the last reference date will not be set.
Sent with Proton Mail secure email. On Wednesday, May 8th, 2024 at 8:17 AM, Jason Cai <[email protected]> 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. This operation seems crucial for system > maintenance and optimization, yet I wanted to clarify any potential risks > associated with this action. > As far as I understand, LASTREF refers to the last accessed date of the file. > Hence, LASTREF=NONE implies that the file has not been accessed since its > creation. Could you confirm if my understanding is correct? > Additionally, I have been attempting to search for more information about > LASTREF=NONE in the IBM manual, but my efforts have yielded limited success. > If possible, could you kindly guide me on how to navigate the manual to find > specific information like this one or recommend any reliable resources where > such details may be more readily available? > > Lastly, does IBM have any specific requirements regarding the closure of PS > datasets? By this I mean if a PS has been opened and never closed, would the > LASTREF also be none? > > Any advice or insights you have on this matter would be highly appreciated. > Looking forward to your helpful response. > Best regards, > Jason Cai > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
