Skip to content

Commit 4c2ac97

Browse files
committed
Add group/segment status chars to MQI definitions
1 parent 380e3d9 commit 4c2ac97

File tree

7 files changed

+55
-7
lines changed

7 files changed

+55
-7
lines changed

ibmmq/cmqc_aix.go

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ package ibmmq
1616
* for each value; those can be found in other header files such as
1717
* cmqc.h.
1818
****************************************************************
19-
* Copyright (c) IBM Corporation 1993, 2021
19+
* Copyright (c) IBM Corporation 1993, 2022
2020
*
2121
* Licensed under the Apache License, Version 2.0 (the "License");
2222
* you may not use this file except in compliance with the License.
@@ -5093,4 +5093,12 @@ const (
50935093
MQFMT_TRIGGER string = "MQTRIG"
50945094
MQFMT_WORK_INFO_HEADER string = "MQHWIH"
50955095
MQFMT_XMIT_Q_HEADER string = "MQXMIT"
5096+
MQGS_NOT_IN_GROUP rune = ' '
5097+
MQGS_MSG_IN_GROUP rune = 'G'
5098+
MQGS_LAST_MSG_IN_GROUP rune = 'L'
5099+
MQSS_NOT_A_SEGMENT rune = ' '
5100+
MQSS_SEGMENT rune = 'S'
5101+
MQSS_LAST_SEGMENT rune = 'L'
5102+
MQSEG_INHIBITED rune = ' '
5103+
MQSEG_ALLOWED rune = 'A'
50965104
)

ibmmq/cmqc_darwin.go

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ package ibmmq
1414
* for each value; those can be found in other header files such as
1515
* cmqc.h.
1616
****************************************************************
17-
* Copyright (c) IBM Corporation 1993, 2021
17+
* Copyright (c) IBM Corporation 1993, 2022
1818
*
1919
* Licensed under the Apache License, Version 2.0 (the "License");
2020
* you may not use this file except in compliance with the License.
@@ -5091,4 +5091,12 @@ const (
50915091
MQFMT_TRIGGER string = "MQTRIG"
50925092
MQFMT_WORK_INFO_HEADER string = "MQHWIH"
50935093
MQFMT_XMIT_Q_HEADER string = "MQXMIT"
5094+
MQGS_NOT_IN_GROUP rune = ' '
5095+
MQGS_MSG_IN_GROUP rune = 'G'
5096+
MQGS_LAST_MSG_IN_GROUP rune = 'L'
5097+
MQSS_NOT_A_SEGMENT rune = ' '
5098+
MQSS_SEGMENT rune = 'S'
5099+
MQSS_LAST_SEGMENT rune = 'L'
5100+
MQSEG_INHIBITED rune = ' '
5101+
MQSEG_ALLOWED rune = 'A'
50945102
)

ibmmq/cmqc_linux_amd64.go

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ package ibmmq
1414
* for each value; those can be found in other header files such as
1515
* cmqc.h.
1616
****************************************************************
17-
* Copyright (c) IBM Corporation 1993, 2021
17+
* Copyright (c) IBM Corporation 1993, 2022
1818
*
1919
* Licensed under the Apache License, Version 2.0 (the "License");
2020
* you may not use this file except in compliance with the License.
@@ -5091,4 +5091,12 @@ const (
50915091
MQFMT_TRIGGER string = "MQTRIG"
50925092
MQFMT_WORK_INFO_HEADER string = "MQHWIH"
50935093
MQFMT_XMIT_Q_HEADER string = "MQXMIT"
5094+
MQGS_NOT_IN_GROUP rune = ' '
5095+
MQGS_MSG_IN_GROUP rune = 'G'
5096+
MQGS_LAST_MSG_IN_GROUP rune = 'L'
5097+
MQSS_NOT_A_SEGMENT rune = ' '
5098+
MQSS_SEGMENT rune = 'S'
5099+
MQSS_LAST_SEGMENT rune = 'L'
5100+
MQSEG_INHIBITED rune = ' '
5101+
MQSEG_ALLOWED rune = 'A'
50945102
)

