Code: |
linkage section. * copy iggcsirc. * 01 csi-returned-fields. 02 csi-all-returned-lengths. 03 csi-ret-DSCRDT2-length pic s9(4) comp-5. 03 csi-ret-gdgaltdt-length pic s9(4) comp-5. 03 csi-ret-entname-length pic s9(4) comp-5. 03 csi-ret-volser-length pic s9(4) comp-5. * 02 csi-ret-DSCRDT2 pic x(4). 02 csi-ret-gdgaltdt pic x(4). 02 csi-ret-entname pic x(44). 02 csi-ret-volser-list. 03 csi-ret-volser pic x(6) occurs 99 times. |
Code: |
* move 2 to csinumen move 4 to csinumen * Added by me move 'DSCRDT2' to csifldnm(1) move 'GDGALTDT' to csifldnm(2) move 'ENTNAME' to csifldnm(3) move 'VOLSER' to csifldnm(4) |
Quote: |
GDGALTDT - returns the last alteration date of the GDG base. This
represents the last date that a generation was added to, or deleted from the base. This information is also displayed for a LISTCAT of a GDG base. The GDG expiration date no longer exists, and if requested (via the DSEXTDT2 field name) will always return 00.000. |
Code: |
, ,Data Set Information, ,Command ===> ,Data Set Name . . . . :, XYZ ,, , ,General Data, ,,Current Allocation, ,,Management class . . :, , ,,Allocated tracks . :,992 ,,Storage class . . . :, , ,,Allocated extents . :,1 ,,,Volume serial . . . :, , , ,,, , ,,,Device type . . . . :, , ,, , ,,Data class . . . . . :, , ,, , ,,,Organization . . . :,PS , ,Current Utilization, ,,,Record format . . . :,FB , ,,Used tracks . . . . :,992 ,,,Record length . . . :,223 , ,,Used extents . . . :,1 ,,,Block size . . . . :,32558 , ,,, , ,,,1st extent tracks . :,992 ,,, , ,,,Secondary tracks . :,150 ,,Dates, ,,,Data set name type :, , ,,Creation date . . . :,2012/08/03 (1) ,,, , , ,,Referenced date . . :,2017/02/15 (3) ,,, , , ,,Expiration date . . :,***None*** (2) ,,,SMS Compressible . :,NO , |
bauer wrote: |
Well, this datafield is just someone kind of a indicator for me, to identify old, unused datasets.
In the next loop of course additional checks are done, before deleting the datasets. |
output generated using printer-friendly topic mod. All times are GMT - 5 Hours