RXCMDHST Parameters

typedef struct {
   struct {                            /* Condition flags             */
      unsigned rxfcfail : 1;           /* Command failed.  Trap with  */
                                       /* CALL or SIGNAL on FAILURE.  */
      unsigned rxfcerr  : 1;           /* Command ERROR occurred.     */
                                       /* Trap with CALL or SIGNAL on */
                                       /* ERROR.                      */
   } rxcmd_flags;
   PUCHAR            rxcmd_address;    /* Pointer to address name.    */
   USHORT            rxcmd_addressl;   /* Length of address name.     */
   PUCHAR            rxcmd_dll;        /* dll name for command.       */
   USHORT            rxcmd_dll_len;    /* Length of dll name.  0 ==>  */
                                       /*.EXE file.                  */
   RXSTRING          rxcmd_command;    /* The command string.         */
   RXSTRING          rxcmd_retc;       /* Pointer to return code      */
                                       /* buffer.  User allocated.    */
} RXCMDHST_PARM;

The rxcmd_command field contains the issued command. Rxcmd_address, rxcmd_addressl, rxcmd_dll, and rxcmd_dll_len fully define the current ADDRESS setting. Rxcmd_retc is an RXSTRING for the return code value assigned to REXX special variable RC.

The exit handler can set rxfcfail or rxfcerr to TRUE to raise an ERROR or FAILURE condition.


[Back: RXCMDHST]
[Next: RXMSQPLL]