> The PARM is not documented as being limited to 100 bytes.  Rexx
> Language can pass PARMS of up to 32767 bytes; Assembly Language
> up to 65535.  100 is merely a restriction built into Job Control
> Language, and documented in the JCL manual.

In other words, PARM *is* documented as being limited to 100 bytes.
At least where JCL is concerned.

Nobody has ever tried to claim that programs called in other ways
are limited to 100 bytes of parameters.  But there is plenty of
documentation about JCL PARMs.  100 bytes.  The Language Environment
manuals even provide sample COBOL code to receive a JCL PARM, and
hard-code the 100-character limit.

If a program is only intended to be called from JCL, and it does
not cope with being called with longer parameters, then the program
is not broken.  It is following the rules, and functioning as
intended.  If some clever person calls the program from REXX with
a 10,000-character PARM and the program crashes, it is the caller
who is at fault.  They were not calling the program as intended.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to