ibmmq/cmqc_linux_ppc64le.go

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ package ibmmq
1414
* for each value; those can be found in other header files such as
1515
* cmqc.h.
1616
****************************************************************
17-
* Copyright (c) IBM Corporation 1993, 2021
17+
* Copyright (c) IBM Corporation 1993, 2022
1818
*
1919
* Licensed under the Apache License, Version 2.0 (the "License");
2020
* you may not use this file except in compliance with the License.
@@ -5091,4 +5091,12 @@ const (
50915091
MQFMT_TRIGGER string = "MQTRIG"
50925092
MQFMT_WORK_INFO_HEADER string = "MQHWIH"
50935093
MQFMT_XMIT_Q_HEADER string = "MQXMIT"
5094+
MQGS_NOT_IN_GROUP rune = ' '
5095+
MQGS_MSG_IN_GROUP rune = 'G'
5096+
MQGS_LAST_MSG_IN_GROUP rune = 'L'
5097+
MQSS_NOT_A_SEGMENT rune = ' '
5098+
MQSS_SEGMENT rune = 'S'
5099+
MQSS_LAST_SEGMENT rune = 'L'
5100+
MQSEG_INHIBITED rune = ' '
5101+
MQSEG_ALLOWED rune = 'A'
50945102
)

ibmmq/cmqc_linux_s390x.go

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ package ibmmq
1414
* for each value; those can be found in other header files such as
1515
* cmqc.h.
1616
****************************************************************
17-
* Copyright (c) IBM Corporation 1993, 2021
17+
* Copyright (c) IBM Corporation 1993, 2022
1818
*
1919
* Licensed under the Apache License, Version 2.0 (the "License");
2020
* you may not use this file except in compliance with the License.
@@ -5091,4 +5091,12 @@ const (
50915091
MQFMT_TRIGGER string = "MQTRIG"
50925092
MQFMT_WORK_INFO_HEADER string = "MQHWIH"
50935093
MQFMT_XMIT_Q_HEADER string = "MQXMIT"
5094+
MQGS_NOT_IN_GROUP rune = ' '
5095+
MQGS_MSG_IN_GROUP rune = 'G'
5096+
MQGS_LAST_MSG_IN_GROUP rune = 'L'
5097+
MQSS_NOT_A_SEGMENT rune = ' '
5098+
MQSS_SEGMENT rune = 'S'
5099+
MQSS_LAST_SEGMENT rune = 'L'
5100+
MQSEG_INHIBITED rune = ' '
5101+
MQSEG_ALLOWED rune = 'A'
50945102
)

ibmmq/cmqc_windows.go

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ package ibmmq
1414
* for each value; those can be found in other header files such as
1515
* cmqc.h.
1616
****************************************************************
17-
* Copyright (c) IBM Corporation 1993, 2021
17+
* Copyright (c) IBM Corporation 1993, 2022
1818
*
1919
* Licensed under the Apache License, Version 2.0 (the "License");
2020
* you may not use this file except in compliance with the License.
@@ -5091,4 +5091,12 @@ const (
50915091
MQFMT_TRIGGER string = "MQTRIG"
50925092
MQFMT_WORK_INFO_HEADER string = "MQHWIH"
50935093
MQFMT_XMIT_Q_HEADER string = "MQXMIT"
5094+
MQGS_NOT_IN_GROUP rune = ' '
5095+
MQGS_MSG_IN_GROUP rune = 'G'
5096+
MQGS_LAST_MSG_IN_GROUP rune = 'L'
5097+
MQSS_NOT_A_SEGMENT rune = ' '
5098+
MQSS_SEGMENT rune = 'S'
5099+
MQSS_LAST_SEGMENT rune = 'L'
5100+
MQSEG_INHIBITED rune = ' '
5101+
MQSEG_ALLOWED rune = 'A'
50945102
)

ibmmq/mqistr.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ package ibmmq
1616
* for each value; those can be found in other header files such as
1717
* cmqc.h.
1818
****************************************************************
19-
* Copyright (c) IBM Corporation 1993, 2021
19+
* Copyright (c) IBM Corporation 1993, 2022
2020
*
2121
* Licensed under the Apache License, Version 2.0 (the "License");
2222
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)