Thanks for the routine.

I wholeheartedly agree on keyword parameters! I am a power user of C++ and
generally like the language but one of the things I dislike is that I miss
the keyword parameters of z/OS macros. I sometimes code C++ calls with
comments like 

x = foo(/* length= */ 3, /* width= */ 17, /* height= */ 12);

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Jeremy Nicoll
Sent: Friday, November 20, 2020 6:42 AM
To: [email protected]
Subject: Re: Has anyone integrated Rexx with IKJPARS?

On Thu, 19 Nov 2020, at 19:30, Charles Mills wrote:
>  I am considering an EXEC that would accept parameters of
> 
> 'a quoted string', 'another quoted string', simpletoken1, simpletoken2,
...

One of the drawbacks of a parameter format like that is that it's
not flexible if you have to support optional parameters (unless you 
specify null or placeholder values).

I preferred (in NetView automation routines mainly) to use named parms, 
not least because it's easier to see which is which, and naming the parms

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to