How can you add a particular field/coloumn in copybook?

Answer Posted / dinesh rathod

You need to modify the underlying data file to match your file definition in COBOL. One way to do so would be to define a line of output exactly like what lines of your data look like now, but with an extra Pic x(10) on the end of it. You would then read in your data line by line, and output it to a new location 

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you get the data to code the BMS macro?

1751


Name the divisions, which are available in a cobol program?

958


What are various search techniques in cobol? Explain.

903


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2363


What is the problem of ordered sequential files access?

955


Mention the guidelines to write a structured cobol program?

881


What is rmode(24)

933


i want a program using by if, evaluate , string, unstring, perform, occurs?

4404


What are the different rules of SORT operation?

935


Difference between array and sub-script ?

1426


What are the different open modes available in cobol?

973


How to remove 2 duplicate records and copy only one using job control language?

1014


What is static and dynamic call in cobol?

833


What is the difference between PIC 9.99 and PIC9v99?

1072


What is amode(31)

947