IBM Support

IT29546: DB2RELOCATEDB ERROR : DBT1020N THE CONFIGURATION FILE CONTAINS AN INVALID ENTRY AT LINE "1". REASON CODE = "11".

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using db2relocatedb on Windows the configuration file it
    auto-generates uses LFs as line terminators. However, when that
    same file is fed back into db2relocatedb the configuration file
    is expected to have CR LF as line terminators. Running
    db2relocatedb with the generated configuration file returns the
    following error:
    
    db2relocatedb.exe -g sample.cfg -d SAMPLE -r SAMPLE=TEST
    DBT1000I The tool completed successfully.
    
    db2relocatedb.exe -f .\sample.cfg
    DBT1020N The configuration file contains an invalid entry at
    line "1". Reason code = "11".
    
    Steps to reproduce :
    
    DB2 CREATE DB SAMPLE ON C:\DB2\test
    db2relocatedb.exe -g sample.cfg -d SAMPLE -r SAMPLE=TEST
    Open the file generated, the output will be in one line
    

Local fix

  • Edit the generated configuration file to have CR LF as line
    terminators.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * all                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to db2_v111m4fp6 or later                            *
    ****************************************************************
    

Problem conclusion

  • Upgrade to db2_v111m4fp6 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT29546

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-06-25

  • Closed date

    2021-03-19

  • Last modified date

    2021-03-19

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

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RB10 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
03 May 2022