, on 11/13/98  
   at 12:15 AM, dallasii@kincyb.com said: 
>It produces a 'SYS1803 Chaining was attempted from a ReXX batch file.' 
>error. (Until it is preceeded with 'CALL'.) 
Interesting.  Thought it would be smart enough to do an implicit  CMD /C 
like START /C.  Guess not. 
>SL>  'start cmd /c test8  'Qnew'  >  test9.txt ' 
>Tried this. 
>It doesn't seem to output anything to test9.txt. 
>Same thing with the CALL inbetween '/c'  and  test8. 
Appears that the Queue is empty.  I assume by "doesn't seem to output 
anything", you mean test9.txt is created as a zero length file. 
>Definitly not the case, I don't have any such function -  besides, CALL 
>is internal to CMD.EXE.... 
I was kidding.  I knew about CALL.  I just didn't expect it to work 
correctly from inside the REXX interpreter.  Guess it must. 
>Steve L. (or anyone else lurking out there) - 
>any idea why this has to be hard coded? 
Yep, it's documented: 
   The second parameter specified for Create, Set, and Delete must abide 
by 
   the same syntax rules as for REXX variable names.  (There is no 
   connection, however, between queue names and variable names.  A program 
   can have a variable and a queue with a common name, and there is no 
   connection between them.)  The actual name of the queue is the 
uppercase 
   value of the name requested. 
The way I read this is that the preferred syntax is: 
  Qold = RXQUEUE('set', NOISSES) 
There's a couple of other places REXX does this. 
Steven 
--  
----------------------------------------------------------- 
Steven Levine   MR2/ICE #10183 
----------------------------------------------------------- 
===================================================== 
To unsubscribe from this list, send an email message 
to "steward@scoug.com". In the body of the message, 
put the command "unsubscribe scoug-programming". 
For problems, contact the list owner at 
"rollin@scoug.com". 
===================================================== 
<< Previous Message << 
 >> Next Message >>
Return to [ 13 | 
November | 
1998 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA  92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group.  ALL RIGHTS 
RESERVED. 
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International 
Business Machines Corporation.
All other trademarks remain the property of their respective owners.