IBM Support

PK50492: 'CICS QUERY SECURITY" COMMAND GETS A -522 RETURN CODE INDICATING REXX IS COMPLAINING ABOUT INVALID KEYWORD AND/OR OPTION.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Rexx (for a Query Security) is somehow suspected of not building
    the Plist correctly, it tries to but it isn't quite right.
    Depending on 'how succesful' it has been building it, will issue
    either a -522 (and reject the request upfront), or pass the
    request to CICS where in all likelihood it will fail.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS Rexx Users.                         *
    ****************************************************************
    * PROBLEM DESCRIPTION: QUERY SECURITY issued from a Rexx EXEC  *
    *                      may give unpredictable results.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A Rexx exec issuing a QUERY SECURITY may give unpredictable
    results.
                                                                   .
    'CICS QUERY SECURITY RESTYPE(TRANSACTION) RESID(CECI)'
                                                                   .
    CICS returned a NOTFND response. Other QUERY SECURITY requests
    may fail with a Rexx error of '-522' (non valid
    parameter/keyword).  If the RESIDLENGTH parameter is specified
    then the command may work.
                                                                   .
    If the equivalent command is entered using CECI then NORMAL
    is returned.
    
    The Rexx code builds a plist to be used by CICS. A mechanism is
    used to index through a subset of valid keywords in DFHEITAB
    for a particular command.  However, a path exists in Rexx code
    where this subset of valid keywords is overlaid with blanks.
    A small overlay can occur for most variables, but the RESID for
    QUERY SECURITY has a potential length of 246 bytes which causes
    a more obvious overlay.
    
    As a consequence, Rexx builds the plist incorrectly and it is
    this which can cause unpredictable results.
    

Problem conclusion

  • CICCP012 has been modified so that sufficient storage is
    allocated for the variables of all commands where the length
    is known.
    

Temporary fix

  • FIX AVAILABLE BY PTF ONLY
    

Comments

APAR Information

  • APAR number

    PK50492

  • Reported component name

    CICSTS FOR VSE

  • Reported component ID

    564805400

  • Reported release

    B0P

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-08-06

  • Closed date

    2008-03-10

  • Last modified date

    2008-05-19

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

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

    OA24282 UK34456

Modules/Macros

  •    CICCP012
    

Fix information

  • Fixed component name

    CICSTS FOR VSE

  • Fixed component ID

    564805400

Applicable component levels

  • RB0P PSY UK34456

       UP08/03/14 P E412

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.1.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
19 May 2008