Skip to content

Commit 72d0c84

Browse files
committed
Update for MQ 934
1 parent 93f51f4 commit 72d0c84

19 files changed

+59
-16
lines changed

CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
History (newest at top)
33
=======================
44

5-
Sep 2023 (v5.4.4)
5+
Oct 2023 (v5.4.4)
66
* Try to recognise some input file corruption and cleanly exit
7+
* Update for MQ V9.3.4 (no changes to SMF records)
78

89
Jun 2023 (v5.4.3)
910
* Update for MQ V9.3.3

bin/aix/convH

0 Bytes
Binary file not shown.

bin/aix/mqsmfcsv

2.43 KB
Binary file not shown.

bin/linux/convH

-1.47 KB
Binary file not shown.

bin/linux/mqsmfcsv

2.63 KB
Binary file not shown.

bin/win/convH.exe

0 Bytes
Binary file not shown.

bin/win/mqsmfcsv.exe

1 KB
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="933"
7+
VERS="934"
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=933
6+
VERS=934
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=933
2+
VERS=934
33
SRC = mqsmf.c \
44
smfDDL.c \
55
smfDate.c \

src/convH64.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2022 IBM Corporation and other Contributors.
2+
* Copyright (c) 2016, 2023 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
@@ -419,7 +419,7 @@ void printHeader(char *version)
419419
printf(" * by the convH program (convH64.c) in the src directory\n");
420420
printf(" * Do not try to edit this header manually.\n");
421421
printf(" * \n");
422-
printf(" * (C) Copyright IBM Corp. 1993, 2022 All Rights Reserved.\n");
422+
printf(" * (C) Copyright IBM Corp. 1993, 2023 All Rights Reserved.\n");
423423
printf(" * \n");
424424
printf(" */\n");
425425
}

src/mqsmf.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,11 @@
8989
#define fseeko _fseeki64
9090
typedef signed long long myoff_t;
9191
typedef struct __stat64 mystat_t;
92+
#define LLX "%llx"
9293
#else
9394
typedef off_t myoff_t;
9495
typedef struct stat mystat_t;
96+
#define LLX "%08X"
9597
#endif
9698

9799
#ifndef PATH_MAX
@@ -731,9 +733,9 @@ int main( int argc, char *argv[] )
731733
if (qwshlen <= 0)
732734
{
733735
FILE *dfp = printDEBUGStream();
734-
fprintf(stderr,"Error: Data at file offset 0x%08X appears corrupt. Exiting the formatter.\n",currentOffset);
736+
fprintf(stderr,"Error: Data at file offset 0x"LLX" appears corrupt. Exiting the formatter.\n",currentOffset);
735737
if (dfp) {
736-
fprintf(dfp, "Error: Data at file offset 0x%08X appears corrupt. Exiting the formatter.\n",currentOffset);
738+
fprintf(dfp, "Error: Data at file offset 0x"LLX" appears corrupt. Exiting the formatter.\n",currentOffset);
737739
}
738740
corruptData = TRUE;
739741
continue;

src/mqsmf.h

Lines changed: 1 addition & 1 deletion
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, 2023 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

src/mqsmfstrucU.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
2-
* This file was generated from cqsdsmfc.h version 933
2+
* This file was generated from cqsdsmfc.h version 934
33
* by the convH program (convH64.c) in the src directory
44
* Do not try to edit this header manually.
55
*
6-
* (C) Copyright IBM Corp. 1993, 2022 All Rights Reserved.
6+
* (C) Copyright IBM Corp. 1993, 2023 All Rights Reserved.
77
*
88
*/
99
#pragma pack(1)

src/mqsmfstrucW.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
2-
* This file was generated from cqsdsmfc.h version 933
2+
* This file was generated from cqsdsmfc.h version 934
33
* by the convH program (convH64.c) in the src directory
44
* Do not try to edit this header manually.
55
*
6-
* (C) Copyright IBM Corp. 1993, 2022 All Rights Reserved.
6+
* (C) Copyright IBM Corp. 1993, 2023 All Rights Reserved.
77
*
88
*/
99
#pragma pack(1)

src/printDEBUG.c

Lines changed: 1 addition & 1 deletion
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, 2023 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

src/sizes.master.934

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
q5st : 672
2+
qcct : 48
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/smfJson.c

Lines changed: 1 addition & 1 deletion
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, 2023 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

src/smfPrint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018 IBM Corporation and other Contributors.
2+
* Copyright (c) 2018, 2023 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

0 commit comments

Comments
 (0)