|
OK so next question(s)... Is the CL a CLP or CLLE?? Is the RPGLE run in the DFTACTGRP? If not, then what actgrp??? Thanks, Tommy Holden -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of steema@xxxxxxxxxxxxx Sent: Tuesday, May 30, 2006 8:44 AM To: RPG programming on the AS400 / iSeries Subject: RE: Problem w/ calling a multi-members file 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 notexist,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 moduleOERRPRM inprogram OERRPRM in library MYLIB. The exception occurred at line 1inview "ILE RPG Source View". Recovery . . . : See the job log to view the exception. Technical description . . . . . . . . : The program is stopped inline 1of view "ILE RPG Source View".It's a file not found error - check your file name. If you'respecifyingavariable for the file name, make sure it's correct. If it's a hardcodedfile 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 afilethat is multi - member. the name of the member, is the invoice number,whichI can get from the main file or via the subfile. what is very
strange
isthat the called program, seems to kick off w/out any logic. I haveadebug break on the call statement, but it still kicks off w/ this error message: Perhaps someone has seen this before. Message ID . . . . . . : RNX1216 Severity . . . . . . . :99Message type . . . . . : Diagnostic Date sent . . . . . . : 05/30/06 Time sent . . . . . . : 09:05:19 Message . . . . : Error message CPF4102 appeared during OPEN forfileREPAIRS. Cause . . . . . : RPG procedure OERRPRM in program MYLIB/OERRPRM received the message CPF4102 while performing an implicit OPEN operationonfile REPAIRS. The actual file is REPAIRS. Recovery . . . : Check the job log for a complete description
of
message CPF4102, and contact the person responsible for programmaintenance.If the file has a device type of SPECIAL, there may be no message in
the
joblog. -- This is the RPG programming on the AS400 / iSeries (RPG400-L)mailinglist 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)mailinglistTo 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) mailinglistTo 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 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.