×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




So RPG is opening the file. This occurs at initialization time. So the
file/member name that's being overridden to doesn't exist in the library
list.

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

Perhaps there is a problem in the F spec.

I have it as

IF E    DISK


What is so strange here is that the program is off by itself. I call a CL
that does have the OVRDBF, to this file, w/ the passed member-name.



> AND it could be that you have a different file that you are expecting in
> your library list that does not contain the specified member....
>
>
> Thanks,
> Tommy Holden
>
>
> -----Original Message-----
> From: rpg400-l-bounces@xxxxxxxxxxxx
> [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Ryan
> Sent: Tuesday, May 30, 2006 8:27 AM
> To: RPG programming on the AS400 / iSeries
> Subject: Re: Problem w/ calling a multi-members file
>
> Yup...the message text for a CPF4102 is: File &2 in library &3 with
> member
> &4 not found. So you're right, the member that you're specifying doesn't
> exist. Check your file/member name. It's probably blowing up on
> invocation
> because you're having RPG open the file. If you specified USROPN as a
> File
> spec keyword, the program would blow up at the OPEN statement.
>
> On 5/30/06, steema@xxxxxxxxxxxxx <steema@xxxxxxxxxxxxx> wrote:
>>
>> 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.
>> >> If
>> >> the
>> >>   file has a device type of SPECIAL, there may be no message in the
> job
>> >> log.
>> >>
>> >> --
>> >> This is the RPG programming on the AS400 / iSeries (RPG400-L)
> mailing
>> >> list
>> >> To post a message email: RPG400-L@xxxxxxxxxxxx
>> >> To subscribe, unsubscribe, or change list options,
>> >> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
>> >> or email: RPG400-L-request@xxxxxxxxxxxx
>> >> Before posting, please take a moment to review the archives
>> >> at http://archive.midrange.com/rpg400-l.
>> >>
>> >>
>> > --
>> > This is the RPG programming on the AS400 / iSeries (RPG400-L)
> mailing
>> list
>> > To post a message email: RPG400-L@xxxxxxxxxxxx
>> > To subscribe, unsubscribe, or change list options,
>> > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
>> > or email: RPG400-L-request@xxxxxxxxxxxx
>> > Before posting, please take a moment to review the archives
>> > at http://archive.midrange.com/rpg400-l.
>> >
>> >
>>
>> --
>> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
> list
>> To post a message email: RPG400-L@xxxxxxxxxxxx
>> To subscribe, unsubscribe, or change list options,
>> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
>> or email: RPG400-L-request@xxxxxxxxxxxx
>> Before posting, please take a moment to review the archives
>> at http://archive.midrange.com/rpg400-l.
>>
>>
> --
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
> list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
>
>
> --
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
>
>

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



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-2026 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.