× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Did you see which program sent the diag msg?  On the message detail screen, 
press F9 to see which program the message was sent from....  I recon that it 
was not sent from your program.  

If I had to guess, I might suggest compiling this program without the 
OPTIMIZE(*FULL).  Debug does not function properly on fully optimized program 
objects.

hth,
Eric

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of
jmoreno@xxxxxxxxxxxxxxxx
Sent: Tuesday, February 13, 2007 1:53 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: QPPGMDMP - program request a spooled file - CPF4054



Hello RPG developers -

I have been experiencing this problem, and have not been able to find
the cause (or solution).

In the compilation of the program I requested an RPG Dump (Debug(*Yes))
in separate statements (part of the source code ...)
after compilation ... just using this skeleton ...:

CRTBNDRPG PGM(&ObjectLibrary/&ProgramName)
          SRCFILE(&SourceLibrary/&SourceFile)
          SRCMBR(&SourceMember)
          OPTION(*SRCSTMT *NODEBUGIO)
          OPTIMIZE(*FULL)
          REPLACE(*YES)
          USRPRF(*OWNER)
          AUT(*ALL)

and when running/executing  the program I receive this Diagnostic message.

Other than the compilation of the program .. I do not see how I used
the External definition of the Spooled file QPPGMDMP

Please see detail below


Thanks for your answers



                         Additional Message Information
 Message ID . . . . . . :   CPF4054       Severity . . . . . . . :   10
 Message type . . . . . :   Diagnostic
 Date sent  . . . . . . :   02/13/07      Time sent  . . . . . . :
14:47:04
 Message . . . . :   INDARA not matched between program and file QPPGMDMP
in
   library QSYS.
 Cause . . . . . :   The program was compiled with externally described
file
   QPPGMDMP that had the INDARA attribute, but opened file QPPGMDMP which
is
   program described.  The file that the program expected and the file that
the
   program opened are not the same.  Either the expected file was
overridden to
   the opened file, or the expected file was deleted, and then created
again
   with a different INDARA attribute.
 Recovery  . . . :   Create the file and/or program again so the file and
   program match.







Jorge Moreno
Overseas Military Car Sales
Woodbury, New York

Confidentiality Notice:This email, including its attachments, may contain
information that is confidential and may be protected by federal and/or
state
laws and regulations, or other confidentiality privileges.  This email,
including its attachments, may contain non-public information; therefore it
is
intended to be conveyed only to the designated recipient(s).  If you are
not an
intended recipient, please delete this email, including its attachments,
and
notify the sender.  The unauthorized use, dissemination, distribution or
reproduction of this email, including its attachments, is prohibited and
may be
unlawful.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.