I have to remove members which are were created before six months from two physical files in a single CL program if the member size is reached in physical files.
I am creating outfile using DSPFD command and then deleting records that are created before 6 months.
EHUBTMP and EHUPTMP will be the temporary outfiles.
Physical files from which members to be deleted are EHUB and EHBP.
Can someone please give me pseducode for this?
In DCLF (declare file) command how should I declare the files ->
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!