On Sat, 20 Jan 2018 20:34:33 -0500, Tony Thigpen wrote:
>
>When I try to call it from a SysRexx program, it fails:
>
>     22 *-* wait_value = 120
>        >L>   "120"
>     23 *-* address LINKMVS "JOBZWAIT wait_value"
>        >L>   "JOBZWAIT wait_value"
>        +++ RC(-3) +++
>
>While I write a lot of Rexx on VM, my expereance with Rexx on z/OS is
>minimal, so I might be doing something really stupid.
> 
I've used LINKMVS lots, but in plain Rexx, not SysRexx.  I'd use:

    wait_value = 120
    address LINKMVS "JOBZWAIT" "wait_value"

The first argument is the name of the program.  Additional arguments are
*names* of Rexx variables containing parameter values.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to