|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
mqmd header properties |
« View previous topic :: View next topic » |
Author |
Message
|
maxis |
Posted: Fri Jul 18, 2003 11:23 am Post subject: mqmd header properties |
|
|
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 |
|
 |
bduncan |
Posted: Fri Jul 18, 2003 4:37 pm Post subject: |
|
|
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 |
|
 |
EddieA |
Posted: Fri Jul 25, 2003 7:35 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|