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
What is the difference between PIC 9.99 and 9v99 in COBOL?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What are the different open modes available in cobol?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
How do we get current date from system with century in COBOL?
State the various causes of s0c1, s0c5 and s0c7.
How do define dynamic array in cobol.
What is the difference between external and global variables in COBOL?
What is a report item?
What is the local-storage section?
What are various search techniques in cobol? Explain.