MQMHBO-消息句柄到缓冲区选项
MQMHBO 结构允许应用程序指定用于控制如何从消息句柄生成缓冲区的选项。 该结构是 MQMHBUF 调用上的输入参数。
字符集和编码
MQMHBO 中的数据必须采用应用程序的字符集以及应用程序的编码 (MQENC_NATIVE)。
字段
注: 在下表中,字段按用法 (而不是按字母顺序) 进行分组。 子主题遵循相同的顺序。
| 字段名称和描述 | 常量的名称 | 常量的初始值 (如果有) |
|---|---|---|
| StrucId (结构标识) | MQMHBO_STRUC_ID | 'MHBO' |
| 版本 (结构版本号) | MQMHBO_VERSION_1 | 1 |
| 选项 (用于控制 MQMHBUF 操作的选项) | MQMHBO_PROPERTIES_IN_MQRFH2 | |
备注信息:
|
||
语言声明
MQMHBO 的 C 声明
typedef struct tagMQMHBO MQMHBO;
struct tagMQMHBO {
MQCHAR4 StrucId; /* Structure identifier */
MQLONG Version; /* Structure version number */
MQLONG Options; /* Options that control the action of
MQMHBUF */
};
MQMHBO 的 COBOL 声明
** MQMHBO structure
10 MQMHBO.
** Structure identifier
15 MQMHBO-STRUCID PIC X(4).
** Structure version number
15 MQMHBO-VERSION PIC S9(9) BINARY.
** Options that control the action of MQMHBUF
15 MQMHBO-OPTIONS PIC S9(9) BINARY.
MQMHBO 的 PL/I 声明
Dcl
1 MQMHBO based,
3 StrucId char(4), /* Structure identifier */
3 Version fixed bin(31), /* Structure version number */
3 Options fixed bin(31), /* Options that control the action
of MQMHBUF */
MQMHBO 的 High Level Assembler 声明
MQMHBO DSECT
MQMHBO_STRUCID DS CL4 Structure identifier
MQMHBO_VERSION DS F Structure version number
MQMHBO_OPTIONS DS F Options that control the
* action of MQMHBUF
MQMHBO_LENGTH EQU *-MQMHBO
MQMHBO_AREA DS CL(MQMHBO_LENGTH)