Probably related: 1. The PARM length field is historically treated as a signed half word number, so max value is 32767 (rather than unsigned 65535). 2. Minimum storage allocation increment, double word or 8 bytes, therefore 32760 is the largest multiple of 8 less than or equal to 32767.
Don > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] > On Behalf Of Paul Gilmartin > Sent: Tuesday, February 05, 2013 11:37 AM > To: [email protected] > Subject: Re: Rejoice! z/OS 2.1 addresses some long term JCL complaints > from here: > > On Tue, 5 Feb 2013 11:11:04 -0500, John Gilmore wrote: > > >32760 = max[n | (n <= 32767) & (n = 0 mod(8))] > > > But why "n = 0 mod(8)"? The PARM length is specified in single > bytes in a halfword. As an experiment, I've passed a PARM of > 32767 bytes to HLASM, which processed it correctly while > misbehaving badly on 32768. > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
