Switches

Switches

Post by Gordon Sn » Tue, 13 Sep 2005 22:04:57


In REXX, (or z/OS), is there a standard, or at least a concensus, on
how to
specify switches?

For example, if I have a REXX Exec called 'goober' and it can respond
to
switches, a b c what is the correct way to specify them

goober -a -b -c
goober /a /b /c
goober /a/b/c
goober /abc

or some other possibility?
This will determine how I write my code to receive them.

--
Gordon Snider
Toronto, Canada
 
 
 

Switches

Post by Micke » Wed, 14 Sep 2005 00:02:18


These may be switches internally to the Rexx, but to MVS-z/OS, they are
parameters. They should be passed in the form they are used. For
example, if you have a Rexx that can generate a report that is daily,
monthly or yearly, then you would call it passing either D, M or Y.

Report D
Report M
Report Y

Mickey

 
 
 

Switches

Post by Binyamin D » Wed, 14 Sep 2005 00:21:50

On Mon, 12 Sep 2005 08:04:57 -0500 "Gordon Snider" < XXXX@XXXXX.COM >


:>In REXX, (or z/OS), is there a standard, or at least a concensus, on
:>how to
:>specify switches?

:>For example, if I have a REXX Exec called 'goober' and it can respond
:>to
:>switches, a b c what is the correct way to specify them

:>goober -a -b -c
:>goober /a /b /c
:>goober /a/b/c
:>goober /abc

:>or some other possibility?
:>This will determine how I write my code to receive them.

Ask you users how they would prefer it.

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.
 
 
 

Switches

Post by Gordon Sn » Thu, 15 Sep 2005 01:48:10


Thank you for pointing out that distinction of 'Parameters'. I had
missed that.

--
Gordon Snider
Toronto, Canada
 
 
 

Switches

Post by Gordon Sn » Thu, 15 Sep 2005 01:48:22

> :>In REXX, (or z/OS), is there a standard, or at least a concensus, on


These users are many, hard to survey, difficult to satisfy. They may
just have to take what I give them. :-)
--
Gordon Snider
Toronto, Canada
 
 
 

Switches

Post by Micke » Thu, 15 Sep 2005 04:38:54


As well they should. 35+ years in this field has taught me that no one
is less likely to know what they REALLY need than the users themselves.

Mickey