DASD data sets can have various retention periods (or expiration dates), either by SMS Data Class or JCL. In CA Disk you can use the DSCL EXPIRE command to remove DASD data sets which are past their retention date.
There is likely a DFSMShsm (or maybe DFDMSdss) equivalent is for this, and also the same from other ISVs. Before the expiration date, if you attempt to delete the unexpired data set or write to it with DISP=OLD/SHR/MOD you will get a WTOR. IEC507D E addr,volser,jobname,stepname,dsname nnnn IEC507D REPLY 'U'-USE OR 'M'-UNLOAD If you are in TSO updating that data set, your session is locked until the operator replies. Non-SMS non-VSAM data sets do not show expiration in a LISTC, however that information is in the Format 1 DSCB. SMS non-VSAM data sets do show the expiration date in the LISTC. Bob Longabaugh CA Technologies Storage Management -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Mike Schwab Sent: Friday, August 19, 2016 9:14 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: expiration date in a catalog entry Only Forever is valid for DASD datasets, otherwise ignored. Valid for Tape datasets. On Thu, Aug 18, 2016 at 6:51 PM, Paul Schuster <pgs4ibmm...@pacbell.net> wrote: > At what point in time does the 'expiration date' of a data set get > written to its catalog entry? > > It seems you can allocate a data set with an EXPDT, but a subsequent > LISTCAT will show 'EXPIRATION------0000.000'. There is a mention in > 'SYS1.MACLIB(IEFJFCBN)' that > > " > NOTE: JFCBXPDT is not valid until the data set > is actually allocated." > > I run an IEBDG to add a record to the data set, (which will cause it > to be allocated), but a subsequent LISTCAT still shows the > 'EXPIRATION------0000.000'. > > But I have seen catalog entries that have an expiration date other > than 0000.000, so when does this get updated? > > Thank you for any insight you can provide. > > Paul > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send > email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- Mike A Schwab, Springfield IL USA Where do Forest Rangers go to get away from it all? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN