On Tue, 15 May 2018 08:37:36 -0500, Paul Gilmartin <[email protected]> wrote:
>I believe the only comparisons supported by IF are to a result, such as a >return >code, of a previous step. All examples given do indeed lead one to believe that, but the actual documentation does not specify such a requirement. It does say that the parts to be compared in the expression must be numeric. https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieab600/relationexp.htm says: <quote> A relational-expression consists of: Comparison operators Logical operators NOT (¬) operators Relational-expression keywords Numeric values </quote> I did the test, comparing a symbol (that has a numeric value assigned to it) to a constant numeric value and it works just fine. No RC in my test. Cheers, Jantje. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
