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 ->