TIP: Click on subject to list as thread! ANSI
echo: os2bbs
to: Peter Knapper
from: Roy J. Tellason
date: 1999-01-09 10:29:00
subject: OS/2 Event utility?

Peter Knapper wrote in a message to David Calafrancesco:

 PK> Hi David,

 DC> I would like to echo the other response, can we see 
 DC> some examples please?

 PK> Ok, now I am back at the machine, here are 2 methods that could 
 PK> be used to communicate between 2 different tasks using REXX 
 PK> under OS/2, instead of using FLAG files. 

Thanks for posting this,  as this is exactly the sort of thing I've been looking for.



 PK> Using PIPES is a bit more complicated, but they do have some 
 PK> useful features such as being able to be used over a LAN 
 PK> between machines. 

I'd wondered what the tradeoffs were.  Since I am also putting together a
LAN in the near future I will probably take this approach to give me the
most flexibility.

 PK> To use PIPES, you need to add an external REXX feature DLL that 
 PK> provides decent PIPE handling. I am aware of 2 comonly 
 PK> available DLLS for PIPES and QUEUES -
 PK>  1. YDBAUTIL. This package is available from HOBBES as 
 PK> RXUnn.ZIP, the last version I saw there was RXU19.ZIP, although 
 PK> I have used RXU13.ZIP. This is my preferenced tool, its from 
 PK> the IBM EWS (Employee Written S/W) suite and can be very useful.

I have two files here:

rxu11.zip        106891 ZI2 21-Jun-93 23:21
rxx19.zip        151631 ZI2 03-Feb-94 00:04

These are not at all the same thing.

 PK>  2. REXXLIB from Quersus Systems. This is a shareware product  
 PK> that is possibly a bit easier to use, so I have used this one 
 PK> for the following demo code. I normally use YDBAUTIL though.

Perhaps the second file is the one you refer to here.  The first one
contains the util you mention,  though it looks like maybe I should snag a
slightly newer version?



 PK> NOTE: In BOTH cases, the SERVER code must be started before the 
 PK> CLIENT code is run, or unexpected results may appear.

I'm wondering if this is going to be a problem when both cmd files are
invoked on system startup.

 PK> If anyone wishes to take these further, I recommend the OS/2 
 PK> REXX Echo, there are plenty of people there who can provide a 
 PK> lot of the finer points about using QUEUES and PIPES and how 
 PK> they relate to REXX than I can.

I carry that echo here,  though I haven't seen much traffic in there
lately.  It's moving day,  though,  and it'll be a while before I can get
back into the swing of things.  If you're in there,  perhaps I'll post
questions to you once I get back online...

ttyl

email: roy.j.tellason%tanstaaf{at}frackit.com 
--- 
* Origin: TANSTAAFL BBS 717-???-???? (1:270/615)
SEEN-BY: 396/1 632/0 371 633/260 262 267 270 284 371 634/397 635/444 506 728
SEEN-BY: 639/252 670/218
@PATH: 270/615 720 211 101 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.