Wouldn't it be easier to take a command like LISTDS and paste a couple of dozen (or hundred) DSNs between the parentheses and see when it finally complains rather than see how many ways this thread can be hijacked.
> -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Paul Gilmartin > Sent: Thursday, March 10, 2016 1:26 PM > To: [email protected] > Subject: How long can a TSO command be? > > Got my Black Team coat on. > > Is there any limit to the length of a TSO command other than that imposed by > the aggregate length of the various operands? > > ISPF Command Shell imposes a limit of 240. Absurdly small given that a PATH() > for ALLOCATE may be up to 255. > > Panel ISRTSOA accepts 3 x ZSCREENW then quietly truncates to 240. I loathe > quiet truncation. > > What's the API for TSO commands called so I can look it up? > > BTW, similar question for JCL statements. Remember that symbol substitution > may result in a statement (much) shorter than coded. > > -- 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
