Skip to content

Commit b7f3cd0

Browse files
committed
Update to reference MQ 9.2.3; fix QESD interpretation
1 parent 09f0f52 commit b7f3cd0

File tree

13 files changed

+32
-8
lines changed

13 files changed

+32
-8
lines changed

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11

22
History (newest at top)
33
=======================
4+
Jul 2021 (v5.3.2)
5+
* Recognise and ignore 115 subtype 240 (an internal undocumented stucture)
6+
* Fix an error in QESD interpretation
7+
* Update for MQ V9.2.3 (no real change)
8+
9+
410
Mar 2021 (v5.3.1)
511
* Update for MQ V9.2.2 (no real change)
612

bin/aix/convH

0 Bytes
Binary file not shown.

bin/aix/mqsmfcsv

574 Bytes
Binary file not shown.

bin/linux/convH

104 Bytes
Binary file not shown.

bin/linux/mqsmfcsv

4.14 KB
Binary file not shown.

bin/win/mqsmfcsv.exe

-3.5 KB
Binary file not shown.

src/M

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ else
2626
flags="$flags $optim"
2727
fi
2828

29-
export PLATFLAGS=$flags CC=$cc VERS=922
29+
export PLATFLAGS=$flags CC=$cc VERS=923
3030
make -e -f Makefile.unix $*
3131

3232
rm -f $targdir/convH $targdir/mqsmfcsv

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=922
6+
VERS=923
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=922
2+
VERS=923
33
SRC = mqsmf.c \
44
smfDDL.c \
55
smfDate.c \

src/mqsmf.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ static unsigned int startingRecords = 0;
159159
static myoff_t pos;
160160
static int offsetCorrection = 0;
161161

162+
static BOOL warn115_240=FALSE;
163+
162164
static time_t startTime = 0;
163165
static char *formatRate;
164166

@@ -910,6 +912,18 @@ int main( int argc, char *argv[] )
910912
}
911913
break;
912914

915+
case 240:
916+
/* These are internal undocumented structures. There's not much we can do */
917+
/* except ignore them. We will see them show up in the overall subtype */
918+
/* stats of records processed, but no other debug. */
919+
if (!warn115_240)
920+
{
921+
sprintf(tmpHead,"Internal SMF %d subtype %d records found",SMFTYPE_MQ_STAT,recordSubType);
922+
fprintf(infoStream,"%s\n",tmpHead);
923+
warn115_240=TRUE;
924+
}
925+
break;
926+
913927
default:
914928
knownSubType = FALSE;
915929
sprintf(tmpHead,"Unknown SMF %d subtype %d",SMFTYPE_MQ_STAT,recordSubType);

0 commit comments

Comments
 (0)