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


  • Subject: RE: RPG to RPGLE conversion error
  • From: "DeLong, Eric" <EDeLong@xxxxxxxxxxxxxxx>
  • Date: Thu, 29 Mar 2001 14:53:56 -0600

James,
This sounds a little strange to me. As far as I know, if you have the ILE
enabled compiler, then you also have the OPM compiler. One thing that jumps
out at me is the command you listed. CRTRPGPGM is the command to create OPM
objects, not CRTRPGPRG. You might want to try compiling your OPM source
again with the correct command.

Eric DeLong

-----Original Message-----
From: James Jim Lundy [mailto:jlundy@rbnet.com]
Sent: Thursday, March 29, 2001 2:45 PM
To: rpg400 midrangecom
Subject: RPG to RPGLE conversion error



        I have a program that will not run after using CVTRPGSRC and
recompiling as
RPGLE.
        Am at V4 R3.

        I would leave it alone except I need to move to another 400 that
does not
have CRTRPGPRG cmd.
        Their compiler will only handle RPGLE.

        MSGID in the following code now has 'CPF2101' object type invalid.
        ERROR has '*FILE'.
        Purpose of code is to test existence of file.

C                   CALL      'QUSROBJD'
C                   PARM                    RCVVR2
C                   PARM      100           RCVLEN
C                   PARM      'OBJD0100'    FILFMT            8
C                   PARM                    FILLIB
C                   PARM      '*FILE'       OBJTYP            8
C                   PARM                    ERROR
C     MSGID         IFNE      *BLANKS
C                   EXSR      SNDMSG
C                   GOTO      END
C                   ENDIF

        Thanks



James (Jim) Lundy
mailto:jlundy@rbnet.com

James (Jim) Lundy
mailto:jlundy@rbnet.com

V (540) 265-2179
F (540) 265-2051
Friendship Manor Inc.
Roanoke, Va

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.