Skip to content

Commit

Permalink
Update for MQ 934
Browse files Browse the repository at this point in the history
  • Loading branch information
ibmmqmet committed Oct 18, 2023
1 parent 93f51f4 commit 72d0c84
Show file tree
Hide file tree
Showing 19 changed files with 59 additions and 16 deletions.
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
History (newest at top)
=======================

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

Jun 2023 (v5.4.3)
* Update for MQ V9.3.3
Expand Down
Binary file modified bin/aix/convH
Binary file not shown.
Binary file modified bin/aix/mqsmfcsv
Binary file not shown.
Binary file modified bin/linux/convH
Binary file not shown.
Binary file modified bin/linux/mqsmfcsv
Binary file not shown.
Binary file modified bin/win/convH.exe
Binary file not shown.
Binary file modified bin/win/mqsmfcsv.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion src/M
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plat=`uname`

if [ -z "$VERS" ]
then
VERS="933"
VERS="934"
fi

if [ "$plat" = "AIX" ]
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.gcc.win
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CC=i686-w64-mingw32-gcc
# CFLAGS= -I. -m32 -fpack-struct=8 -DPLATFORM_WINDOWS
CFLAGS= -I. -m32 -DPLATFORM_WINDOWS
PLATFLAGS=
VERS=933
VERS=934
SRC = mqsmf.c \
smfDDL.c \
smfDate.c \
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.win
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CFLAGS=-nologo /D_CRT_SECURE_NO_WARNINGS /Zp1 /J /O2 /DPLATFORM_WINDOWS
VERS=933
VERS=934
SRC = mqsmf.c \
smfDDL.c \
smfDate.c \
Expand Down
4 changes: 2 additions & 2 deletions src/convH64.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2022 IBM Corporation and other Contributors.
* Copyright (c) 2016, 2023 IBM Corporation and other Contributors.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
Expand Down Expand Up @@ -419,7 +419,7 @@ void printHeader(char *version)
printf(" * by the convH program (convH64.c) in the src directory\n");
printf(" * Do not try to edit this header manually.\n");
printf(" * \n");
printf(" * (C) Copyright IBM Corp. 1993, 2022 All Rights Reserved.\n");
printf(" * (C) Copyright IBM Corp. 1993, 2023 All Rights Reserved.\n");
printf(" * \n");
printf(" */\n");
}
6 changes: 4 additions & 2 deletions src/mqsmf.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,11 @@
#define fseeko _fseeki64
typedef signed long long myoff_t;
typedef struct __stat64 mystat_t;
#define LLX "%llx"
#else
typedef off_t myoff_t;
typedef struct stat mystat_t;
#define LLX "%08X"
#endif

#ifndef PATH_MAX
Expand Down Expand Up @@ -731,9 +733,9 @@ int main( int argc, char *argv[] )
if (qwshlen <= 0)
{
FILE *dfp = printDEBUGStream();
fprintf(stderr,"Error: Data at file offset 0x%08X appears corrupt. Exiting the formatter.\n",currentOffset);
fprintf(stderr,"Error: Data at file offset 0x"LLX" appears corrupt. Exiting the formatter.\n",currentOffset);
if (dfp) {
fprintf(dfp, "Error: Data at file offset 0x%08X appears corrupt. Exiting the formatter.\n",currentOffset);
fprintf(dfp, "Error: Data at file offset 0x"LLX" appears corrupt. Exiting the formatter.\n",currentOffset);
}
corruptData = TRUE;
continue;
Expand Down
2 changes: 1 addition & 1 deletion src/mqsmf.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016 IBM Corporation and other Contributors.
* Copyright (c) 2016, 2023 IBM Corporation and other Contributors.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
Expand Down
4 changes: 2 additions & 2 deletions src/mqsmfstrucU.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file was generated from cqsdsmfc.h version 933
* This file was generated from cqsdsmfc.h version 934
* by the convH program (convH64.c) in the src directory
* Do not try to edit this header manually.
*
* (C) Copyright IBM Corp. 1993, 2022 All Rights Reserved.
* (C) Copyright IBM Corp. 1993, 2023 All Rights Reserved.
*
*/
#pragma pack(1)
Expand Down
4 changes: 2 additions & 2 deletions src/mqsmfstrucW.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file was generated from cqsdsmfc.h version 933
* This file was generated from cqsdsmfc.h version 934
* by the convH program (convH64.c) in the src directory
* Do not try to edit this header manually.
*
* (C) Copyright IBM Corp. 1993, 2022 All Rights Reserved.
* (C) Copyright IBM Corp. 1993, 2023 All Rights Reserved.
*
*/
#pragma pack(1)
Expand Down
2 changes: 1 addition & 1 deletion src/printDEBUG.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016 IBM Corporation and other Contributors.
* Copyright (c) 2016, 2023 IBM Corporation and other Contributors.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
Expand Down
40 changes: 40 additions & 0 deletions src/sizes.master.934
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
q5st : 672
qcct : 48
qct_dsp : 36
qct_adp : 32
qct_ssl : 48
qct_dns : 48
qcst : 324
qest : 4104
qesd : 336
qist : 80
qis1 : 104
qjst : 596
qlst : 32
qmac : 48
qmst : 104
qpst : 104
qqst : 552
qsgm : 48
qsph : 88
qsrs : 232
qsst : 72
qtst : 96
qwac : 176
qwhc : 92
qwhs : 52
wtas : 2344
wtid : 208
qwst : 28
qws0 : 96
qws1 : 72
qws5 : 16
qws8 : 16
qws9 : 16
qwsx : 48
qwas : 28
qwa0 : 56
wq : 2800
wq->maxqdpth: 588
wq->z__001 : 594
qqst->qqstdpth : 80
2 changes: 1 addition & 1 deletion src/smfJson.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016 IBM Corporation and other Contributors.
* Copyright (c) 2016, 2023 IBM Corporation and other Contributors.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
Expand Down
2 changes: 1 addition & 1 deletion src/smfPrint.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018 IBM Corporation and other Contributors.
* Copyright (c) 2018, 2023 IBM Corporation and other Contributors.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
Expand Down

0 comments on commit 72d0c84

Please sign in to comment.