On Wed, 5 Dec 2018 10:15:21 -0600, Tom Marchant wrote: > >>the programmer must >>indicate to IEBGENER how much storage it needs. > >I think you mean that sufficient REGION must be provided. That is no different >than any program. > >That same manual specifies > ><quote> >The minimum region sizes are: >o IEBCOPY -- REGION=28K + 2(largest blocksize in the job step) rounded >to the next highest 2K. ></quote> > I know I'm guessing, but when I see such as: MAXLITS=n specifies a number, from 1 to 2730, that is greater than or equal to the total number of characters contained in the FIELD literals of subsequent RECORD statements. Any DBCS characters used as literals on FIELD parameters count as two characters each.
... I can't imagine why IEBGENER imposes such a chore on the programmer other than so it can GETMAIN a suitable, not profligate, amount of storage. Many other programs have nothing similar. (I'd say "bytes" for the first and last occurrences of "characters".) -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN