× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Because while you are using it for the task you have set yourself it is irrelevant to the question at hand.

httpgetclob was completely unrelated to the issues you had - it is just a way of getting the data. For example suppose that you had used HTTPAPI to connect to the web service - the json would have been in a variable. Suppose that it had previously arrived in a cvs and been copied via CPYFMIMPF to a table and then retrieved by CHAIN. You wouldn't be expecting comments on HTTPAPI or on CHAIN would you?



On Nov 18, 2019, at 2:29 PM, Booth Martin <booth@xxxxxxxxxxxx> wrote:

First, thank you. I appreciate this. A lot. Today Booth will be learning about "coalesce."

Nagging question: I am not seeing httpgetclob being mentioned. Why not? Is no one using it regularly?


On 11/18/2019 11:44 AM, Tim Fathers wrote:
I've knocked up an extremely simple embedded SQL example here that might be helpfulhttps://github.com/fathert/json-rpg-example

You can deal with your issue below by coalescing away the nulls, as in my example above, or by adding null indicator fields to the fetch. If you want an example of this I can change or add this.

Tim.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.