|
One thing to note is that performance of DYNSQL is going to be worse than with actual embedded SQL. Particularly when it come to static SQL statements, ie. the fields returned and files access don't change each time the program is run. So do you have to code with WDSCi/SEU to? Charles Wilt -- iSeries Systems Administrator / Developer Mitsubishi Electric Automotive America ph: 513-573-4343 fax: 513-398-1121
-----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of JK Sent: Friday, September 08, 2006 2:12 PM To: rpg400-l@xxxxxxxxxxxx Subject: ISTKT & DYNSQL vs. 5722ST1 SQL Development Kit All, Our iSeries shop is small, with an even smaller software budget so purchasing the IBM SQL precompiler (5722ST1) simply isn't going to happen. We've muddled by with OPNQRYF and ASC's "Sequel" product (which is a great tool) but without the ability to embed 'Select' statements into RPG or CL, we've not been able to take full advantage of SQL. Until yesterday, that is, when I girded my loins, plunged into that scary SourceForge site, imported the "iSeries toolkit" and stayed up past midnight playing with DYNSQL. It appears that DYNSQL will enable me to build dynamic SQL statements, declare cursors and fetch results directly into RPG and CL. What more could a guy want? DYNSQL requires a slightly different syntax than IBM's precompiler, but those are just technical details, right? So I'd like to: 1) say thanks to David Morris and his compadres for making this available, and 2) ask whether anyone else has used DYNSQL instead of IBM's offering and what differences I should be aware of (other than syntax) between the two products. The goal is not to chuck all the native I/O, but to enhance it where the payback is greatest. Count(*) and Sum(amount) now become easy, as well as dynamic sorting and filtering of subfiles. Many thanks, JK -- 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.
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.