MQ_CONN

LANSA Integrator

MQ_CONN

The MQ_CONN BIF opens a connection to a queue manager and returns a connection handle.

If the returned status is OK or MQR2002 then the connection handle is usable.

If the returned status is OK then there are no other opened connections and the program should close the connection.

If the returned status is MQR2002 then there are other opened connections and the program should not close the connection, as this will close the other connections as well.

Arguments

No

Type

Required
Optional

Description

Min
Length

Max
Length

Min
Decimal

Max
Decimal

1

A

Required

Queue Manager.

48

48

 

 

 

Return Values

No

Type

Required
Optional

Description

Min
Length

Max
Length

Min
Decimal

Max
Decimal

1

A

Required

Status.

20

20

 

 

2

A

Required

Message.

1

256

 

 

3

A

Required

Connection Handle.

4

4