IBM Support

PH00217: GEN MASK LEADING BLANKS EDIT YES ERROR ADB2MASK LABEL NOT FOUND ADB2MSKP ADBGENM RETCODE 20016

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the GEN line command, and specifying 'USE MASKING
    YES' and Edit Mask YES, if the mask name contains leading
    blanks, the following errors may occur:
      438 +++       intemp = strip(inmask)
       158 +++      call checkmsks
        85 +++ rc = getmask()
           +++ "SYNTAX"
    Error running ADB2MASK, line 438: Label not found
    ***
    followed by:
    Function : SELECT CMD(%ADB2MASK maskname Y )
    Retcode  : 20016
    and by, finally:
    A windows pop-up showing:
    ADB2MSKP
    ADB2GENM 'SPECIFY MASK')
    Processing error
    

Local fix

  • Specify Edit Mask NO.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administration Tool for         *
    *                 z/OS who use the GEN line command            *
    *                 with masks.                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: Error occurred when editing a mask      *
    *                      entry due to REXX syntax error.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    An error has been reported when editing masks during
    a GEN line command. After edit, when the user exits
    with F3, the following error message may be displayed:
    
    438 +++ intemp = strip(inmask)
    158 +++ call checkmsks
    85 +++ rc = getmask()
    +++ "SYNTAX"
    Error running ADB2MASK, line 438: Label not found
    
    followed by:
    
    Function : SELECT CMD(%ADB2MASK maskname Y )
    Retcode : 20016
    
    and finally by:
    
    A window pop-up showing:
    
    ADB2MSKP
    ADB2GENM ('SPECIFY MASK')
    Processing error
    
    Note: Line numbers are approximate, and may vary
    somewhat, depending on release or other maintenance
    applied.
    
    The problem occurred because of leading blanks in the
    mask (masks should be started in column 1 on the edit
    screen), which were counted as characters belonging to
    the maskname, and hence making the maskname too long.
    However, the appropriate error message was not issued,
    due to an error in the code.  The error message will now read:
    
    The mask name is longer than 9 characters.
    Mask name = maskname
    
    In addition to correcting this error, the APAR modifies the
    edit screen as follows:
    
    1. The edit screen has been updated to have instructions to
    start the mask in column 1:
    
     - Masks should start in column 1.
    
    2. The edit screen has also been updated to have all mask
    examples start in column 1.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH00217

  • 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

    2018-07-06

  • Closed date

    2018-09-06

  • Last modified date

    2018-10-02

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

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

    UI58343 UI58344

Modules/Macros

  •    ADB2CMM  ADB2MASK
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI58343

       UP18/09/20 P F809

  • RC10 PSY UI58344

       UP18/09/20 P F809

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":"11.2.0"}]

Document Information

Modified date:
30 March 2021