MQOPEN call on IBM i

For the options of the MQOPEN call:

  • At least one of the following must be specified:

    • OOBRW
    • OOINPQ
    • OOINPX
    • OOINPS
    • OOINQ
    • OOOUT
    • OOSET

  • Only one of the following is allowed:

    • OOINPQ
    • OOINPX
    • OOINPS

  • Only one of the following is allowed:

    • OOBNDO
    • OOBNDN
    • OOBNDQ

    Note: The options listed previously are mutually exclusive. However, because the value of OOBNDQ is zero, specifying it with either of the other two bind options does not result in reason code RC2046. OOBNDQ is provided to aid program documentation.

  • If OOSAVA is specified, one of the OOINP* options must also be specified.
  • If one of the OOSET* or OOPAS* options is specified, OOOUT must also be specified.

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