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

Whats the difference between search & search ALL?

5540


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

752


What is the Purpose of Pointer in the string?

721


Write a cobol program making use of the redefine clause.

827


What are the various section in data division and briefly explain them.

815






if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

943


In COBOL, what is the different between index and subscript?

851


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2069


What is rmode(24)

766


how to access the file from prodution from changeman tool and to submit a file to production

6887


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2838


What is Pic 9v99 Indicates in COBOL?

838


Write a program to explain size error.

768


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1785


What is the default value(s) for an initialize and what keyword allows for an override of the default?

831