The following is a sample subcommand handler registration:
Sample subcommand handler registration
WORKAREARECORD *user_info[2]; /* saved user information */
user_info[0] = global_workarea; /* save global work area for */
user_info[1] = NULL; /* re-entrancy */
rc = RexxRegisterSubcomExe("Editor", /* register editor handler */
&Edit_Commands, /* located at this address */
user_info); /* save global pointer */