× 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: /INCLUDE directive
  • From: "Phil" <sublime78ska@xxxxxxxxx>
  • Date: Wed, 23 May 2001 11:43:57 -0400
  • Importance: Normal

Barbara,

I have both SF61918 and SF63132 and I still get the error whether I use
tgtrls *current, *prv, V4R3M0, V4R4M0, or V4R5M0. (*RNF3315 20     28 The
Name entry is already defined on a Definition).

My purpose for using /INCLUDE is so I can do verifies in Code/400.  Without
having the SQLCA defined, the VERIFY in Code/400 returns errors for
SQLRPGLE.  But, when I compile, if the SQLCA is defined I get the above
error.

/INCLUDE also isn't valid syntax in Code/400.  I initially thought it was a
reason I needed the SP1 service pack but after downloading and installing
the service pack, /INCLUDE still isn't allowed in Code/400.  I receive
RNF0274E Compiler directive not recognized, RNF7030E The name or indicator
SQLCOD is not defined.

Is anyone using /INCLUDE in SQLRPGLE?

In the interim I'm going back to using /COPY, and remembering to comment out
the line once I'm ready to compile.

Phil


-----Original Message-----
From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On
Behalf Of bmorris@ca.ibm.com
Sent: Tuesday, May 22, 2001 8:37 PM
To: RPG400-L@midrange.com
Subject: Re: /INCLUDE directive


>Date: Mon, 21 May 2001 12:08:36 -0400
>From: "Phil" <sublime78ska@yahoo.com>
>
>What's the earliest release this will work on?  Are there PTF's available
>for prior releases?
>
>I'm at V4R5 and I've found it works in CRTRPGMOD but not CRTBNDSQLI.

Phil, the earliest release for /INCLUDE (with PTFs) is V4R2.

The intention of /INCLUDE is that the SQL preprocessor wouldn't notice
it, but instead just pass it on to the RPG compiler.  So if CRTRPGMOD
likes it ok, it should work in CRTBNDSQLI.  The only thing I can think
of is that you have a different TGTRLS for CRTRPGMOD and CRTSQLRPGI.

PTFs:
V4R2M0  SF62167 tgtrls(*current)
V4R4M0  SF61918 tgtrls(*current)
V4R4M0  SF63132 tgtrls(*prv) and tgtrls(V4R3M0)

Maybe you need the tgtrls(*prv) PTF SF63132.

In a later message, you say that the source is still being expanded
by the compiler.  That's what is supposed to happen.  CRTSQLRPGI is
supposed to ignore it (you don't need a PTF for that part :) and
the compiler is supposed to treat it just like /COPY.

Barbara Morris

+---
| 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
+---


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.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 ...

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.