Did you make the file UsrOpn?

if not, and the ExtMbr variable is blanks, you might get this error 
(haven't checked but my gut feeling suggests it)

Also the "implicit" open suggests that your file is opened automagically 
when the program is started, whereas a UsrOpn file will be "explicitly" 
opened.

HTH,

Peter Colpaert
Application Developer
PLI - IT - Kontich, Belgium
-----
Yoda of Borg are we.  Futile is resistance, assimilated will you be.
-----



steema@xxxxxxxxxxxxx 
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
30/05/2006 15:16
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
"RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
cc

Subject
Re: Problem w/ calling a multi-members file






Yes but the file does exist. The issue is that the member does not exist,
I think.

this is the called program error


Message ID . . . . . . :   CPF9C32       Severity . . . . . . . :   40
Message type . . . . . :   Diagnostic
Date sent  . . . . . . :   05/30/06      Time sent  . . . . . . : 09:05:19

Message . . . . :   Unmonitored exception at line 1
Cause . . . . . :   An unmonitored exception occurred in module OERRPRM in
  program OERRPRM in library MYLIB. The exception occurred at line 1 in 
view
  "ILE RPG Source View".
Recovery  . . . :   See the job log to view the exception.
Technical description . . . . . . . . :   The program is stopped in line 1 
of
  view "ILE RPG Source View".


It's a file not found error - check your file name. If you're specifying 
a
variable for the file name, make sure it's correct. If it's a hard coded
file name, check your F spec.

On 5/30/06, steema@xxxxxxxxxxxxx <steema@xxxxxxxxxxxxx> wrote:

HI if you recall, I have to find the comments for a repair in a file
that
is multi - member. the name of the member, is the invoice number, which
I
can get from the main file or via the subfile. what is very strange is
that the called program, seems to kick off w/out any logic. I have a
debug
break on the call statement, but it still kicks off w/ this error
message:

Perhaps someone has seen this before.


Message ID . . . . . . :   RNX1216       Severity . . . . . . . :   99
Message type . . . . . :   Diagnostic
Date sent  . . . . . . :   05/30/06      Time sent  . . . . . . :
09:05:19

Message . . . . :   Error message CPF4102 appeared during OPEN for file
  REPAIRS.
Cause . . . . . :   RPG procedure OERRPRM in program MYLIB/OERRPRM
received
  the message CPF4102 while performing an implicit OPEN operation on
file
  REPAIRS. The actual file is REPAIRS.
Recovery  . . . :   Check the job log for a complete description of
message
  CPF4102, and contact the person responsible for program maintenance.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.