RBINTCOD is a 2-byte field. The fact that SVC's are 0-255 is unimportant to that fact. You should compare the 2-byte field.
I don't know why, in general, you would require that the SVC-issuing RB be a PRB (checking RBFTP for b'000'). If this is a type 2-3-4 SVC, then information about the issuer is in the previous RB (whether that is a PRB or not). If this is a type 1 or type 6 SVC, then it is not. And if you are handling extended SVC's you also need to examine the issuer's register 15 value which, for a type 2-3-4 SVC, is in your RB. Peter Relson z/OS Core Technology Design ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
