Skip to content

Commit d808420

Browse files
committed
Update for MQ 9.3.5
1 parent fe82951 commit d808420

File tree

15 files changed

+65
-11
lines changed

15 files changed

+65
-11
lines changed

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
History (newest at top)
33
=======================
44

5+
Feb 2024 (v5.4.5)
6+
* Update for MQ V9.3.5
7+
* QCCT now has info about 64-bit CHIN storage use
8+
* Previous "Storage_Usage" renamed to "Storage_Usage_31"
9+
* New fields added
10+
511
Oct 2023 (v5.4.4)
612
* Try to recognise some input file corruption and cleanly exit
713
* Update for MQ V9.3.4 (no changes to SMF records)

bin/aix/convH

0 Bytes
Binary file not shown.

bin/aix/mqsmfcsv

430 Bytes
Binary file not shown.

bin/linux/convH

-6.64 KB
Binary file not shown.

bin/linux/mqsmfcsv

-6.65 KB
Binary file not shown.

bin/win/mqsmfcsv.exe

0 Bytes
Binary file not shown.

src/M

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plat=`uname`
44

55
if [ -z "$VERS" ]
66
then
7-
VERS="934"
7+
VERS="935"
88
fi
99

1010
if [ "$plat" = "AIX" ]

src/Makefile.gcc.win

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ CC=i686-w64-mingw32-gcc
33
# CFLAGS= -I. -m32 -fpack-struct=8 -DPLATFORM_WINDOWS
44
CFLAGS= -I. -m32 -DPLATFORM_WINDOWS
55
PLATFLAGS=
6-
VERS=934
6+
VERS=935
77
SRC = mqsmf.c \
88
smfDDL.c \
99
smfDate.c \

src/Makefile.win

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CFLAGS=-nologo /D_CRT_SECURE_NO_WARNINGS /Zp1 /J /O2 /DPLATFORM_WINDOWS
2-
VERS=934
2+
VERS=935
33
SRC = mqsmf.c \
44
smfDDL.c \
55
smfDate.c \

src/mqsmfstrucU.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file was generated from cqsdsmfc.h version 934
2+
* This file was generated from cqsdsmfc.h version 935
33
* by the convH program (convH64.c) in the src directory
44
* Do not try to edit this header manually.
55
*
@@ -137,6 +137,8 @@ uint32_t qcctmxac;
137137
uint32_t qcctmxtp;
138138
uint32_t qcctmxlu;
139139
uint32_t qcctstus;
140+
uint64_t qcctstab;
141+
uint64_t qcctslim;
140142
} qcct;
141143
#define QCCTIDV 0xE741
142144
#define QCCTEYEV "QCCT"

src/mqsmfstrucW.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file was generated from cqsdsmfc.h version 934
2+
* This file was generated from cqsdsmfc.h version 935
33
* by the convH program (convH64.c) in the src directory
44
* Do not try to edit this header manually.
55
*
@@ -137,6 +137,8 @@ uint32_t qcctmxac;
137137
uint32_t qcctmxtp;
138138
uint32_t qcctmxlu;
139139
uint32_t qcctstus;
140+
uint64_t qcctstab;
141+
uint64_t qcctslim;
140142
} qcct;
141143
#define QCCTIDV 0xE741
142144
#define QCCTEYEV "QCCT"

src/sizes.master.935

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
q5st : 672
2+
qcct : 64
3+
qct_dsp : 36
4+
qct_adp : 32
5+
qct_ssl : 48
6+
qct_dns : 48
7+
qcst : 324
8+
qest : 4104
9+
qesd : 336
10+
qist : 80
11+
qis1 : 104
12+
qjst : 596
13+
qlst : 32
14+
qmac : 48
15+
qmst : 104
16+
qpst : 104
17+
qqst : 552
18+
qsgm : 48
19+
qsph : 88
20+
qsrs : 232
21+
qsst : 72
22+
qtst : 96
23+
qwac : 176
24+
qwhc : 92
25+
qwhs : 52
26+
wtas : 2344
27+
wtid : 208
28+
qwst : 28
29+
qws0 : 96
30+
qws1 : 72
31+
qws5 : 16
32+
qws8 : 16
33+
qws9 : 16
34+
qwsx : 48
35+
qwas : 28
36+
qwa0 : 56
37+
wq : 2800
38+
wq->maxqdpth: 588
39+
wq->z__001 : 594
40+
qqst->qqstdpth : 80

src/t115/printQCCT.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016 IBM Corporation and other Contributors.
2+
* Copyright (c) 2016, 2024 IBM Corporation and other Contributors.
33
*
44
* All rights reserved. This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License v1.0
@@ -27,7 +27,11 @@ void printQCCT(qcct *p)
2727
ADDU32 ("Active_Chl_Max" ,p->qcctmxac);
2828
ADDU32 ("Max_TCP_Chl" ,p->qcctmxtp);
2929
ADDU32 ("Max_LU62_Chl" ,p->qcctmxlu);
30-
ADDU32 ("Storage_Usage" ,p->qcctstus);
30+
ADDU32 ("Storage_Usage_31" ,p->qcctstus);
31+
if (conv16(p->qcctll) > offsetof(qcct,qcctstab)) {
32+
ADDU64("Storage_Usage_64" , p->qcctstab);
33+
ADDU64("Storage_Limit_64" , p->qcctslim);
34+
}
3135
SMFPRINTSTOP;
3236

3337
return;

src/t116/printQCST.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016,2020 IBM Corporation and other Contributors.
2+
* Copyright (c) 2016,2024 IBM Corporation and other Contributors.
33
*
44
* All rights reserved. This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License v1.0
@@ -27,7 +27,7 @@ void printQCST(qcst *p)
2727
ADDSTR ("Type" ,strMQCHT((int)p->qcstchty),20);
2828
ADDSTR ("Status" ,strMQCHS((int)p->qcstchst),20);
2929
ADDSTR ("Stat_Setting" ,strMQMON((int)p->qcststcl),20);
30-
ADDSTREN("Connection_Name" ,p->qcstcnnm,48);
30+
ADDSTRENM("Connection_Name" ,p->qcstcnnm,48,48);
3131
ADDTIME ("Start" ,p->qcststrt);
3232
ADDTIME ("Stop" ,p->qcstludt);
3333
ADDTIME ("Last_Msg" ,p->qcstlmst);

src/t116/printWTID.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016 IBM Corporation and other Contributors.
2+
* Copyright (c) 2016,2024 IBM Corporation and other Contributors.
33
*
44
* All rights reserved. This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License v1.0
@@ -29,7 +29,7 @@ void printWTID(wtid *p, unsigned char *correlid)
2929
ADDSTRB ("UOW_ID", p->wtiduowi, 24);
3030
ADDSTRB ("Accounting_Token", p->wtidacct, 22);
3131
ADDSTREN("Channel_Name", p->wtidchl, 20);
32-
ADDSTREN("Channel_Connection_Name", p->wtidchlc, 48);
32+
ADDSTRENM("Channel_Connection_Name", p->wtidchlc, 48, 48);
3333
ADDSTRB ("Context_Token", p->wtidctxt, 16);
3434
ADDSTREN("MVS_UserId", p->wtidtran, 8);
3535

0 commit comments

Comments
 (0)