Re: What is wrong?
- From: Jonathan Ball <notgenx32@xxxxxxxxx>
- Date: Thu, 24 Jan 2008 12:53:11 -0800 (PST)
On Jan 24, 12:43 pm, CRPence <crpe...@xxxxxxxxxxxx> wrote:
The /EXEC SQL and /END-EXEC are not RPG, they are tags to denote what
a pre-compiler is supposed to convert into RPG. They are directives to
the SQL precompiler, that the upcoming and prior source is to be
interpreted as embedded SQL source, rather than as RPG source. Use
CRTSQLRPGI OBJTYPE(*MODULE) to create an SQLRPG module.
The original poster isn't having trouble with the embedded SQL. His
problem is ILE and RPGLE concepts: he has a subprocedure in his code,
and no way of calling it. Look again.
[...]
.
- Follow-Ups:
- Re: What is wrong?
- From: CRPence
- Re: What is wrong?
- References:
- What is wrong?
- From: qgenesist
- Re: What is wrong?
- From: Saml
- Re: What is wrong?
- From: Hauser@xxxxxxxxxxxxxxx
- Re: What is wrong?
- From: qgenesist
- Re: What is wrong?
- From: CRPence
- Re: What is wrong?
- From: qgenesist
- Re: What is wrong?
- From: CRPence
- What is wrong?
- Prev by Date: Re: IBM Director and i5/OS message queues
- Next by Date: Re: What is wrong?
- Previous by thread: Re: What is wrong?
- Next by thread: Re: What is wrong?
- Index(es):
Relevant Pages
|