Thanks Reggie. I wonder if this is also a problem in V5R4. I've also
found another problem with using likerec as PI in procedure that uses
embedded SQL. I've create another thread with subject "SQL runtime not
function correctly when using field in a likerecdatasturcure as host
variable"
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Reggie Acosta - El
Monte
Sent: Monday, May 12, 2008 6:08 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: RE: SQL precompile not function correctly when likerec is used
as PI
I get the same error. Also at v5r3.
Saw wrong datastructure subfield definitions in generated source (in
source file QSQLTEMP1). End position for SQL_00005 is wrong and both
start and end positions for SQL_00006 are wrong. Could be missing PTF
too.
DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords++++++++++++++++++++++++++
+++Comments++++++++++++
D DS
OPEN
D SQL_00000 1 2B 0 INZ(128)
length of header
D SQL_00001 3 4B 0 INZ(2)
statement number
D SQL_00002 5 8B 0 INZ(0)
invocation mark
D SQL_00003 9 9A INZ('0')
data is okay
D SQL_00004 10 128A
end of header
D SQL_00005 129 128A
PIFIELD1
D SQL_00006 129 128A
PIFIELD2
Reggie
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.