Scope of an object handle

 

The scope of an object handle (Hobj) is the same as the scope of a connection handle (Hconn). This is covered in Scope of MQCONN or MQCONNX and Shared (thread independent) connections with MQCONNX. However, there are additional considerations in some environments :

CICS

In a CICS program, we can use the handle only within the same CICS task from which you made the MQOPEN call.

IMS and z/OS batch

In the IMS and batch environments, we can use the handle within the same task, but not within any subtasks.

Descriptions of the parameters of the MQOPEN call are given in the Application Programming Reference.

The following sections describe the information that supply as input to MQOPEN.

 

Parent topic:

Opening objects using the MQOPEN call


fg12150_