Specifying the application name in supported programming languages
Before IBM® MQ 9.2.0, you could already specify an application name on Java or JMS client applications. From IBM MQ 9.2.0 this feature is extended to other programming languages on IBM MQ for Multiplatforms.
How the application name is used
- runmqsc DISPLAY CONN APPLTAG
- runmqsc DISPLAY QSTATUS TYPE(HANDLE) APPLTAG
- runmqsc DISPLAY CHSTATUS RAPPLTAG
- MQMD.PutApplName
- Application activity trace
The application name is also used when configuring application activity trace. The default application name for non-Java applications is the truncated name of the executable, except on Windows and IBM i.
On Windows, the default name is
the fully qualified executable name, truncated to 28 characters on the left.
On IBM i,
the default name is the job name.
For Java applications it is the class name prefixed by the package name truncated on the left to 28 characters.
For more information, see PutApplName.
Applications on IBM MQ for Multiplatforms can set their application names either administratively or by using various programming methods. This enables applications to provide a more meaningful platform-independent name, when you configure application activity trace or when output from various runmqsc commands.
You can rebalance applications across a uniform cluster. Meaningful application names are used to achieve this.
Supported characters
See Recommended application name characters for more information on how you specify the application name.
Programming languages
See Programming language connections for more information on how applications resolving to the IBM MQ libraries in C, and other programming languages, can provide the application name.
Managed .NET applications
See Managed .NET applications for information on how managed .NET applications can provide the application name.
XMS applications
See XMS applications for information on how XMS applications can provide the application name.
![[AIX, Linux, Windows]](ngalw.gif)
Java and JMS bindings applications
See Java and JMS bindings applications for information on how Java and JMS applications can provide the application name.