Hi, David:

Check out the Virtual Terminal APIs.  They are non-trivial, but 
they do what you want.

I hope this helps.

Dennis




david.gibbs@silvon.com <devdmg on 17/10/97 17:41:58
To: midrange-l <midrange-l@midrange.com> @ INTERNET
cc:  
Subject: Redirecting workstation IO

------- Forwarded Message Follows -------
From:          "Brad Sommerfeld" <Brad.Sommerfeld@Silvon.com>
Date:          Fri, 17 Oct 1997 14:47:24 +0000
Subject:       Help: need information on AS/400 functions
Priority:      normal

Is anyone aware of a technique to override a workstation file in an
RPG program to another type of file?

By default, the read/write operations to a WORKSTN file are handled by
the system.  I would like to 're-direct' those read/writes to another
program and talk to an RPG program as if my other program was the
system display handler.  

One thought is to try and override the WORKSTN file with another file
that another program is reading/writing to.  There may also be API's
to do this directly.

I don't want to work with the 5250 data stream sent to the screen, but
with the data in the WORKSTN file formats that is used to generate the
5250 datastream. 

Any ideas?   I have not searched IBM manuals yet.  If you know where
to look, that would be helpful also.

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2019 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].