On Mon, 19 May 2025 10:16:02 +0000, Seymour J Metz wrote:

>There is nothing in JCL for calling a program with multiple parameters. Even 
>in TSO the CPPL points to a single parameter string, from which the program 
>normally relies on parse services to extract positional and keyword 
>parameters. only in Unix does the program receive multiple parameters.
>
JCL and CPPL, yes, but aren't you familiar with the CALL, LINK, ATTCH,
and XCTL macros?  Do you consider it likewise "Too bad they didn't do
something similar for":
o The first parameter?
o Every parameter?

>It's prudent to validate parameters, but hardly customary. Sturgeon's Law 
>applies. The code that I've seen ranges from ghastly to excellent, with most 
>somewhere in between, and I can't think of any rule of best practice that 
>doesn't get violated.
>
>________________________________________

>On Mon, 19 May 2025 02:36:47 +0000, Seymour J Metz wrote:
>
>>Yes, which is why IM  provided for controlling long parameters for authorized 
>>programs. Too bad they didn't do something similar for AC(0).

-- 
gil

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

Reply via email to