BPXWDYN return codes

When BPXWDYN is called as a REXX function or subroutine, the return code can be accessed in RESULT or as the value of the function. When BPXWDYN is called as a program, the return code is available in R15.

BPXWDYN returns the following codes:

0
Success.
20
Invalid parameter list. See Calling conventions for parameter list formats.
-21 to -9999
Key error. See Key errors for more information.
-100nn
Message processing error. IEFDB476 returned code nn.
>0, or -1610612737 to -2147483648
Dynamic allocation or dynamic output error codes. See Error codes for dynamic allocation and Error codes for dynamic output for more information.