On Thu, 14 Feb 2019 at 16:20, Charles Mills <charl...@mcn.org> wrote: > > Well, now that I have STC LONGPARM working, how long can the START command be? > > The commands reference describes two formats. It says most commands can use > format one, and it may be up to 126 characters. And it says three specific > commands must use format two, and does not indicate a maximum length. So > that begs two questions: > > - May all commands use format two? > - What is the maximum length for format two?
SYS1.MACLIB(IEZMGCRE) has a field MGCETXT DS CL126 Command text SYS1.MACLIB(IEZMGCR) has a similar field: MGCRTEXT DS CL126 MAXIMUM SIZE OF COMMAND TEXT and also has these comments: MGCRTEXT IS A VARIABLE LENGTH FIELD, WITH 126 BEING THE MAXIMUM LENGTH PERMITTED. NOTE: THE IBM SUPPLIED BUFFER LENGTH IS ALWAYS 126 CHARACTERS. HOWEVER, USERS MAY PROVIDE THEIR OWN STORAGE FOR MGCRPL WITH A SMALLER SIZE BUFFER. I don't know if there is any newfangled way to issue a command other than MGCR[E], but 126 would look to be the max for these two. There is another thing to think about - symbolic variable substitution. SYS1.MODGEN(IEFSSCM) has some comments about this, and it's not immediately obvious to me if the length can exceed 126 after substitution. I don't think so... Tony H. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN