In
<of88431bb7.2a79bc05-on88257806.006d230a-88257806.006da...@ea.epson.com>,
on 12/27/2010
   at 11:57 AM, John Mattson <[email protected]> said:

>Subject: REXX Interpret and "*"

The interpret statement is intended to simplify programming of
complicated tasks. Why are you using it to complicate the programming
of a simple task?

>/* REXX */ 

Okay so far.

>arg cmd 

That will break if you need lower case data. Why not

 /* REXX */
 parse arg cmd
 address TSO
 cmd

That leaves lower case alone, doesn't need doubling of apostrophes and
works fine if the name includes special characters.

I'll leave it to someone else to point out the other nasty problem
with your interpret statement.
 
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to