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


Please Help Members By Posting Answers For Below Questions

How many bytes S(8) comp field occupy and its maximum value?

1638


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

645


Which is not true about evaluate statement

1605


What are 77 levels used for?

661


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1958






What is a report item?

742


What is the difference between perform … with test after and perform … with test before?

885


example for sub strings ? and refernce modifications whit output pls

1848


What is the utilization of copybook in cobol?

659


explain sorting techniques in cobol program?

692


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?

2104


What is Pic 9v99 Indicates in COBOL?

732


Differentiate between structured cobol programming and object-oriented cobol programming.

671


Write a program to enter and display the names of students in a class using the occurs clause.

655


Which division and paragraphs are mandatory for a COBOL program?

712