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



Roger, thanks for the reminder.

This example shows how to build a handler to read from the IFS. It
incorporates code from Scott Klement's IFS downloads ("I didn't build
that").

http://www.web400.com/downloads/OARPG/CreateIFSHandler.pdf

http://www.web400.com/downloads/OARPG/RPGOA.zip (the example code files)

Craig Pelkie

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Roger Harman
Sent: Monday, August 13, 2012 10:46 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Open Access RPG

Craig Pelkie did a session (walked you through it - step by step) at the
OCEAN Tech Conference last month. Not sure if the info is available online
(a quick search didn't turn it up). Maybe Craig will see this and
respond.......


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Barbara Morris
Sent: Monday, August 13, 2012 10:39 AM
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.


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