IBM Support

PQ76240: GEN CREATES A COMMENT WHICH IS NOT PRECEDED BY HYPHENS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using DB2 Administration Tool to GEN a stored procedure,
    a comment is created which is missing the two hyphens at the
    start of the line.  This happens when a new name is entered
    for Schema.  A separate line is generated where GRANTOR
    starts in column 1, even though it is intended to be a
    comment.  Additionally, GRANTOR is not followed by the new
    name specified for GRANTOR or <no chg>.
    Extract from output follows:
    --            Database=<no chg>  Stogroup (Tablespace)=<no chg>
    --            Creator =DBDMADM   Stogroup (Indexspace)=<no chg>
    --            Schema  =SYSPROCA
    Grantor
    .
    If the GEN on the stored procedure is done specifying TSO
    rather than batch, the following messages are displayed on
    the screen before the output is displayed:
     IBM0441W  ONCODE=150  The STRINGSIZE condition was raised.
             From compile unit ADB2REG at entry point PUT_RUN_HEADER
     at statement 5210 at compile unit offset +0004144E
              at entry offset +000018EE at address 1C9A465E.
    IBM0441W  ONCODE=150  The STRINGSIZE condition was raised.
             From compile unit ADB2REG at entry point PUT_RUN_HEADER
    at statement 5213 at compile unit offset +00041582
              at entry offset +00001A22 at address 1C9A4792.
    .
    The above warning messages are also received if the DDL line
    command is used.
    Additional symptom: MSGIBM0441W
    

Local fix

  • Insert 2 hyphens before GRANTOR to make that line a comment
    before attempting to execute.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 ADMIN TOOL who use GEN for      *
    *                 a Stored Procedure may be affected.          *
    ****************************************************************
    * PROBLEM DESCRIPTION: When using DB2 Administration Tool to   *
    *                      GEN a stored procedure, a comment is    *
    *                      created which is missing the two        *
    *                      hyphens at the start of the line.       *
    *                      This happens when a new name is entered *
    *                      for Schema.  A separate line is         *
    *                      generated where GRANTOR starts in       *
    *                      column 1, even though it is intended    *
    *                      to be a comment.  Additionally,         *
    *                      GRANTOR is not followed by the new      *
    *                      name specified for GRANTOR or <no chg>. *
    *                      .                                       *
    *                      If the GEN on the stored procedure is   *
    *                      done specifying TSO rather than batch,  *
    *                      the following messages are displayed on *
    *                      the screen before the output is         *
    *                      displayed:  IBM0441W  ONCODE=150        *
    *                      .                                       *
    *                      The above warning messages are also     *
    *                      received if the DDL line command is     *
    *                      used.                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    GEN CREATES A COMMENT WHICH IS NOT PRECEDED BY HYPHENS
    

Problem conclusion

  • The fixing parts for this APAR are included in the fix for
    PQ76267 : ADB2MSK and ADB2REG modules. Only ADB2MSK is
    repeated here. PQ76267 is therefore a PRE for PQ76240.
    Both APARs are to be in the same PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PQ76240

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    410

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2003-07-10

  • Closed date

    2003-08-05

  • Last modified date

    2003-09-05

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

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

    UQ79186 UQ79187

Modules/Macros

  •    ADB2MSK
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R410 PSY UQ79186

       UP03/08/11 P F308

  • R420 PSY UQ79187

       UP03/08/11 P F308

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.

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"410"}]

Document Information

Modified date:
31 March 2021