IBM GC34-5557-00 User Exits User Exits, Setting the Queue Manager CCSID for MQSeries for AS/400

Models: GC34-5557-00

1 127
Download 127 pages 62.8 Kb
Page 55
Image 55

User Exits

User Exits

Before using user exits on MQSeries for AS/400, V5.1, relink them with the threaded libraries and ensure that they are thread-safe and teraspace enabled. See the MQSeries Application Programming Guide and the MQSeries Intercommunication book for further information about creating user exit programs.

Setting the Queue Manager CCSID for MQSeries for AS/400

When you create a queue manager, its coded character set identifier (CCSID) is set by default. It is set to the value of the CCSID of the OS/400 job you used to create the queue manager.

You can query the value of this CCSID by entering the DSPMQM CL command. This displays the attributes of the local queue manager, including the coded character set identifier.

You can modify the queue manager's CCSID by using the CHGMQM CL command. Before doing this, make a note of the original CCSID value in case you need to reset it at a later date. To change the CCSID, follow this procedure:

1.Issue the DSPMQM command and make a note of the CCSID value.

2.Change the CCSID to the new CCSID, with the command:

CHGMQM CCSID(value)

3.Stop the queue manager with the ENDMQM command.

4.Restart the queue manager with the STRMQM command and also restart any channels that it uses.

For information about code sets and CCSIDs that are supported by MQSeries for AS/400 see the AS/400 National Language Support book. See the MQSeries Command Reference for more information about MQSeries commands.

Chapter 5. Using MQSeries for AS/400, V5.1 43

Page 55
Image 55
IBM GC34-5557-00 manual User Exits User Exits, Setting the Queue Manager CCSID for MQSeries for AS/400