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
Why occurs cannot be used in 01 level in COBOL?
What is a SSRANGE and NOSSRANGE?
What is inspect in cobol ?
What is the difference between Global and External Variables?
What are the different rules of SORT operation?
Why did you choose to work with ibm mainframe cobol programming?
What is perform what is varying?
What is a scope terminator give example?
What kind of error is trapped by on size error option?
What is comp-1 and comp-2?
What is the difference between Call and a Link?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
how to move the records from file to array table. give with code example
What is the utilization of copybook in cobol?
How do you reference the fixed block file formats from cobol programs