I was running one job, and suddenly, I got the error CPF4174. How can I resolve this error?
Sorry, you do not have permission to ask a question, You must login to ask a question.
Sorry, you do not have permission to ask a question.
I was running one job, and suddenly, I got the error CPF4174. How can I resolve this error?
CPF4174 error is OPNID for a file that already exists. Also, EDCL008 failed on message CPF4174, causing the Job to terminate.
This CPF4174 error comes in OPNQRYF.
You can use the
CLOF
command to close the file to resolve this error.CLOF OPNID(File)
CPF4174 error is
OPNID(&4) for file &1 already exists.
. The open query file (OPNQRYF) command opens a file for some set of records, and these records are accessed by an RPG program that shares the open data path (ODP). The path can be closed using the Close file (CLOF) command.