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, David