Hello,

I have problem with ERRET= in POST macro.

example:
* TEST - post an invalid ECB
         LA    R1,1000              invalid ECB
         LA    R2,2000              invalid ASCB
         POST  (R1),ASCB=(R2),ERRET=error_routine,                     X
               MF=(E,EXITPLST),LINKAGE=SYSTEM,ECBKEY=0

Routine (error_routine) won't get called as I post to an invalid ECB/ASCB
address. Module abends with S602.

As workaround, I use ESTAE, but i don't really like it.

Can anyone send me a working example?

Regards,
Gabor

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

Reply via email to