Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
------------------------------<snip/>
message: 6
date: Fri, 23 May 2008 09:37:41 -0500
from: Doug Palme <>
subject: Re: Question on SQL Table (DDL) with date and
time fields
I did not use fix format :)
Exec sql
insert into Pharmcrd (Phacctno, PhDiv, PhVndno, Phcrmno,
PhCrmdt, Phcrmamt, Phcrmddt,
PhDocTyp,
PhVndtrm, Phclccrd, PhOvrAmt)
Values(
:Wacctno, :Wacctdiv, :Wvndno,
:Wcrdmno,
:Zcrdmdt, :Wcrdmamt, :Wduedt,
:WDocTyp,
:Wvndtrms, :Wclccstcrd, :WOvrAmt);
SEU craps out on the Exec Sql line....as I said though,
it compiles just
fine....so it has to be the editor.......
We are going to be moving to the gui interface....and
what little I have
used it, its cumbersome and clunky.....
From:
To:
RPG programming on the AS400 / iSeries
<rpg400-l@xxxxxxxxxxxx>
Date:
05/23/2008 09:26 AM
Subject:
Re: Question on SQL Table (DDL) with date and time fields
SEU? Gee, I hadn't used that in awhile. Let me fire it
up. Oops Ctrl-F
didn't work to find SQL. Let's see... oh yeah, F16.
Typed in this:
/free
exec sql select bubba into :bubba from myfile where
mykey=:mykeyfld;
and SEU didn't blow me any grief. But on the last line
of this it does
/free
exec sql select bubba into :bubba from myfile where
mykey=:mykeyfld;
/end-free
/EXEC SQL
H'mm. Stop using fixed format?
Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
Doug Palme
Sent by:
05/23/2008 09:42 AM
Subject
Re: Question on SQL Table (DDL) with date and time fields
One thing I noticed though with /FREE and embedded sql is
that the SEU
editor balks at the EXEC SQL line......
You would think that IBM would have ensured no
problems......
From:
Luis Rodriguez
To:
rpg400-l@xxxxxxxxxxxx
Date:
05/22/2008 08:58 PM
Subject:
Re: Question on SQL Table (DDL) with date and time fields
Bruce,
It is available to V5R3 users, too, thru PTFs.
Regards,
Luis Rodriguez
"+"
------------------------------
message: 3
date: Thu, 22 May 2008 17:33:27 -0400
from: R Bruce Hoffman <bruce>
subject: Re: Question on SQL Table (DDL) with date and
time fields
Free format is V5R4, there are no C's in column 6, no
signs in
column 7 and instead of end-exec, you use a semi-colon,
but you still
use EXEC SQL to begin the statement.
Doug Palme wrote:
I appreciate that Luis, and that very well may be theway I
go....especially since I am so far unable to get theembedded SQL to work
in free format, and I am not going to change thatLOL.......
direction.
I am liking free far too much to go back the other
Luis Rodriguez
IBM Certified Systems Expert
eServer i5 iSeries Technical Solutions
This mailing list archive is Copyright 1997-2026 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.