CompuServe Thread

#Arexx problem

8 messages in this thread
#32719From: William GorderMar 4, 1993 12:01 AM
This has me baffled. Some of the library routines calls from ARexx don't seem to be working on my machine. In fact they're causing system crashes! Something as simple as: 9.> rx "say showdir('ram:')" ;from rexxsupport.library or 9.> rx "say getenv(username)" ;from rexxarplib.library Results in a software failure. Sometimes, before the crash, I see "Invalid Packet" messages (1-2 of them). I don't understand. I'm running ARexx 1.15, WShell 37.5 (NewWSH) and Kickstart version 37.175 (from disk, A3000), Workbench version 38.35. Am I missing something? No doubt, eh? 🙂 BTW, is there any way to stop FComp from leaving its startup window on the Workbench? (when it's started from the WBStartup drawer) Thanks, Bill
#32736From: Vic WagnerMar 4, 1993 9:11 PM
Have you loaded rexxsupport.library and rexxarplib.library?? I don't it should cause a crash if you haven't but….maybe it does.
#32748From: Bill HawesMar 5, 1993 8:30 AM
You probably have in invalid library in the ARexx search list. You can use the rxlib command to list out the currently defined libraries in the ARexx library list, and then check these to make sure they're all valid ARexx external function libraries. I'd suggest that you capture the list and report it back here, and I'll check it over. Bill Hawes
#32760From: Robert WilcoxMar 5, 1993 7:07 PM
Possibly the ARP library is required as well?
#32772From: Steven D. KapplinMar 6, 1993 12:08 AM
It is for GetEnv(), I don't think that's an ARexx function.
#32918From: William GorderMar 9, 1993 10:26 PM
I think I figured it out. I was loading the libraries I usually use in a Rexx script (using the ADDLIB function)… *including* rexxsyslib.library! I saw your message to someone else about rexxsyslib being the interpreter, and I started thinking (a dangerous passtime, I assure you 🙂 I then removed rexxsyslib from the list of loaded libraries and Voila! It works. Thanks for your help, Bill (and Vic). Later, Bill
#32929From: Bill HawesMar 10, 1993 6:40 AM
Bill, I'm glad you got the ARexx library problem cleared up … putting the rexxsyslib.library into the list is a definite No-No. Just out of curiosity, can you recall who suggested that the library be put in the search list? Several other customers have had this problem, and I'm wondering whether some magazine article or other "helpful" suggestion lead to the problem. -Bill Hawes
#33093From: William GorderMar 14, 1993 4:00 PM
Bill, sorry about the delay in getting my reply to you. Ahhhh, well… hmmmm….. I think it was *my* stupid idea to include rexxsyslib in the ARexx libraries. I think I just looked at the list of libraries in LIBS: with the string "rexx" in their name and included them. Oops! Does the documentation specifically state that rexxsyslib should not be included? Of course, not that it would have stopped me. 🙂 Later, Bill