ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » mqmd header properties

Post new topic  Reply to topic
 mqmd header properties « View previous topic :: View next topic » 
Author Message
maxis
PostPosted: Fri Jul 18, 2003 11:23 am    Post subject: mqmd header properties Reply with quote

Centurion

Joined: 25 Jun 2002
Posts: 144

how to pull a following MQMD information from the the jms program ?

* Application type
* Encoding
* CCSID

I was able to pull the Application type from JMS_IBM_PutApplType type from the jms extended header. But it returns an Integer .... where can i get the mapping of this value to the respective application name ?


thanks
M
Back to top
View user's profile Send private message
bduncan
PostPosted: Fri Jul 18, 2003 4:37 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

From the application programming reference:
Quote:
MQAT_* (Application type)

See the PutApplType field described in Chapter 10, MQMD - Message descriptor, and the ApplType attribute described in Chapter 43, Attributes for process definitions.

MQAT_UNKNOWN -1 X'FFFFFFFF'
MQAT_NO_CONTEXT 0 X'00000000'
MQAT_CICS 1 X'00000001'
MQAT_MVS 2 X'00000002'
MQAT_OS390 2 X'00000002'
MQAT_ZOS 2 X'00000002'
MQAT_IMS 3 X'00000003'
MQAT_OS2 4 X'00000004'
MQAT_DOS 5 X'00000005'
MQAT_AIX 6 X'00000006'
MQAT_UNIX 6 X'00000006'
MQAT_QMGR 7 X'00000007'
MQAT_OS400 8 X'00000008'
MQAT_WINDOWS 9 X'00000009'
MQAT_CICS_VSE 10 X'0000000A'
MQAT_WINDOWS_NT 11 X'0000000B'
MQAT_VMS 12 X'0000000C'
MQAT_GUARDIAN 13 X'0000000D'
MQAT_NSK 13 X'0000000D'
MQAT_VOS 14 X'0000000E'
MQAT_IMS_BRIDGE 19 X'00000013'
MQAT_XCF 20 X'00000014'
MQAT_CICS_BRIDGE 21 X'00000015'
MQAT_NOTES_AGENT 22 X'00000016'
MQAT_BROKER 26 X'0000001A'
MQAT_JAVA 28 X'0000001C'
MQAT_DQM 29 X'0000001D'
MQAT_USER_FIRST 65536 X'00010000'
MQAT_USER_LAST 999999999 X'3B9AC9FF'
MQAT_DEFAULT (variable)


Just look under the "List of Constants" appendix. Here is the link:
http://publibfp.boulder.ibm.com/epubs/html/csqzak06/csqzak065o.htm#Header_928
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
EddieA
PostPosted: Fri Jul 25, 2003 7:35 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Funny that. In a table I found in the Java manual, which was the ONLY place I could find JMS_IBM_PutApplType, guess what the next 2 lines were:

IBM_JMS_Encoding
IBM_JMS_Character_Set

But, one has to ask why you need these values. All the conversions are done for you, behind the scenes, without you having to do anything.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » mqmd header properties
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.