IBM Support

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

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

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

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1"}]

Document Information

Modified date:
20 March 2021