Submitted Questions

  • DB2 Column Size

    If a size of column has been changed in table (Suppose it was of 5 characters and later changed to 4 characters) and forgot to change the DCLGEN in COBOL program, will the program abend abnormally..If yes then what error will occur? If the program will not abend then what will happen?

    Star Read Best Answer

    Editorial / Best Answer

    Srinivas17738  

    • Member Since Aug-2010 | Aug 13th, 2010


    1. Program will not abend, but there will be trancation in data,
    Given in program 'APPLE' the value stored in database will be 'APPL'.

    This is what I assume ---> As long as DCLGEN is a generated, but program not yet compiled, the old load and DBRM's bind remains the same and the only thing would be trancation in data at runtime.