I figured out which manual he was citing. The new lines are needed in order for 
the commas to be valid. Similarly, the new lines between statements are needed 
because the are no explicit semicolons. The example in the manual is correct if 
you don't mess with the line breaks.

Note that the expression uses variables set by syscalls(on).

________________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
Paul Gilmartin <0000042bfe9c879d-dmarc-requ...@listserv.ua.edu>
Sent: Sunday, September 11, 2022 9:43 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Why is my second Rexx SYSCALLS read failing?

On Sun, 11 Sep 2022 12:15:37 +0000, Seymour J Metz wrote:

>Comma isn't a valid delimitor in an expression. Did you mean
>'open' path', O_rdwr+O_creat+O_trunc, 660'
>?
There was no such comma in Charles's original (pseudo?)code.

Bernd noted that he had problems copying from "the IBM doc"
with no specific citation.

The comma is used to denote a continuation in:
<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fdocs%2Fen%2Fzos%2F2.5.0%3Ftopic%3Dcommands-open-write-close-file&amp;data=05%7C01%7Csmetz3%40gmu.edu%7Cdb9a65644e5844ab29c908da93fb9e15%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637985006158213715%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=GLcD7zJceGY4%2FJiFQxmyFRlvIbloB17b%2BAdfCPjVjjI%3D&amp;reserved=0>

Now, back to our story?

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

Reply via email to