|
I'd be really curious to know how the member got removed in the first
place. I know that if my member got removed I'd be really disconcerted.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: John Mathew <johnmathew400@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>,
Date: 08/24/2012 01:47 PM
Subject: Re: Error CPF4102
Sent by: midrange-l-bounces@xxxxxxxxxxxx
Hi Rob,
I have added member to file using ADDPFM and it worked.
Thanks a lot.
John
________________________________
From: "rob@xxxxxxxxx" <rob@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Thursday, 23 August 2012 11:50 PM
Subject: Re: Error CPF4102
Yes.
A member missing from a file is not normally something an operator is
supposed to guess how to fix. So doing something like ADDPFM and adding a
member with the same name as the file may, or may not, work. Some work
files often have members named after batches. Like a GL transaction file
with batch members from APPOST, ARPOST, SUSIE, etc. I worked with one
software vendor who even had a batch control file to keep track of these.
Often haphazard guesses to patch stuff like this can leave you looking
like Mickey Mouse in the snippet "The Sorcerer's Apprentice" from Disney's
"Fantasia".
Then there are some who feel that, in general, multiple member files are
the devil's spawn. One possible technique (all risks, as usual, are your
own) is to look back at that DSPFD again. If the "Maximum members" is 1
then it may be possible that it just needs a member named after the file.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com/
From: John Mathew <johnmathew400@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>,
Date: 08/23/2012 02:03 PM
Subject: Re: Error CPF4102
Sent by: midrange-l-bounces@xxxxxxxxxxxx
I just checked with DSPFD the number of members is Zero.
Does this mean the file has no members in it.
Please suggest.
________________________________
From: "rob@xxxxxxxxx" <rob@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Thursday, 23 August 2012 11:22 PM
Subject: Re: Error CPF4102
More likely this means the whole file is missing. In that joblog, if you
press F1 on that message, it should display the reason code. That will
help more. It may also say something like "if the member name is *N
then...".
From a command line you can also tryDSPFD FILE(XX10176485/C050812)
If that fails then it's because of one (or more) of these reasons:
- The library does not exist.
- You do not have access to the library
- The file does not exist
- You do not have access to the file
- You had a typo
If that works, then go to the bottom and it will list the members
contained in the file.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com/
From: John Mathew <johnmathew400@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>,
Date: 08/23/2012 01:42 PM
Subject: Re: Error CPF4102
Sent by: midrange-l-bounces@xxxxxxxxxxxx
As Rob and others suggested.
I took GO TECHHELP and followed the steps.
Below is the error message I am getting.
File C050812 in Library XX10176485 with member *N not found.
Error message CPF4102 appeared during OPEN for file JJJJABCJ
Does this mean there are NO Members in a File and program is processing
with a members?
Thanks in advance
________________________________
From: "rob@xxxxxxxxx" <rob@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Thursday, 23 August 2012 8:55 PM
Subject: Re: Error CPF4102
First, when the job is running look at the joblog. Some simple steps:
GO TECHHELP
1. Display messages for the system operator
position to message
Press F1
F9=Display message details
From job . . . . . . . . . . . : MYJOBUser . . . . . . . . . . . . : MYUSERID
Number . . . . . . . . . . . : 985827
Then, from a command line, do:
DSPJOBLOG JOB(985827/MYUSERID/MYJOB)
You should see the message CPF4102 in full context.
To see it out of context you can do
DSPMSGD CPF4102
File &2 in library &3 with member &4 not found
Basically, you're missing one of these three
- a member within a file
- the whole file itself
- the whole library
How to resolve this will depend on your application developer.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com/
From: John Mathew <johnmathew400@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>,
Date: 08/23/2012 11:08 AM
Subject: Error CPF4102
Sent by: midrange-l-bounces@xxxxxxxxxxxx
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.
--
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.
--
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.
--
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.
--
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.
--
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.
--
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.
--
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.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.