× 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.



I did a session at the 2012 COMMON conference - called something like Extending the reach of RPG - it has snippets out of a rudimentary database handler. Anyone interested, contact me offlist - I can probably find it quickly.

Vern

On 8/13/2012 12:53 PM, Jerry C. Adams wrote:
Jon and Susan wrote an article or more about Open Access for IBM System
Magazine (www.ibmsystemsmag.com). I did a quick search and came up with
this one: http://tinyurl.com/JonSusanOA . There may be more.

I think there were a few articles about it in iProDeveloper.com but can't
remember if it was Scott or someone else who wrote it/them. IT Jungle,
also, has some articles. But you get the idea. Google is your friend - if
you use the site: parameter.


Jerry C. Adams
IBM i Programmer/Analyst
Murphy works for Microsoft. In fact, he is in charge of their QA.
--
A&K Wholesale
Murfreesboro, TN
615-867-5070


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Barbara Morris
Sent: Monday, August 13, 2012 12:39 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Open Access RPG

On 8/13/2012 1:22 PM, Gqcy wrote:
I have the PTF applied (SI45903).

Is there an example program (programs) that can showoff the product?
(maybe a little more than "hello world" in a browser???j)

Here's some small samples. Probably not what you were expecting. They are
only intended to demonstrate the linkage between the RPG program and the
handler. They don't anything exciting, and for sure they don't do anything
as gigantic as "hello world" in a browser. ("hello world" vs a "real"
browser application is similar to a non-paved bridge vs a paved bridge.
There's no such thing as a little starter bridge that anyone can quickly
build and try.)

https://www.ibm.com/developerworks/mydeveloperworks/wikis/home?lang=en#/wiki
/We13116a562db_467e_bcd4_882013aec57a/page/Open%20Access%20samples

Open Access doesn't contain any function for putting content in a browser,
or for doing anything else. It only _enables_ getting to that function using
RPG I/O opcodes.

Basically, Open Access is just a conduit that passes I/O data between the
RPG program and a "handler". It is the handler that does things like show
"hello world" in a browser, and Open Access doesn't contain any handlers.

Another way to look at it is that it turns I/O opcodes into a call to your
handler. Then it's the handler that does _all_ the magic like connecting to
a browser or accessing a remote database or working with a data queue. Open
access just makes it super-easy to call the handler.

--
Barbara
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.



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.