ASP/400 Data Queue Error Return Constants
From Support
// Data Queue Error Constants
- define DQ_SUCCESS 0 // Successful execution
- define DQ_NO_HOST -1 // No host property
- define DQ_NO_PORT -2 // No port defined
- define DQ_NO_TIMEOUT -3 // No timeout defined
- define DQ_NO_DATA -4 // No data
- define DQ_COMMAND_CHECK -5 // Command check
- define DQ_SYNTAX_ERROR -6 // Syntax error
- define DQ_PROTOCOL_ERROR -7 // Protocol error
- define DQ_QUEUE_DESTROYED -8 // Queue deleted
- define DQ_UNSUPPORTED_LENGTH -9 // Bad queue length
- define DQ_INVALID_DSTREAM_LVL -10 // Invalid datastream level
- define DQ_INVALID_VERSION -11 // Invalid version
- define DQ_REJECTED_USEREXIT -12 // Rejected by user exit program
- define DQ_NOAUTH_USEREXIT -13 // Not authorized to user exit program
- define DQ_NOTFOUND_USEREXIT -14 // User exit program not found
- define DQ_CANCEL_RCV_COMPLETE -15 // Cancel of receive completed
- define DQ_FAILED_USEREXIT -16 // User exit program failed
- define DQ_INVALIDNUM_USEREXIT -17 // Invalid number of user exit programs
- define DQ_NO_DATAQUEUE -18 // Data Queue object is in a dirty state
- define DQ_UNDEFINED_ERROR -19 // Undefined error
- define DQ_OVERFLOW -20 // Data presented for a write will overflow
- define DQ_KEY_LENGTH_MISMATCH -21 // Length of supplied key doesn't equal DQ Key
Categories: ASP/400 | Knowledge Base | TBPR | Brad
