RXSUBCOM REGISTER registers a dynamic-link library subcommand handler.
This command makes a command environment available to Rexx.
Parameters:
envname
The subcommand handler name. The Rexx ADDRESS instruction uses
envname to send commands to the subcommand
handler.
dllname
The name of the dynamic-link library file containing the
subcommand handler routine.
procname
The name of the dynamic-link library procedure within
dllname that Rexx calls as a subcommand
handler.
Return codes:
0
The command environment has been registered.
10
A duplicate registration has occurred. An
envname subcommand
handler in a different dynamic-link library has already been registered. Both
the new subcommand handler and the existing subcommand handler can be used.
30
The registration has failed. Subcommand handler
envname in
library dllname is already registered.
1002
RXSUBCOM was unable to obtain the memory necessary to register
the subcommand handler.