Article View: comp.os.os2.programmer
Article #3527Re: Can a REXX prog recognize redirection?
From: Pat Mueller
Date: Fri, 22 Jan 1993 16:11
Date: Fri, 22 Jan 1993 16:11
12 lines
818 bytes
818 bytes
>Is there a way for a REXX program to recognize when stdin >is being redirected from a file or pipe instead of being >read from the keyboard? What you're looking for is the rexx equivalent of the C API DosQueryHType(). I don't know of one available from IBM. It wouldn't be too difficult to write a function DLL that implemented one though (the toolkit has source for the REXXUTIL function package you could use as a basis). Patrick Mueller addr: pmuellr@vnet.ibm.com IBM Cary, North Carolina phone: 919-469-7242
Technical Details
Message-ID:
<19930122.081454.949@almaden.ibm.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.comShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.com From: pmuellr@vnet.ibm.com (Pat Mueller) Message-ID: <19930122.081454.949@almaden.ibm.com> Date: Fri, 22 Jan 93 11:11:29 EST Newsgroups: comp.os.os2.programmer Subject: Re: Can a REXX prog recognize redirection? Lines: 12