Cobol Db2 program

Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Cobol Db2 program

Postby nm992 » Wed Mar 30, 2011 11:41 am


I have a Db2,I am adding a new column to it.Do I need tocompile my programs again even if I am not using that column in my programs.
Posts: 43
Joined: Sun Jul 11, 2010 11:31 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Cobol Db2 program

Postby BillyBoyo » Wed Mar 30, 2011 12:29 pm

Your question is so simple, I think you should do the research yourself. Doesn't take much. There are any number of ways to find out this answer. Even just thinking about it a bit more might get you there. You have a test environment? I rarely say this, but just try using a program that doesn't access the column. If the whole lot collapses you get a hint, if it doesn't you get a different hint. But get to a definitive answer. You must have a manual? It is in there, I'm sure.
Global moderator
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: Cobol Db2 program

Postby DFSHDC40 » Thu Mar 31, 2011 3:23 am

Depends what the program does and how it does it
Properly coded with good site standards on how to access tables you can easily isolate applications from table changes - so avoiding the need to recompile
On the other hand if you get it wrong (simple) your code will crash and burn
If the code hasn't been changed, why is the LKED date today?
User avatar
Posts: 41
Joined: Sat Oct 16, 2010 4:16 pm
Has thanked: 0 time
Been thanked: 0 time

Return to IBM Cobol


  • Related topics
    Last post