|
Try adding some debug information: C/Exec SQL c+ declare MyCursor cursor for C+ SELECT soptno, soptcl, SOKDL2, SOKDL3, ... C/End-Exec /free dsply sqlstt; dsply sqlcod; /end-free C/exec SQL c+ open MyCursor c/end-exec /free dsply sqlstt; dsply sqlcod; /end-free c/exec sql c+ fetch MyCursor into :curptno, :curptcl, :curkym, :curkrrn, :cursqty c/end-exec /free dsply sqlstt; dsply sqlcod; /end-free C/Exec SQL C+ Close MyCursor C/End-exec /free dsply sqlstt; dsply sqlcod; /end-free and so on... Rob Berendt
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.