Author |
Message |
Topic: MQGET convert EBCDIC to ASCII? |
Sam12345
Replies: 8 Views: 7083
|
Forum: General IBM MQ Support Posted: Wed Oct 15, 2003 7:23 am Subject: MQGET convert EBCDIC to ASCII? |
They are.
Do I have to set Encoding or CodedCharSetId to ASCII, somehow?
Thank you for your time and patience. |
Topic: MQGET convert EBCDIC to ASCII? |
Sam12345
Replies: 8 Views: 7083
|
Forum: General IBM MQ Support Posted: Wed Oct 15, 2003 6:25 am Subject: MQGET convert EBCDIC to ASCII? |
They say they do.... |
Topic: MQGET convert EBCDIC to ASCII? |
Sam12345
Replies: 8 Views: 7083
|
Forum: General IBM MQ Support Posted: Wed Oct 15, 2003 5:57 am Subject: MQGET convert EBCDIC to ASCII? |
This is the msg Descriptor
my $MsgDesc = {ReplyToQ => ("OUTPUT"),
Format => MQFMT_STRING}; # MQGet message descriptor |
Topic: MQGET convert EBCDIC to ASCII? |
Sam12345
Replies: 8 Views: 7083
|
Forum: General IBM MQ Support Posted: Wed Oct 15, 2003 4:33 am Subject: MQGET convert EBCDIC to ASCII? |
I am reading a mainframe message that is in EBCDIC.
I am using these options (written in Perl):
my $GetMsgOpts = {
Options =>
MQGMO_ACCEPT_TRUNCATED_MSG = ... |
Topic: I'm doing something wrong with the CorrelId... |
Sam12345
Replies: 10 Views: 5364
|
Forum: General IBM MQ Support Posted: Thu Oct 02, 2003 10:45 am Subject: I'm doing something wrong with the CorrelId... |
Thank you for the help! |
Topic: I'm doing something wrong with the CorrelId... |
Sam12345
Replies: 10 Views: 5364
|
Forum: General IBM MQ Support Posted: Thu Oct 02, 2003 10:21 am Subject: I'm doing something wrong with the CorrelId... |
Yes to both. I was told I need to set it so I can retrive a response on the ReplyToQ from a mainframe. I was given a specific CorrelId to use. |
Topic: I'm doing something wrong with the CorrelId... |
Sam12345
Replies: 10 Views: 5364
|
Forum: General IBM MQ Support Posted: Thu Oct 02, 2003 9:57 am Subject: I'm doing something wrong with the CorrelId... |
Then, assuming no additional packages such as the MQSI Broker, is the last piece of code where I manually load the CorrelId to both the MsgId and the CorrelId the correct way to do this? |
Topic: I'm doing something wrong with the CorrelId... |
Sam12345
Replies: 10 Views: 5364
|
Forum: General IBM MQ Support Posted: Thu Oct 02, 2003 7:07 am Subject: I'm doing something wrong with the CorrelId |
Jeff,
If I do the following, it does appear:
my $MsgDesc =
{ReplyToQ => $CIRReplyToQ,
Format => MQFMT_STRING,
MsgId => $CIRCorrelId,
CorrelId => $CIRCorrelId,
MQMD_REPORT => ... |
Topic: I'm doing something wrong with the CorrelId... |
Sam12345
Replies: 10 Views: 5364
|
Forum: General IBM MQ Support Posted: Thu Oct 02, 2003 6:39 am Subject: I'm doing something wrong with the CorrelId... |
I'm doing something wrong with the CorrelId. If someone could please look at the snippet below and tell me where I've gone wrong... The print statements show I have the MsgId and the ReplyToQ correctl ... |
Topic: EBCDIC to ASCII MQGMO_CONVERT |
Sam12345
Replies: 5 Views: 8092
|
Forum: General IBM MQ Support Posted: Thu Sep 18, 2003 11:29 am Subject: EBCDIC to ASCII MQGMO_CONVERT |
Thank you all for your time. |
Topic: EBCDIC to ASCII MQGMO_CONVERT |
Sam12345
Replies: 5 Views: 8092
|
Forum: General IBM MQ Support Posted: Wed Sep 17, 2003 6:34 am Subject: EBCDIC to ASCII MQGMO_CONVERT |
The language is Perl. The general syntax seems correct because I can exchange MQ messages with several systems. This, however, is the first mainframe one.
The format, when I leave the message for t ... |
Topic: EBCDIC to ASCII MQGMO_CONVERT |
Sam12345
Replies: 5 Views: 8092
|
Forum: General IBM MQ Support Posted: Wed Sep 17, 2003 4:54 am Subject: EBCDIC to ASCII MQGMO_CONVERT |
I am trying to MQGET a message deposited by a mainframe in EBCDIC. But the convert fails and I am picking up an untranslated message.
My MQGET options are as follows:
my $GetMsgOpts = {
... |
Topic: MQGET format 'string' |
Sam12345
Replies: 7 Views: 5566
|
Forum: General IBM MQ Support Posted: Mon Sep 15, 2003 10:57 am Subject: Fixed - Thank you Jeff |
That fixed it. Thank you. |
Topic: MQGET format 'string' |
Sam12345
Replies: 7 Views: 5566
|
Forum: General IBM MQ Support Posted: Fri Sep 12, 2003 10:24 am Subject: Thanks all for advice |
I am still doing something wrong. I am using Perl to generate my MQPUTand the acutal code is below. The result is still not string format according to the recipient.
my $MsgDesc = {MQFMT_STRING} ... |
Topic: MQGET format 'string' |
Sam12345
Replies: 7 Views: 5566
|
Forum: General IBM MQ Support Posted: Thu Sep 11, 2003 5:31 am Subject: MQGET format 'string' |
I have been told I need to set my format type to 'string' on my MQGET. This is needed to convert the message from ascii to EBCDIC. However, I have gone through the manuals available to me and do not s ... |