On Tue, 15 May 2018 06:52:48 -0500, Jantje. wrote:

>On Mon, 14 May 2018 13:56:42 +0300, Binyamin Dissen wrote:
>
>>IF does not support string comparisons.
>>
>>What you can do is add a step that generates a return code based on the symbol
>>value and use that return code in an IF statement.
>
>Or just use a numeric value in your symbol…
> 
I believe the only comparisons supported by IF are to a result, such as a return
code, of a previous step.

But you can use symbol substitution in SYSIN to control the return code of
a utility such as IDCAMS.

-- gil

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

Reply via email to