Is that across the board or only when it is the parameter for OPTIONS(MAIN)?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
Robert Prins [[email protected]]
Sent: Sunday, November 20, 2022 2:16 PM
To: [email protected]
Subject: Re: Question on writing PL/I to use EXEC PARM/PARMDD

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://secure-web.cisco.com/1X45p2mu4c3WsOWBoGukxKIZa5PXBadYC-9agrgEuv2qg59rFccNTg4koDJGZSkx_fHfmVzAGrFE7FN1GyUlcV-x2V5irVc-N-wgn-z7TiEan_5plCDVZOXbqgptbPIwZ6AUJ7PzvJ0CEXCnTzVFlVnvMBtgS6m32hpjk0CBRmXVyot7sHiteuhTzpE2lpSVmiNw9OLk5svcF20HYGZGWmstqIX1b_nNR8ydWbDh_3pqMys1JyglmphgkVxU3xz6EZ4ajrSvzFEDi3iNrujrLdBSUXlmbzHWdy4x651bb4ZHR3C_rVg6MMf-T5DBLrZjBf81LxhgdUWWAmMl-JWTzLybSyEMsV2j9qyCQMQobBXW5pylYtjmHORGqivHLx8j6roQtAQ3ENltzu834Pi639ph-Mr8jvvk13Np-0U1ni3gCj5G6hyYoSzA94Q1J1XrJ/https%3A%2F%2Fprino.neocities.org%2Findex.html>
Some REXX code for use on z/OS
<https://secure-web.cisco.com/1Df9t6H1NMlJxhohoTak6hTB4SoL1m-9bMHw_Q1cQBIYtlIOvq49o7DB7eGMcPVfq3pmIetT4NNQvlttc6F6n4pc-hF4OD_EG33csbOAk2URaskwo4bSqAHqH1gfoVhy6rRuRm0EOj5-MmAe01ocix59bJiJeR6zPceqyZF4G7QS_juaZZ_HUHDD8fuqwwvO4-spejlRo0NgqfNzQxpFiy6Y2eVaThxFfNqCvPOoRtxxbl0ou_fDy6HW3HbmY7paOg_XCsrYPJrHeACpXh8rTIR1SjgwWLxxULj352adrHcIV7qluqoxhUOzxnj6wIwG-Z9rDS7z5GkFKJtkWKQ3N8LpvTSsqCv_KH1ZylxE7B_rzRdiDT5y-UDR-NfRbGPtHsuSscqonH-w9j4N9bnxdujvYvFb0AS4SYOOCMj9bI1tBbV7pixuH2DbUfjjh5Tcr/https%3A%2F%2Fprino.neocities.org%2FzOS%2FzOS-Tools.html>

----------------------------------------------------------------------
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

Reply via email to