On Fri, 19 Nov 2010 16:14:32 -0500, Shmuel Metz (Seymour J.) wrote:
>
>>As a nonstandard extension to
>>Rexx, it would also be nice to terminate a host interface,
>
>That wouldn't make a lot of sense, because it's the host that call
>REXX in the first place. What would it mean to cancel, e.g., address
>ISREDIT in the middle of an edit macro?
>
Is that much different from "address ISREDIT END" or "address
ISREDIT CANCEL", which I've seen (mis-)used in edit macros.
The effect is to return the session to the Edit member menu.
Or "address XEDIT COMMAND QUIT", for which the macro continues
executing but subsequent "address XEDIT" instructions get RC=6.
Or "address TSO LOGOFF" in an EXEC started under a Unix shell.
But in that case, TSO isn't the host; it's really more of a
coprocessor. "address FTP" would need to be similar, as would
"address SFTP". Each would need to initiate a connection to
be terminated by the QUIT command.
Note the dire warnings about issuing SYSCALLS('OFF') in an
EXEC running under the Unix shell.
>>Note that the z/OS Rexx implementation is somewhat non-standard as
>>is.
>
>Is the CMS version any closer to the ANSI standard than the TSO/E
>version?
>
Yes. The CMS version implements the stream I/O instructions.
(I know those are MFC; are they actually ANSI?)
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html