IBM Support

PI72188: FROM THE CLIENT: I WOULD LIKE THE LISTDEF AS I TYPE IT IN, TO BELEFT EXACTLY AS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • I am trying to correctly configure the JCL generation to use
    imagecopy
    datasets that conform to our naming conventions.
    
     I am adding to member .SADBSLIB(ADB2UCUS) to tailor the
    imagecopy
    datasets, but I have two little problems.
    
    1)  The JCL generator always produces imagecopy steps using
    LISTDEF.
    The old version did not do this.  Is there a choice, or does the
    new
    version always use LISDEFs now?  I cannot find an option
    anywhere to
    choose this.
    I do not have a problem with using LISTDEFs, as such, but it
    gives me a
    problem because I cannot fit the required template for the
    dataset name
    in the space available on one line.
    
    2)  I cannot fit the required template in member ADB2UCUS on one
    line.
    
    What I want to come out in the JCL in the utility  SYSIN is
    this:
    
    TEMPLATE SYSCOPY
    DSN
    'BK.&SSID..&DB..&TS..P&PART(4,2)..D&YE(3,2).&MO.&DA..T&HO.&MI.'
    
    However, it does not seem to be possible to code this in the
    ADB2UCUS
    member because it is too long  even though the resulting dataset
    name
    is not too long.
    I have to change all "&" to be "&&", to prevent substitution, so
    it
    would be even longer in the ADB2UCUS member.
    
    'BK.&&SSID..&&DB..&&TS..P&&PART(4,2)..D&&YE(3,2).&&MO.&&DA..T&&H
    O&&MI.'
    
    Is there any way continue onto a second line? I cannot find a
    way to do this?
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool         *
    *                 for z/OS who specify an image copy           *
    *                 template that contains '&PART(n,m)'          *
    *                 and alter a partitioned table space          *
    *                 with the template.                           *
    ****************************************************************
    * PROBLEM DESCRIPTION: Specifying an image copy                *
    *                      template that contains                  *
    *                      '&PART(n,m).' causes the                *
    *                      ALTER job to fail.                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When specifying an image copy template that contains
    '&PART(n,m).' , the ALTER job fails with the following
    message:
    
    THIS STATEMENT HAS AN INVALID &SUBSTR RANGE
    OR EXIT CODE EXPRESSION
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI72188

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    B20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-11-11

  • Closed date

    2017-03-02

  • Last modified date

    2017-04-04

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

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

    UI45195 UI45196 UI45197

Modules/Macros

  •    ADB2DSN
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB10 PSY UI45195

       UP17/03/07 P F703

  • RB20 PSY UI45196

       UP17/03/07 P F703

  • RC10 PSY UI45197

       UP17/03/07 P F703

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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.2.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 April 2017