> I have a PL/I subroutine call that has 297 optional parameters.  That is the 
> function has a parameter list with up to 100 tuples of parameters.  The first 
> tuple is required, and tuple 2 through 100 are optional.


[snip]
> Is there a shorter way of declaring 297 optional parameters in PL/I?


You may want to look at the "LIST attribute" of an ENTRY declaration in the 
Enterprise PL/1 Language Reference. It might require the Enterprise edition of 
the complier, I'm not sure it was supported on elder versions of the comiler.


There are builtin funrctions that help you find how many optionals have been 
specified and where they are.


--
Peter Hunkeler





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

Reply via email to