IBM Support

IT13548: SETMQAUT COMMAND INCORRECTLY ALLOWS THE PROFILE NAME TO CONTAIN SPACE AND TAB CHARACTERS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • For IBM WebSphere MQ, the setmqaut command does not prevent OAM
    rules from being created where the profile name specified (-n)
    contains space or tab characters.
    .
    Both of the following succeed with spaces:
    .
    setmqaut -m Q1 -t q -n ' ' -g group1 +inq
    setmqaut -m Q1 -t q -n 'A B' -g group1 +inq
    .
    dmpmqaut piped to "cat -vte" shows the following output for the
    above (note that cat -vte displays the end of line as a $):
    .
    profile:     $
    object type: queue$
    entity:      group1$
    entity type: group$
    authority:   inq$
    - - - - - - - -$
    profile:     A$
    object type: queue$
    entity:      group1$
    entity type: group$
    authority:   inq$
    .
    Note that for 'A B' the dmpmqaut output truncates the display
    at the space, and the above can NOT be removed by specifying
    just 'A', you must specify 'A B' for it to be removed.
    .
    Both of the following succeed with the TAB character:
    .
    setmqaut -m Q1 -t q -n '<tab>' -g group1 +inq
    setmqaut -m Q1 -t q -n 'A<tab>B' -g group1 +inq
    .
    dmpmqaut piped to "cat -vte" shows the following output for the
    above (note that cat -vte displays the TAB as ^I):
    .
    profile:     ^I$
    object type: queue$
    entity:      group1$
    entity type: group$
    authority:   inq$
    - - - - - - - -$
    profile:     A^IB$
    object type: queue$
    entity:      group1$
    entity type: group$
    authority:   inq$
    .
    This is seen on MQ 7.5 and MQ 8.0. On MQ 7.0, an error is
    produced for each of the above:
    .
    Single Space: AMQ7085: Object  , type q not found.
    AMQ7085: Object A B, type q not found.
    .
    Single Tab: AMQ7085: Object         , type q not found.
    AMQ7085: Object A       B, type q not found.
    

Local fix

  • If authority records with invalid profile names have been
    created then their full names can be displayed using the MQSC
    DIS AUTHREC command, and it is possible to remove them using the
    DELETE AUTHREC command.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users of the setmqaut command may be affected by this problem
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    The setmqaut command was incorrectly allowing the use of invalid
    characters such as spaces and tabs in the profile name
    parameter.
    
    Using the SET AUTHREC command with invalid characters will
    correctly result in an "AMQ8868:
    Profile name not valid." error message.
    

Problem conclusion

  • The code was corrected so that the profile name parameter can no
    longer contain invalid characters.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v7.5       7.5.0.7
    v8.0       8.0.0.6
    
    The latest available maintenance can be obtained from
    'WebSphere MQ Recommended Fixes'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037
    
    If the maintenance level is not yet available information on
    its planned availability can be found in 'WebSphere MQ
    Planned Maintenance Release Dates'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT13548

  • Reported component name

    WMQ BASE MULTIP

  • Reported component ID

    5724H7241

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-02-02

  • Closed date

    2016-04-21

  • Last modified date

    2016-05-03

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WMQ BASE MULTIP

  • Fixed component ID

    5724H7241

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSDEZSF","label":"IBM WebSphere MQ Managed File Transfer for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
31 March 2023