How can you add a particular field/coloumn in copybook?
Answer Posted / prasad perla
1st we need to be clear where the need come into picture for adding a field.
Suppose
1-Q) If needs add a field any where in the record structure is fine , then.
1-A)We can add a field in copy book by adjusting the filler at the end the record layout for the detailed/Header/Trailer record.
2-Q) If suppose a field is in the middle of layout and a requirement came like to add a sub-field under the group field which is in the middle of layout.
Then we can add but the layout field positions will get changed due to inserting a field in middle of structure. so here impact is more and changes as well more.
3-Q) After adding a field either as per the option 1 or option 2 , needs to be look in all programs where do we have used the copy book and those all programs needs to be changed accordingly and re-complied with new copy book to get the new load.
might be i have wrote bit more for your understanding... thought it would be helpful.
Is This Answer Correct ? | 34 Yes | 0 No |
Post New Answer View All Answers
How many bytes S(8) comp field occupy and its maximum value?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
Which is not true about evaluate statement
What are 77 levels used for?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is a report item?
What is the difference between perform … with test after and perform … with test before?
example for sub strings ? and refernce modifications whit output pls
What is the utilization of copybook in cobol?
explain sorting techniques in cobol program?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What is Pic 9v99 Indicates in COBOL?
Differentiate between structured cobol programming and object-oriented cobol programming.
Write a program to enter and display the names of students in a class using the occurs clause.
Which division and paragraphs are mandatory for a COBOL program?