No, that's a very valid question.
When run in debug the RPG program clearly shows the value.
SYSASP = 22500008
Notice, only 8 digits used?
I'm supposing the error shows up when the stored procedure handles it but
I've not got a good handle on how to debug that.