How can you add a particular field/coloumn in copybook?
Answer Posted / ajinkya bijagare
If Copybook changes(Table changes)are done like insertion of new field.
1) Re-compile the copybook after changes are done.
2) Find all the COBOL program and subprograms which is having SELECT, INSERT,DELETE, UPDATE DB2 statements.
3) Check if needed to insert newly added field name in the query. If yes do so and Re-compile all changed programs and subprograms.
4) In this way new Cobol program load module will get created with new copybook.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do we get current date from system with century in COBOL?
What is the difference between external and global variables in COBOL?
What are the different data types in cobol?
What is the difference between goback, stop run and exit program in cobol?
What are all the divisions of a COBOL program?
What are the different rules to perform a Search?
Describe the cobol database components?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
explain sorting techniques in cobol program?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
i want a program using by if, evaluate , string, unstring, perform, occurs?
What are the different rules for performing sort operation?
How arrays can be defined in COBOL?
how to convert the recors form vsam file to db2 table tru file aid