MQ_PUT

The MQ_PUT BIF gets a message response from the loaded service and puts it into the queue.

Arguments

No

Type

Required
Optional

Description

Min
Length

Max
Length

Min
Decimal

Max
Decimal

1

A

Required

Connection Handle.

4

4

 

 

2

A

Required

Queue Handle.

4

4

 

 

3

P

Required

Message Type.
8 - Datagram
65536-999999999 - User defined.
If a value of 0 is passed then a value of 8 is used.

9

9

0

0

4

A

Required

Message Format.
*BLANK - MQFMT_NONE
MQSTR - MQFMT_STRING
or user defined.

8

8

 

 

5

A

Required

Message Id or *BLANK for queue manager to auto-generate.

24

24

 

 

6

A

Required

Correlation Id or *BLANK.

24

24

 

 

7

A

Required

Remote Message Queue or *BLANK.

48

48

 

 

8

A

Required

Remote Queue or *BLANK

48

48

 

 

9

P

Optional

Expiry.(millisecond)
-1 for queue default.

9

9

0

0

10

A

Optional

User.
Default is *BLANK.

12

12

 

 

11

A

Optional

Application Id.

32

32

 

 

 

 

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