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

ITschak Mugzach
Z/OS, ISV Products and Application Security & Risk Assessments Professional

On Sat, Oct 22, 2016 at 2:54 PM, William Schoen <[email protected]> wrote:

> I'm not aware of any issues with address syscall in sysrexx.  I use this in
> most of my new tools.
> The one requirement is you must be logged onto the console with a userid
> that has an OMVS segment, but that applies to bpxwunix as well.
> You can look at bpxmtext.  It uses address syscall and can run in sysrexx,
> although we didn't ship it there.
> Since I don't normally watch this list, you might take this to MVS-OE for
> additional comments from me.
>
> Bill Schoen
>
>
> Date:    Fri, 21 Oct 2016 12:31:18 -0500
> From:    John McKown <[email protected]>
> Subject: Re: System REXX
>
> ...snip...
>
> My main complaint is no ADDRESS SYSCALL. But I can use BPXWUNIX to do some
> things. It's just not as efficient due to the spawning of a new UNIX
> address space.
>
> ----------------------------------------------------------------------
> 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

Reply via email to