ASP/400 Data Queue Error Return Constants - Support

ASP/400 Data Queue Error Return Constants

From Support

Jump to: navigation, search

// Data Queue Error Constants

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