Attached should be a .txt file with a description of the msg.
Are you using an OVRDBF to the file?
Are you running the call from within a CLP?
Can you post the code with the call to the RPG program.
Norm Dennis
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of John Mathew
Sent: Thursday, 23 August 2012 11:03 PM
To: Midrange Systems Technical Discussion
Subject: Error CPF4102
Hi All,
I have received below.
Message : Error message CPF4102 appeared during OPEN for file MMMXXXX (C S
D F)
Cause : RPG Procedure DDD009 in program XXXXXXXX/DDD009 received the message
CPF4102 while performing an implicit OPEN operation on file MMMXXXX. The
actual file is MMMXXXX.
I have dumped this program but when job runs again the job goes into MSGW.
Can some please suggest what is CPF4102 Error is and how to handle.
Thanks in advance
John
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2178 / Virus Database: 2437/5217 - Release Date: 08/22/12
Message ID . . . . . . . . . : CPF4102
Message file . . . . . . . . : QCPFMSG
Library . . . . . . . . . : QSYS
Message . . . . : File &2 in library &3 with member &4 not found.
Cause . . . . . : The file was not opened. The reason code is &6. The
reason codes and their meanings are as follows:
01 - The library does not exist.
02 - The file does not exist. The library does exist.
03 - The file does not exist. The library specified as *LIBL.
04 - The member was saved with storage freed.
05 - The member does not exist. The file does exist.
06 - The file does not have any members.
10 - The member on the remote system is not found.
14 - The member was saved with storage freed on the remote system.
15 - The member on the remote system does not exist. The file does exist.
16 - The file on the remote system does not have any members.
Recovery . . . : Do one of the following based on the reason code shown,
and try the request again:
01 - Change the library name with an Override Database File (OVRDBF)
command.
02 - Change the file name, the library name, or both the file name and
library name with an Override Database File (OVRDBF) command.
03 - Add the library to the library list (ADDLIBLE command) or change the
file name, the library name, or both the file name and library name with an
Override Database File (OVRDBF) command.
04 or 14 - Restore the file that contains the member (RSTOBJ command) or
delete the file (DLTF command) and recreate the file (CRTLF, CRTPF, or
CRTSRCPF command).
05 or 06 - Add a member (ADDLFM or ADDPFM command) or change the file
name, the library name, or the member name with an Override Database File
(OVRDBF) command.
10, 15 or 16 - Add a member (ADDLFM or ADDPFM command) or change the file
name, the library name, or the member name in the distributed data
management (DDM) file with a Change DDM File (CHGDDMF) command.
As an Amazon Associate we earn from qualifying purchases.