On Tuesday, 11/22/2005 at 12:12 EST, David Kreuter 
<[EMAIL PROTECTED]> wrote:
> Very interesting. I believe that EXTRACT is using the dot as a
> delimiter. I can't get it to fail.

If you turn on trace ?r you'll see that EXTRACT is, indeed, pulling in "." 
as part of the EXTRACT.  Since there's no semicolon separating the EXTRACT 
command from the ".", Rexx is [correctly] eliminating the comments and 
abutting the remainder of the line to the command.

Further, you'll see that the EXTRACT will fail for whatever variable is 
last in the operand list.
E.g.   "EXTRACT /FTYPE/FMODE"   /* comment */ .
will set ftype.1 but not fmode.1 since the variable name was really "FMODE 
."

Everything looks ok to me!

Alan Altmark
z/VM Development
IBM Endicott

Reply via email to