IBM Support

PM89741: SQLCODEN4700 ALTER FUNCTION WHEN DB2 10 CM9.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Administration Tool for z/OS' AL / ALTER line command
    builds syntax which is not appropriate for a DB2 10 subsystem
    which is in CM9 mode resulting in a message:
    DSNT408I SQLCODE = -4700, ERROR:  ATTEMPT TO USE NEW FUNCTION
    BEFORE NEW
              FUNCTION MODE
     DSNT418I SQLSTATE   = 56038 SQLSTATE RETURN CODE
    as the ALTER syntax has a 'NOT SECURED' string.
    

Local fix

Problem summary

  •   USERS AFFECTED: Users of the DB2 Administration Tool for
                      z/OS who use the 'AL - Alter a Table Space'
                      line command against a user-defined
                      external function when running on a DB2
                      10 subsystem in Conversion Mode 9 (CM9 .
    
      PROBLEM DESCRIPTION: The DB2 Administration Tool for z/OS
                           builds the ALTER FUNCTION statement
                           with the incorrect parameter NOT
                           SECURED when altering a user-defined
                           external function on a DB2 10 CM9
                           subsystem which will result in
                           SQLCODE=-4700  / SQLCODEN4700:
    
                           DSNT408I SQLCODE = -4700,
                           ERROR:  ATTEMPT TO USE NEW
                           FUNCTION BEFORE NEW
                           FUNCTION MODE
                           DSNT411I SQLCAID = SQLCAL
                           SQLCA IDENTIFIER
                           DSNT418I SQLSTATE = 56038
                           SQLSTATE RETURN CODE
    
      RECOMMENDATION:
    
    The DB2 Administration Tool for z/OS builds an ALTER FUNCTION
    statement with an incorrect parameter NOT SECURED when altering
    a user-defined external function on DB2 10 CM9 subsystem which
    will result in SQLCODE=-4700 / SQLCODEN4700.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM89741

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    A20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-05-24

  • Closed date

    2013-06-17

  • Last modified date

    2013-07-03

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

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

    UK95170 UK95171

Modules/Macros

  • ADB26CFV
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK95170

       UP13/06/19 P F306

  • RA20 PSY UK95171

       UP13/06/19 P F306

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":"10.2.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
03 July 2013