On Fri, 15 May 2020 09:12:36 -0600, Jack J. Woehr  wrote:
>
>There are shell features like "here documents" (google it) which you've
>probably never used that would get broken if input to the USS shell got
>arbitrarily broken into lines to suit the flavor of MVS/TSO/JES
>
Au contraire.  Here documents work far better if record boundaries
are preserved (not arbitrarily; converted to NL); hardly at all if lines
are concatenated.

I use them regularly

BPXWUNIX does much better.  Fantasy RFE: provide a rudimentary
wrapper for BPXWUNIX callable via IRXJCL, not much more than:

    SIGNAL ON NOVALUE
    parse arg Login Cmd  /* Cmd may have multiple tokens.  */
    address MVS
    'EXECIO * DISKR STDENV (stem ENV.'  /* Error recovery?  */
    call BPXWUNIX Cmd, 'DD:STDIN', 'DD:STDOUT', 'DD:STDERR', 'ENV.', Login
    return RESULT

I'd expect DD *,SYMBOLS= to work for STDIN.

-- gil

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