| >As incredible as it seems, A customer is asking if there are any plans
>to increase the number of arguments that can be passed with a CALL
>statement to more than 255 (or whatever the current limit it. I
>don't know Cobol).
These are no current plans to increase this limit, but I'll add this
customer request to our wishlist.
|
| Jerry,
This limit is not imposed by COBOL, it's a VAX architectural limit on
the CALLS and CALLG instructions. Although there would be many possible
ways for a compiler to change the limit (simply by using a different
convention for passing arguments), this could NOT be done without
sacrificing compatibility between languages. On VAX compilers, 255 is a
hard limit which I don't ever expect to see changed.
On Alpha, there doesn't seem to be an architectural limit to the number
of arguments passed to a routine. That being the case, the only limits are
those imposed by the compiler (if any).
See "OpenVMS Calling Standard" on a CD near you...
For your customer, it should be possible to write (generate?) code which
effectively passes more than 255 arguments by using substructures.
John Gillings, Sydney CSC
|