On Thu, 9 Jan 2025 12:10:25 -0500 David Eisenberg <deisenbe...@optonline.net>
wrote:

:>I'm hoping someone can help me... is it possible to code the TP (Test 
Decimal) instruction within an IF macro (using IBM's Structured Programming 
Macros)? Essentially, I'd like to use the SPMs to do something like this:
:>
:> IF (TP,DUB,EQ,Z)
:>    <DUB contains a valid packed value; it's safe to do packed arithmetic>
:> ELSE ,
:>    <DUB isn't valid packed; don't risk an abend>
:> ENDIF ,

:>Of course I can get around this by not using the SPMs... but I'm wondering if 
anyone knows if it's possible to use the IF macro in this way.

:>Thank you so much,

Haven't tried it, but would expect

        IF  (TP,DUB,Z)

to work.

--
Binyamin Dissen <bdis...@dissensoftware.com>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

Reply via email to