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?

Questions by mainframe_professional

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.

Showing Answers 1 - 3 of 3 Answers

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.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions