Previous Topic: Expert UserNext Topic: FORDATE Keyword


Return Conventions

For keywords FORUSER, FORDISK, FORDIR, TODISK, and TODIR, the user exit must pass back a return code in fullword format (a four-byte hexadecimal value) or whole number format. This can be done from REXX with the following:

Fullword format
return d2c(rcode,4)
Whole number format
return code

Return codes have the following meanings:

Code

Meaning

0

Authorization is granted to the user.

4

Authorization is denied.

Other

Coding error in the user exit.