On Tue, 26 Sep 2017 09:17:21 -0400, John Eells wrote: >ibmmain wrote: >> Brian >> >> Could you send us a sample how to run ICKDSF with the INIT parameter.... >> then its verified empty :) ><snip> > I suspect there was some mischief in Brian's suggestion.
>If you only want to verify that it *is* empty without deleting anything >that's left on the volume, something along the lines of DFSMSdss DUMP >DATASET INCLUDE(**) with PARM='TYPRUN=NORUN' will tell you whether any >data sets remain on the volume without actually dumping any data. > >IEHLIST LISTVTOC FORMAT will also show whether there are any data sets >on the volume. > Which of these avoid even a minuscule TOCTTOU hazard? >If you want to logically delete anything that's left, ICKDSF INIT will >do that, but it will not overwrite or erase the actual data (for which >there are other operations like INSPECT with CHECK and TRKFMT with >ERASEDATA). -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
