I have written this program since i hwanted only those spooled files to be deleted whose status is either HLD
and I don’t think without a program this could have been possible.
following command will delete all spool files for user JKJK
DLTSPLF FILE(*SELECT) SELECT(JKJK)
but what if i want to
delete only those whose staus is either HLD or RDY.
Please correct me if tit could also have been done in other way or in other programming approach or through some other
logic without creation of Logical file and flat file.