IBM Support

PM32549: SQLCODEN4700 ERROR: ATTEMPT TO USE NEW FUNCTION BEFORE NEW FUNCTION MODE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In DB2 Administration Tool the CC function for creating a copy
    of the DB2 catalog fails with sqlcode -4700 when running the
    first job to create the LIKE tables.
    .
    Error messages appear similar to:
    ADB5044I *** INPUT STATEMENT:
    sqlerror on COMMIT     command,            function
    DSNT408I SQLCODE = -4700, ERROR: ATTEMPT TO USE NEW FUNCTION
             BEFORE NEW FUNCTION MODE
    DSNT418I SQLSTATE = 56038 SQLSTATE RETURN CODE
    DSNT415I SQLERRP  = DSNHSM2V SQL PROCEDURE DETECTING ERROR
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool and     *
    *                 DB2 Object Comparison Tool for z/OS who use  *
    *                 Work Statement Lists ( WSLs) in a DB2 R810   *
    *                 compatibility mode environment.              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Problem occurs because executing a work *
    *                      statement list gathers various          *
    *                      environment variables including SET     *
    *                      SCHEMA which is not a valid statement   *
    *                      in DB2 R810 CM mode.                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Problem occurs because executing a work statement list gathers
    various environment variables including SET SCHEMA which is not
    a valid statement in DB2 R810 CM mode.  When the statement is
    attempted, a SQLCODE= -4700/SQLCODEN4700 error is received
    from program ADBTEP2 whenever a work statement list is run:
    
    DSNT408I SQLCODE = -4700, ERROR: ATTEMPT TO
    USE NEW FUNCTION BEFORE NEW FUNCTION MODE
    DSNT418I SQLSTATE = 56038 SQLSTATE RETURN CODE
    

Problem conclusion

  • The program is changed to not issue this erroneous statement in
    the DB2 R810 compatibility mode environment.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM32549

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-02-11

  • Closed date

    2011-04-25

  • Last modified date

    2011-05-02

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

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

Modules/Macros

  •    ADBTEP2
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R720 PSY UK67082

       UP11/04/27 P F104

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

Document Information

Modified date:
02 May 2011