Iam running CPYSPLF command to an output file once, I process the resultant output file thereafter when i move on to the next spool file by again running the CPYSPLf Command on the same output file which required existing data to be cleared and overwritten with the data received from the second CPYSPLF command.
When i run the CPYSPLF command the second time i get a message CPF9845 error occured while opening the output file. It asks me to use the MONMSG command. However using MONMSG results in bypassing of the CPYSPLF command.
How can i overcome this error and still run the CPYSPLF command the second time.