Author |
Message |
Topic: Generate RFH2 header using RPGLE |
rvaidyan
Replies: 20 Views: 17652
|
Forum: IBM MQ API Support Posted: Wed Nov 24, 2010 5:30 pm Subject: Generate RFH2 header using RPGLE |
Ok. Lets assume he creates a RFH message and i load it into RFHUTIL tool. Still, i will not know what kind of RFH parameters was used to generate the message and not sure whether those parameters are ... |
Topic: Generate RFH2 header using RPGLE |
rvaidyan
Replies: 20 Views: 17652
|
Forum: IBM MQ API Support Posted: Wed Nov 24, 2010 5:24 pm Subject: Generate RFH2 header using RPGLE |
Ok. As far as i know, you can write messages using RFHUTIL by either reading a text file that has RFH headers or reading another queue that has a message with RFH header.
Both the things do not wor ... |
Topic: Generate RFH2 header using RPGLE |
rvaidyan
Replies: 20 Views: 17652
|
Forum: IBM MQ API Support Posted: Wed Nov 24, 2010 8:37 am Subject: Generate RFH2 header using RPGLE |
mqjeff,
I dont have any other sections under the variable field. I only have one section, which is the <usr> section.
Thanks
Ram |
Topic: Generate RFH2 header using RPGLE |
rvaidyan
Replies: 20 Views: 17652
|
Forum: IBM MQ API Support Posted: Wed Nov 24, 2010 6:43 am Subject: Generate RFH2 header using RPGLE |
Yes. The <usr> folder that i am trying to generate is 131 bytes long and i actually added 5 bytes to ensure, it is always divisble by 4. Overall the length of RFH2 is
Fixed - 36 Bytes
Variab ... |
Topic: Generate RFH2 header using RPGLE |
rvaidyan
Replies: 20 Views: 17652
|
Forum: IBM MQ API Support Posted: Wed Nov 24, 2010 6:20 am Subject: Generate RFH2 header using RPGLE |
Are you sure your <usr> folder starts where it is supposed to?
I believe both sections need to be "aligned"...
Hello,
Not sure if i understood your comment above. I h ... |
Topic: Generate RFH2 header using RPGLE |
rvaidyan
Replies: 20 Views: 17652
|
Forum: IBM MQ API Support Posted: Tue Nov 23, 2010 2:05 pm Subject: Generate RFH2 header using RPGLE |
I believe, somehow i managed to put in RFH2 header. Using the RFHUTIL, i reviewed the message. I have managed to put <usr> folder in the variable part of RFH2 message.
While reviewing the me ... |
Topic: Generate RFH2 header using RPGLE |
rvaidyan
Replies: 20 Views: 17652
|
Forum: IBM MQ API Support Posted: Mon Nov 22, 2010 8:58 pm Subject: Generate RFH2 header using RPGLE |
Apologies, if i didnt make it clear. My entire length (fixed & variable) of RFH2 header is 36 + 248 = 284. Plus I have added 4 bytes to bring it to 288, which is still divisible by 4.
The only ... |
Topic: Generate RFH2 header using RPGLE |
rvaidyan
Replies: 20 Views: 17652
|
Forum: IBM MQ API Support Posted: Mon Nov 22, 2010 8:42 pm Subject: Generate RFH2 header using RPGLE |
Yes, I did. I added extra 4 bytes for the folder and ensured that it has 4 byte alignment.
Thanks
Ram |
Topic: Generate RFH2 header using RPGLE |
rvaidyan
Replies: 20 Views: 17652
|
Forum: IBM MQ API Support Posted: Mon Nov 22, 2010 2:04 pm Subject: No responses for this topic?? |
Hello,
Has not anyone generated RFH2 using RPGLE? Please help.
Thanks
Ram |
Topic: Generate RFH2 header using RPGLE |
rvaidyan
Replies: 20 Views: 17652
|
Forum: IBM MQ API Support Posted: Fri Nov 19, 2010 12:57 pm Subject: Generate RFH2 header using RPGLE |
Hello,
I am trying to generate RFH2 header while sending a message to a remote queue. The development is using RPGLE and i am using the copybook source CMQRFH2G available in QMQM/QRPGLESRC. Under t ... |