[comp.os.os2.misc] REXX and LAN Servers

larrys@watson.ibm.com (06/14/91)

Anthony Green (green@roboco.uucp) sent me a note asking me about REXX
.CMD files on a LAN Server, but everytime I try to send a reply, the mail
bounces for some reason.

So...Here are the responses from the IBMers.  I don't know if I needed to
clear this with anyone before posting it, but I don't see any information
that is confidential, trade secrets, etc..

Cheers,
Larry Salomon, Jr. (aka 'Q')            LARRYS@YKTVMV.BITNET
OS/2 Applications and Tools             larrys@ibmman.watson.ibm.com
IBM T.J. Watson Research Center         larrys@eng.clemson.edu
Yorktown Heights, NY

Disclaimer:  The statements and/or opinions stated above are strictly my
own and do not reflect the views of my employer.  Additionally, I have a
reputation for being obnoxious, so don't take any personal attacks too
seriously.

----- OS213 FORUM appended at 17:02:04 on 91/06/13 GMT (by ALLENMJ at GDLVM7) -
Subject: Question about REXX protection violation
Ref:     Append at 16:08:46 on 91/06/13 GMT (by LARRYS at YKTVMV)

REXX needs write access to the directory as it tries to write a 'complied'
version of the exec into the file's extended attribute space.

MikeAllen                    ALLENMJ at GDLVM7

----- OS213 FORUM appended at 02:36:51 on 91/06/14 GMT (by RRKURTZ at PKEDVM9)
Subject: Question about REXX protection violation
Ref:     Append at 17:02:04 on 91/06/13 GMT (by ALLENMJ at GDLVM7)

Mike, what if you run it from you C: drive then place it on a LAN drive?
Wouldn't the P-code (compiled stuff) already be there then or would REXX
still need write access?

Dick Kurtz

----- OS213 FORUM appended at 11:25:28 on 91/06/14 GMT (by MCGUIRE at GDLVM7) -
Subject: Question about REXX protection violation
Ref:     Append at 02:36:51 on 91/06/14 GMT (by RRKURTZ at PKEDVM9)

The problem is actually caused by servers that don't support file extended
attributes.  Turns out an attempt to read the extended attributes from such
a server completes with a zero return code, but returns no data.  Rexx was
naively expecting that a zero return code meant it had received the data
it needed and it started to process a garbage buffer.

Rick McGuire - SAA Rexx Development, Endicott