On 5/19/2015 10:03 AM, Kelly Cookson wrote:

A utility might work. But what technologies would the utility use?

And what about cases where we want to perform some complex business logic in generating the JSON response? I really hate working with beastly SQL statements. I find them harder to understand and harder to debug than other programming languages.

And what if we want to make use of other IBM i data resources such as data areas, data queues, spooled files, or IFS files?

I am an RPG programmer, and I do almost all of the things you mention
using DB2 stored procedures written in RPG. Essentially, one writes a
regular program with a parameter list that matches what DB2 expects to
see, and then register that as a stored procedure via CREATE PROCEDURE
LANGUAGE RPGLE. Or, in your case, COBOLLE. Anything you can do in a
batch program can be exposed as a stored procedure with a little work.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.