Skip to content

Commit 511c1bd

Browse files
committed
Add formatters for AMS & z/OS Connect EE 123 subtype version 1
1 parent 668a074 commit 511c1bd

54 files changed

Lines changed: 2938 additions & 474 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGES.md

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

22
History (newest at top)
33
=======================
4+
July 2020 (v5.3)
5+
* Update for MQ V9.2
6+
* Support for AMS SMF type 180 (thanks to Andrew Mattingly)
7+
* Experimental support for z/OS Connect EE type 123 (subtype version 1)
8+
49
Apr 2020 (v5.2.1)
510
* Update for MQ V9.1.5
611
* Include mqsmfstruc.h so you can build without copying a header from z/OS

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ structures in the SMF records are printed directly.
2626
See mqsmfcsv.doc for more information on using or building this code, and
2727
thoughts on possible enhancements to the code or this repository.
2828

29+
Recent enhancements to the package have gone beyond the primary SMF
30+
formatters for the MQ 115 and 116 records. The program can now also
31+
format MQ AMS (180) and z/OS Connect EE (123) records. But the name
32+
of the program is not changing to reflect that broader scope.
2933

3034
Pull requests
3135
=============

bin/aix/convH

0 Bytes
Binary file not shown.

bin/aix/mqsmfcsv

25.7 KB
Binary file not shown.

bin/linux/mqsmfcsv

17.6 KB
Binary file not shown.

bin/win/convH.exe

0 Bytes
Binary file not shown.

bin/win/mqsmfcsv.exe

13.5 KB
Binary file not shown.

mqsmfcsv.doc

2 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=915
29+
export PLATFLAGS=$flags CC=$cc VERS=920
3030
make -e -f Makefile.unix $*
3131

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

src/Makefile.gcc.win

Lines changed: 35 additions & 28 deletions
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=915
6+
VERS=920
77
SRC = mqsmf.c \
88
smfDDL.c \
99
smfDate.c \
@@ -12,32 +12,39 @@ SRC = mqsmf.c \
1212
smfPrint.c \
1313
checkSize.c \
1414
printDEBUG.c \
15-
printQ5ST.c \
16-
printQCST.c \
17-
printQCTADP.c \
18-
printQCTDNS.c \
19-
printQCTDSP.c \
20-
printQCTSSL.c \
21-
printQCCT.c \
22-
printQESD.c \
23-
printQEST.c \
24-
printQIS1.c \
25-
printQIST.c \
26-
printQJST.c \
27-
printQLST.c \
28-
printQMAC.c \
29-
printQMST.c \
30-
printQPST.c \
31-
printQSGM.c \
32-
printQSPH.c \
33-
printQSRS.c \
34-
printQSST.c \
35-
printQTST.c \
36-
printWQ.c \
37-
printWTAS.c \
38-
printWTID.c
15+
t115/printQ5ST.c \
16+
t115/printQCTADP.c \
17+
t115/printQCTDNS.c \
18+
t115/printQCTDSP.c \
19+
t115/printQCTSSL.c \
20+
t115/printQCCT.c \
21+
t115/printQESD.c \
22+
t115/printQEST.c \
23+
t115/printQIS1.c \
24+
t115/printQIST.c \
25+
t115/printQJST.c \
26+
t115/printQLST.c \
27+
t115/printQMST.c \
28+
t115/printQPST.c \
29+
t115/printQSGM.c \
30+
t115/printQSPH.c \
31+
t115/printQSRS.c \
32+
t115/printQSST.c \
33+
t115/printQTST.c \
34+
t116/printQCST.c \
35+
t116/printQMAC.c \
36+
t116/printWQ.c \
37+
t116/printWTAS.c \
38+
t116/printWTID.c \
39+
t123/printDataV1.c \
40+
t123/printDataV2.c \
41+
t123/printServerV1.c \
42+
t123/printServerV2.c \
43+
t180/printAMS.c
3944

40-
HDR = mqsmfstruc.h \
45+
HDR = mqsmfstrucW.h \
46+
t180/smf180.h \
47+
t123/smf123.h \
4148
mqsmf.h
4249

4350
default: mqsmfcsv.exe
@@ -57,8 +64,8 @@ mqsmfcsv.exe: $(SRC) $(HDR) Makefile.gcc.win dummy
5764
-mkdir out >/dev/null 2>&1 || true
5865
cp $@ ../bin/win
5966

60-
mqsmfstruc.h: convH.exe dummy
61-
./convH.exe $(VERS) < csqdsmfc-$(VERS).h > $@
67+
mqsmfstrucW.h: convH.exe dummy
68+
(test -s csqdsmfc-$(VERS).h && ./convH.exe $(VERS) < csqdsmfc-$(VERS).h > $@) || exit 0
6269

6370
convH.exe: convH64.c
6471
$(CC) $(CFLAGS) -o $@ convH64.c

0 commit comments

Comments
 (0)