Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hot to do a jpeg image transfer using MQI ?

Status
Not open for further replies.

keelp

Technical User
Apr 29, 2003
1
SG
Hi

I have a customer who is currently only using MQI for interface
between mainframe and other platform. They plan to do jpeg images
transfer between AS/400 and mainframe. I have read that within AMI,
user must code AMFMT_NONE in amSendFile.
They have no experience in coding AMI.
what are the programming considerations?

Is there a way to do it using MQI??

Appreciate any advice and help.

Kind rdgs
Otto Kee (keelp@sg.ibm.com)
 
you can use the MQAPI to place any data (binary or otherwise in the message body).
In the past I have just memcpy'ed the binary data into the message buffer and then either left the message discriptor alone or you can also specify application specific message types in the mqmd, these have to be between the two system values of

MQMT_APPL_FIRST
Lowest value for application-defined message types.

MQMT_APPL_LAST
Highest value for application-defined message types.


for more info take a look at the following manual...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top