There are no troublesome characters. If it's CHARZ then a '00'X marks the end 
of the string, as in C. Otherwise there is an explicit length that is the same 
regardless of what characters are in the string. The length may be determined 
at, e.g. compile time, block entry, or may be dynamic (VARYING).


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

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Rupert Reynolds [rreyno...@cix.co.uk]
Sent: Sunday, March 27, 2022 11:45 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: PL/I question

Related: how does LE handle strings with embedded troublesome bytes such as
x'00'? And is it different between PL/I and C?

I am reading the PL/I Programming Guide, but it takes but I'm hoping there
is an easy off-the-cuff answer.

Most of my PL/I experience was before LE, you see.

Roos

On Sat., Mar. 26, 2022, 22:25 Charles Mills, <charl...@mcn.org> wrote:

> > Does LE make a difference nowadays?
>
> Yes. LE is the runtime for all recent releases of the "popular" languages
> (someone will jump on me on that!) with the exception of Rexx. Rexx will
> run interpreted, but if you want the benefits of compiled Rexx, the target
> machine needs a paid-for runtime library.
>
> Charles
>
>
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Paul Gilmartin
> Sent: Saturday, March 26, 2022 2:28 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: PL/I question
>
> On Sat, 26 Mar 2022 00:58:53 +0000, CM Poncelet wrote:
>
> >AFAIK The reason PL/I was not 'more popular' was its high license fee.
> >
> Circa 1980, my then employer approached IBM seeking permission to
> redistribute the PL/I RTL to support a product we were designing.  We
> were told that each of our customers would have to have a purchase
> agreement with IBM.  We went with a different language.  Admittedly,
> we were a competitor.
>
> Does LE make a difference nowadays?
>
> >Meanwhile, I've known people use even COBOL to write/maintain system code.
> >
> >As for me, I wrote all system code in assembler - bar adhoc stuff, as in
> >
> Yet II was startled when our sysprog mentioned offhand that he was
> writing an ad-hoc assembler program to generate a little report.
>
> --
> gil
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to