MQSUB call on IBM i

For the options of the MQSUB call:

  • At least one of the following must be specified:
  • At least one of the following must be specified:

    • SOALT
    • SORES
    • SOCRT

  • Only one of the following is allowed:

    • SODUR
    • SONDUR

    Note: The options listed previously are mutually exclusive. However, as the value of SOnDUR is zero, specifying it with SODUR does not result in reason code RC2046. SONDUR is provided to aid program documentation.

  • The combination of SOGRP and SOMAN is not allowed.
  • SOGRP requires SOSCID to be specified.
  • Only one of the following is allowed: SOAUID SOFUID
  • The combination of SONEWP and SOPUBR is not allowed.
  • SONEWP is only allowed in combination with SOCRT.
  • Only one of the following is allowed:

    • SOWCHR
    • SOWTOP

Parent topic: Rules for validating MQI options for IBM i (ILE RPG)