On Mon, 11 Jul 2022 12:29:15 +0000, Rob Scott wrote:
>True - however I think the original author of the exec was alternating between
>using the stem form and a variable replacement form.
>
How does it behave with SIGNAL ON NOVALUE in effect?
How does it behave with MYCMD.='Preseet' in effect?
>For my sins, this was cut+paste from a REXX PDS that we have for unit testing.
>
Has it been tested under both those condidions?
I suppose it's OK as long as you don't expose it in end user documentation.
(Or post it to a public forum.)
>From: Seymour J Metz
>Sent: 11 July 2022 12:53
>
>ObNit Why don't you want to quoute the stem name? The statement address SDSF
>"ISFSLASH (mycmd.) (WAIT)" will work regardless of whether you give mycomd. a
>default value.
>
If not quoted, it depends on the value assigned to the stem.
>________________________________________
>From: Rob Scott
>Sent: Monday, July 11, 2022 3:38 AM
>
>For what it is worth, SDSF REXX API already accepts an alternate form of input
>for the ISFSLASH verb where you can pass the name of a stem variable that
>holds one or more z/OS operator commands.
>
>For example :
>
>/* REXX */
>x=ISFCALLS("ON")
>ISFDELAY = 3
>mycmd.0 = 2
>mycmd.1 = "D A,L"
>mycmd.2 = "D T"
>address SDSF "ISFSLASH ("mycmd.") (WAIT)"
>do respindex = 1 to ISFULOG.0
>say ISFULOG.respindex
>end
>exit
--
gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN