I am trying to purposely abend my program with completion code X'AAA' and reason code X'123'. I know I can abend my program with ABEND macro as below. Sorry for my limited knowledge on assembly and mvs, I thought whatever I load on Register 15 will come as reason code.
REASON DC X'123'
Now my program is abending with
But I did not see the result I expected. I want to have reason code equivalent to X'123'. Any guidance would be greatly appreciated.