IBM Support

PK80317: ERRORS IN XML OUTPUT FOR QRY COMMAND.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Customer found there are errors in the XML output returned
    for a QRY PGM NAME(CDOC) SHOW(ALL) command.  Their use of
    DRD is via a CSL OM AOP client.  The output from the command
    has a space in the word 'yes' - ie. scroll='y es'.  Also,
    there are 155 blanks between the </rsp> and </cmdrspdata>.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All IMS v11 users of QRY PGM or QRY TRAN     *
    *                 commands.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: The QRY PGM and QRY TRAN command XML    *
    *                      output includes extra blanks.           *
    ****************************************************************
    * RECOMMENDATION: Install corrective service for PK80317.      *
    ****************************************************************
    The QUERY PGM or QUERY TRAN command specified with SHOW(ALL)
    or SHOW(TRANSTAT) returns an incorrect, extra blank in the
    TranStat header XML tag for scroll, with scroll="y es".  The
    QUERY PGM also returns XML output with lots of unnecessary
    and incorrect blanks after the end response tag </rsp>.
    

Problem conclusion

  • AIDS: RIDS/SYS RIDS/CNTRL SYS CNTRL
     GEN:
    KEYWORDS:
    
    *** END IMS KEYWORDS ***
    The scroll="y es" typo is corrected in both DFSIQ010 & DFSIQ0P0.
    Both modules now correctly define the scroll field in declared
    constant TranStathder as scroll="yes".
    
    In DFSIQ0P0 the process to build the response to be returned to
    OM is changed so the response line is first built in an existing
    work space.  After the response line is built in the work space
    the actual total byte count of the response is used to call
    DFSOCMD0 to get the response line buffer.  MVCL is then used to
    move the response line from the work space to the response line
    buffer.  Since the actual byte count is used to obtain the
    response line buffer and to execute the MVCL the superfluous
    spaces are eliminated from DFSOCRSP.
    
    Documentation Change: IMS V11 Command Reference, Volume 2
                          SRL# ZES1-2988-00
    
    The IMS v11 Command Reference, Volume 2, Chapter 5, "QUERY
    Commands" in the section labeled "QUERY PGM Command" under
    "Examples".  In the example OM API Output change:
    
    <hdr slbl="TLS" llbl="TranStat" scope="LCL" sort..."0" scroll="y
     es" len="1" dtype="CHAR" align="left" />
    
    to:
    <hdr slbl="TLS" llbl="TranStat" scope="LCL" sort..."0" scroll="y
    es" len="1" dtype="CHAR" align="left" />
    
    The IMS v11 Command Reference, Volume 2, Chapter 5, "QUERY
    Commands" in the section labeled "QUERY TRAN Command" under
    "Examples".  In the example OM API Output change:
    
    <hdr slbl="TLS" llbl="TranStat" scope="LCL" sort..."0" scroll="y
     es" len="1" dtype="CHAR" align="left" />
    
    to:
    <hdr slbl="TLS" llbl="TranStat" scope="LCL" sort..."0" scroll="y
    es" len="1" dtype="CHAR" align="left" />
    

Temporary fix

  • There is no temporary fix available for this problem.
    

Comments

APAR Information

  • APAR number

    PK80317

  • Reported component name

    IMS V11

  • Reported component ID

    5635A0200

  • Reported release

    100

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2009-02-09

  • Closed date

    2009-03-11

  • Last modified date

    2009-10-01

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

    PK74033

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

    UK44801

Modules/Macros

  • DFSIQ0P0 DFSIQ010
    

Fix information

  • Fixed component name

    IMS V11

  • Fixed component ID

    5635A0200

Applicable component levels

  • R100 PSY UK44801

       UP09/03/13 P F903

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":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"100","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVRBJ","label":"System Services"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"100","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
01 October 2009