|
the SET OPTION is not mandatory...but is much better than trying to
remember and manually key them in on the compile options 8^)
Thanks,
Tommy Holden
From:
Pete Helgren <Pete@xxxxxxxxxx>
To:
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Date:
12/05/2008 10:10 AM
Subject:
Re: Supported Syntax in SQLRPGLE in V6R1. Changed?
Sent by:
rpg400-l-bounces@xxxxxxxxxxxx
Even if none were ever used before? That is, is the Set Option now a
required entry in an SQLRPGLE program? I usually set the options at-
compile time.
Pete
Helge Bichel wrote:
The SQL Set Option has to appear first in the source when on V5R4.mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Vern Hamberg
exec Sql
Set Option Commit = *NONE, CloSQLCsr = *ENDMOD;
Brgds
Helge
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [
Sent: Friday, December 05, 2008 5:38 AM
To: RPG programming on the IBM i / System i
Subject: Re: Supported Syntax in SQLRPGLE in V6R1. Changed?
Pete
There is something about stuff that has to appear first in source now
Butmight have started in V5R4 - I hope this tickles someone's memory.
source.it is like DECLARE CURSOR and such need to be at the top of the
I dunno!
Vern
Pete Helgren wrote:
Well, I don't get it. Seems like there is something different about
tothe
way host variables are defined and used since V5R3M0. I went back
outusing the 270 I have at V5R3M0 so I could get this fix compiled and
memberto the customer but it is awfully strange that an SQLRPGLE source
wouldfrom a V5R3M0 box can't be pulled over and compiled in V6R1M0.
Once I get this out to the customer, I'll call IBM. Seems like it
be something simple but after searching all afternoon on the 'Net, I
wrote:haven't found anything promising.
Pete
Brian Johnson wrote:
On Thu, Dec 4, 2008 at 3:17 PM, Pete Helgren <Pete@xxxxxxxxxx>
for
Thanks Brian.Sorry, I'm not there yet, still working at V5R3. The work-around
Do you know if host variable use changed in 6.1?
acceptthe
problem I'm thinking about was to use CRTSQLRPGI GENLVL(30) to
the
default was'error' and allow the compile to continue. Perhaps your command
changed at V5R3 but hasn't been propagated to the V6 box.
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.