|
I was just recently tasked with creating stored procedures for a new server based application with the data stored on the AS400 (host) basically, we added an sql statement to return the data to the calling VB programs. the basics are: write an sqlrpg program that collects data and stores it into a data structure keeping count of the number of occurances. after all of the data is collected execute the following sql statements to return the data to the calling client application. C** C/EXEC SQL C+ SET RESULT SETS ARRAY :DataStructure FOR :Counter ROWS C/END-EXEC * Ronald Nance Commerce Insurance Group Webster, MA. 01570 (508) 943-9000 Ext: 4078 rnance@commerceinsurance.com +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.