Oops fat finger, "CHAR(*) VAR" On Sun, 20 Nov 2022 at 19:16, Robert Prins <[email protected]> wrote:
> No it doesn't EPLI 5.3+ now gives a warning when you use "CHAR(100) VAR". > You should nowadays code "CHAT(*) VAR"! > > RTFM! > > On Sun, 20 Nov 2022 at 16:59, Robin Vowels <[email protected]> wrote: > >> On 2022-11-21 02:29, Steve Smith wrote: >> > Not necessarily. >> >> My example code (which preceded) comes straight from the manual, >> and is required when main PROCEDURE statement is as I showed, >> namely, >> M: PROC (PARAM) OPTIONS (MAIN); >> DECLARE PARAM CHARACTER(100) VARYING; >> >> > Assuming using an LE compiler, the EXECOPTS compile >> > option controls this. >> >> It doesn't. >> Read the manual. >> What I wrote applies then EXECOPS is not used. >> >> > On Sun, Nov 20, 2022 at 2:30 AM Robin Vowels <[email protected]> >> > wrote: >> > >> >> The string passed to the main procedure needs to start with >> >> a slash, because everything up to and including the slash >> >> is omitted when passed. >> >> ---------------------------------------------------------------------- >> For IBM-MAIN subscribe / signoff / archive access instructions, >> send email to [email protected] with the message: INFO IBM-MAIN >> > > > -- > Robert AH Prins > robert(a)prino(d)org > The hitchhiking grandfather <https://prino.neocities.org/index.html> > Some REXX code for use on z/OS > <https://prino.neocities.org/zOS/zOS-Tools.html> > -- Robert AH Prins robert(a)prino(d)org The hitchhiking grandfather <https://prino.neocities.org/index.html> Some REXX code for use on z/OS <https://prino.neocities.org/zOS/zOS-Tools.html> ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
