Quoting it, or using a variable already set to the command, should do it. Of course, if you're running under Unix System Services then the ANSI I/O (stream) functions are available, but good old fashioned EXECIO still works.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Paul Gilmartin <[email protected]> Sent: Monday, November 23, 2020 8:25 PM To: [email protected] Subject: Re: Has anyone integrated Rexx with IKJPARS? On Mon, 23 Nov 2020 21:53:15 +0000, Seymour J Metz wrote: >> in fact, IKJPARS weakens EXECIO. In CMS Rexx, I can simply say: >> EXECIO 1 DISKW file-spec (string It's a string! >No. > OK. I forgot to quote it. Anything else? On Mon, 23 Nov 2020 14:16:50 -0800, Charles Mills wrote: >Pardon my ignorance. What does IKJPARS have to do with EXECIO DISKW? > I suspect it's a cultural influence. TSO designers expected programmers to be so repulsed by the necessarily unbalanced "(" in: "EXECIO 1 DISKW" <file-spec> "(STRING" <expression> ... that they required an assignment and a stem, or a push and pull. Coming from a background of TECO, I was aghast at the verbosity of SPF Edit; it felt like composing a program in real time whereas using an editor should become a motor skill. Example: if I want to delete several lines containing "foo bar" in vi: /foo bar<ENTER> ddnddndd ... or: :g/foo bar/d<ENTER> in ISPF Edit (I think): <HOME> x all<ENTER> f 'foo bar'<ENTER> del all<ENTER> reset<ENTER> Is there a better way? Do I need to hone my skills? --gil ---------------------------------------------------------------------- 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
