On Sat, 22 Oct 2016 15:28:42 +0300, Itschak Mugzach <[email protected]> wrote:
>Bill,
>
>Try this simple rexx. The first call (time), returns the unix time as
>expected, but the second one returns -20 (and the buffer from previos
>call).
>ITschak
>/* REXX */
> RC = SYSCALLS('ON')
> address syscall 'time'
> say rc retval
> address syscall 'ls -l'
> say rc retval
That's what I would expect. "ls" is not a syscall command (at least in z/OS
1.13). It is a shell (address SH) command.
List of syscall commands (z/OS 1.13):
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/bpxzb6a0/3.0?SHELF=all13be9&DT=20100628090654
or
http://preview.tinyurl.com/grqcqc4
--
Walt
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN