|
Reeve,
Since this is a SQLRPGLE, have you tried to use data structures for the
values portion, since you hard code the columns anyway.
---------------
A R TESTPF33
A*
A BWSTN 3P 0
A BWDPT 3P 0
A BWPER 3P 0
A BWCYDATE L
A*
A K BWSTN
A K BWDPT
A K BWPER
---------------
D DS DS
D BWSTN 3P 0
D BWCYDATE D
C/EXEC SQL
C+ SET OPTION COMMIT=*NONE
C/END-EXEC
C EVAL BWSTN = 979
C EVAL BWCYDATE = %DATE()
C/EXEC SQL
C+ INSERT INTO TESTPF33
C+ (BWSTN,BWCYDATE)
C+ VALUES(:DS)
C/END-EXEC
C SQLSTT DSPLY
C EVAL *INLR = *ON
C RETURN
Thanks, Matt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.