mainframe files will be created on daily basis in the format of hlq.slq.tld.m171114( the fourth qualifier is in the format MYYMMDD). These are not gdg versions . These are flat PS files. My requirement is to keep only 6 files at any point of time.so i need to delete the 6th old file whenever a new file is created so that i have only 6 files at any point of time.
is it possible to do using JCL ?
Thanks & Regards
Vemsan