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


  • Subject: RE: Hooking display file I/O
  • From: "Joe Pluta" <joepluta@xxxxxxxxxxxxxxxxx>
  • Date: Sun, 5 Aug 2001 12:42:53 -0500
  • Importance: Normal

Leif, I've finished the basics of converting 5250 I/O to HTML.  For the most
part, I can emulate a 24x80 display file with an API that communicates using
the buffers of data and indicators that would normally be sent to the
display file.  There are keywords I'm not supporting, mostly the "GUI
emulation" features, but on the whole I'm handling a good percentage of the
keywords used (at least those used by my clients).  I'm finishing off the
INFDS support and the optional cursor positioning emulation (optional
because it requires JavaScript on the client, and adds a lot of overhead).

In any event, my technique involves modifying the HLL program to call an API
rather than execute the I/O operation codes.  This works quite well, but
won't work for programs without source, such as IBM supplied commands.  This
is where it was suggested that I might be able to hook into the SEPT.  It
seems to me that, as long as I do indeed respect the calling conventions, I
should be able to redirect the data to my APIs.

I fully understand that it is not a weekend project.  When I said CFT, it
was partly tongue-in-cheek, because everything I do is in my CFT.  But it
also seems that successfully completing this will entail learning quite a
bit about the system, which is always one of my primary goals.

Joe



> -----Original Message-----
> From: owner-mi400@midrange.com [mailto:owner-mi400@midrange.com]On
> Behalf Of Leif Svalgaard
> Sent: Sunday, August 05, 2001 11:36 AM
> To: MI400@midrange.com
> Subject: Re: Hooking display file I/O
>
>
>
> ----- Original Message -----
> From: Joe Pluta <joepluta@PlutaBrothers.com>
> To: <MI400@midrange.com>
> Sent: Sunday, August 05, 2001 10:57 AM
> Subject: Hooking display file I/O
>
>
> > One of my CFT (Copious Free Time) projects is going to be looking into
> > hooking the SEPT for display file I/O.  Has anybody done something like
> > this?  Please recognize that I'm an asbolute neophyte, and
> haven't a clue.
> > Is this project bigger than a breadbox?
> >
>
> Joe,
> Hooking the SEPT is easy (there is a complication in V5R1 but it can be
> overcome). The difficulty is what you do next. And *that* depends on what
> you want to do overall. do you want to do your *own* I/O, to just monitor
> the activity, to redirect the requests to some other program, etc. In any
> case you must respect the calling conventions. The project has been
> done so is not insurmountable, but it is also not a "weekend"
> play-project.
>
> Tell us more...
>
>
> +---
> | This is the MI Programmers Mailing List!
> | To submit a new message, send your mail to MI400@midrange.com.
> | To subscribe to this list send email to MI400-SUB@midrange.com.
> | To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
> dr2@cssas400.com
> +---
>

+---
| This is the MI Programmers Mailing List!
| To submit a new message, send your mail to MI400@midrange.com.
| To subscribe to this list send email to MI400-SUB@midrange.com.
| To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: dr2@cssas400.com
+---

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.