Author |
Message |
Topic: Coding LLZZ IMS header in C++ |
gpklos
Replies: 20 Views: 24301
|
Forum: General IBM MQ Support Posted: Thu Mar 19, 2020 10:43 am Subject: Re: Coding LLZZ IMS header in C++ |
But on a good note it worked using the old C-style cast operator. I think the reinterpret_cast worked too but I didn't try that much.
C++ tried to improve on some of the functionality it inherited f ... |
Topic: Coding LLZZ IMS header in C++ |
gpklos
Replies: 20 Views: 24301
|
Forum: General IBM MQ Support Posted: Fri Mar 13, 2020 10:33 am Subject: Re: Coding LLZZ IMS header in C++ |
So I couldn't get any of these options to compile, they all complained that I was trying assign something to *char that wasn't the same type.
I forgot the disclaimer: any posted code is untested. Fo ... |
Topic: Coding LLZZ IMS header in C++ |
gpklos
Replies: 20 Views: 24301
|
Forum: General IBM MQ Support Posted: Wed Mar 11, 2020 11:57 am Subject: Re: Coding LLZZ IMS header in C++ |
MQUINT16 imslen=25, imsflags=0;
msg.write( 2, &imslen); // Total message length.
msg.write( 2, &imsflags); // IMS flags.
msg.write( 8, "1CHMU76 ") ... |
Topic: Coding LLZZ IMS header in C++ |
gpklos
Replies: 20 Views: 24301
|
Forum: General IBM MQ Support Posted: Wed Mar 11, 2020 3:34 am Subject: Re: Coding LLZZ IMS header in C++ |
Does anyone have a working example of how the write out the LLZZ header, or at least a little more detail?
MQ defines portable datatypes for 16-bit integers, either signed (MQINT16), or unsigned (MQU ... |
Topic: Coding LLZZ IMS header in C++ |
gpklos
Replies: 20 Views: 24301
|
Forum: General IBM MQ Support Posted: Tue Mar 10, 2020 4:59 am Subject: Coding LLZZ IMS header in C++ |
So, if in your C++ application you do the following:-
msg.write( 2, 25 ); // Total message length.
msg.write( 2, 0 ); // IMS flags.
msg.write( 8, "1CHMU76 " ); ... |
Topic: Coding LLZZ IMS header in C++ |
gpklos
Replies: 20 Views: 24301
|
Forum: General IBM MQ Support Posted: Mon Mar 09, 2020 11:37 am Subject: Coding LLZZ IMS header in C++ |
Do you know what the values are in your case for each of these pieces of the variable string? Then we can at least work with some real data (since I don't know what a real-life example would look li ... |
Topic: Coding LLZZ IMS header in C++ |
gpklos
Replies: 20 Views: 24301
|
Forum: General IBM MQ Support Posted: Sat Mar 07, 2020 3:34 pm Subject: Coding LLZZ IMS header in C++ |
Even before then many people used the C API from within C++ applications.
Cheers,
Morag
Are you suggesting to somehow use the Regular C routines to do the writing of the IMS Bridge message with ... |
Topic: Coding LLZZ IMS header in C++ |
gpklos
Replies: 20 Views: 24301
|
Forum: General IBM MQ Support Posted: Sat Mar 07, 2020 3:32 pm Subject: Coding LLZZ IMS header in C++ |
I'm not doubting whether it was stabilised. I'm sure it was, I just can't find any example for C++ coding to write to the IMS Bridge. Again I'm feeling really stupid. Do you know of any samples any ... |
Topic: Coding LLZZ IMS header in C++ |
gpklos
Replies: 20 Views: 24301
|
Forum: General IBM MQ Support Posted: Fri Mar 06, 2020 4:05 am Subject: Coding LLZZ IMS header in C++ |
amqsclma.c comes with distributed MQ in the /opt/mqm/samp directory, and it gives examples of how to build a PCF message in C (which would contain binary data in the message).
Thank you. I will ... |
Topic: Coding LLZZ IMS header in C++ |
gpklos
Replies: 20 Views: 24301
|
Forum: General IBM MQ Support Posted: Fri Mar 06, 2020 3:58 am Subject: Coding LLZZ IMS header in C++ |
It is from IBM's documentation. Like I said it is only pseudo code and isn't complete. It can be found at this link.
https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.1.0/com.ibm.mq.dev.doc/q ... |
Topic: Coding LLZZ IMS header in C++ |
gpklos
Replies: 20 Views: 24301
|
Forum: General IBM MQ Support Posted: Thu Mar 05, 2020 11:17 am Subject: Coding LLZZ IMS header in C++ |
I have been tasked to code a sample program that writes a message to the IMS Bridge using C++. I have done this same sample using vb.net and Java. However I am struggling to find how to write out th ... |
Topic: MQ 7.5 Encryption of Messages on Channels |
gpklos
Replies: 6 Views: 10752
|
Forum: IBM MQ Security Posted: Fri May 01, 2015 11:00 am Subject: MQ 7.5 Encryption of Messages on Channels |
Thanks for the quick replies. I think I understand things better now and know how to proceed.
Thanks!
Gary |
Topic: MQ 7.5 Encryption of Messages on Channels |
gpklos
Replies: 6 Views: 10752
|
Forum: IBM MQ Security Posted: Fri May 01, 2015 3:21 am Subject: MQ 7.5 Encryption of Messages on Channels |
So if I understand correctly, which I think I do, any application which is using the MQ client to connect to a queue manager, will either make environment variable changes, etc or if using MQCONNX, th ... |
Topic: MQ 7.5 Encryption of Messages on Channels |
gpklos
Replies: 6 Views: 10752
|
Forum: IBM MQ Security Posted: Thu Apr 30, 2015 10:56 am Subject: MQ 7.5 Encryption of Messages on Channels |
I have a few questions related to SSL. We are looking to encrypt our MQ message data when it flows over channels within our corporate network. I know MQ supports SSL, but I have some questions abou ... |
Topic: Windows Client Trigger Monitor (MA7K) not Reconnecting. |
gpklos
Replies: 9 Views: 9153
|
Forum: General IBM MQ Support Posted: Wed Aug 20, 2014 9:32 am Subject: Windows Client Trigger Monitor (MA7K) not Reconnecting. |
It turned out to be the version. The newer version is setup to handle the 2538 error, but the version I was using was not. Once I upgraded it worked as I needed it to.
Thanks,
Gary |