|
Often I'll see people use a dummy file when they want to retrieve some sql value or register, like C/EXEC SQL C+ select CURTIME from dummyfile into :MyVar C/END-EXEC The following should work instead: C/EXEC SQL C+ Values CURTIME into :MyVar C/END-EXEC http://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/db2/rbafzmstvalinto.htm#HDRVALINTO Rob Berendt -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin
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.