> This implies that submitter must have an OMVS segment. No. If he can run in a Unix shell than he can use the Unix functions for REXX.
I looked at Chapter 2. OMVS, a 3270 terminal interface to the z/OS shell in z/OS: UNIX System Services User's Guide and didn't see anything about requiring an OMVS segment. It's possible that you need an OMVS segment to use the OMVS command, but that's certainly not implied by the functions for RXX under a Unix shell. > And it was done as a function package, so SIGNAL ON NOTREADY is not supported. The ANSI specifications call for returning an empty string rather than raising a signal. But I wonder whether IBM would accept an RFE to allow external to raise a signal. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Paul Gilmartin <0000000433f07816-dmarc-requ...@listserv.ua.edu> Sent: Thursday, September 12, 2019 3:22 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Submitting batch if you don't have TSO On Thu, 12 Sep 2019 18:50:00 +0000, Seymour J Metz wrote: >ObNit submit() is a Unix System Services function that is written to be called >from REXX. There are a bunch of them. > This implies that submitter must have an OMVS segment. Is Default User or Unique User supported nowadays? >ObRaisedEyebrows For some reason IBM added the ANSI functions for >stream I/O for REXX under Unix but not for REXX under TSO. > And only for UNIX files. Feels political: Conway's Law? I believe the author was a UNIX-oriented developer, perhaps daunted by the co-requisite for allocation. But that was done for cp(1) and a few other functions: https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.bpxa500/usmd.htm And it was done as a function package, so SIGNAL ON NOTREADY is not supported. A programmer might kludge SYSCALL PIPE and cp to get a streamable file file descriptor file. I understand that compiled Rexx supports ANSI stream I/O for Classic data sets but not for UNIX files. -- 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