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

What guidelines should be followed to write a structured cobol prgm?

662


Which is not true about evaluate statement

1561


What is redefines clause in COBOL?

841


Can we change the password using ALTER? anyone tried and changed?

1536


What is report-item in COBOL?

702






i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1757


Define cobol?

854


What are the rules of the move verb?

695


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

920


how do you reference the ksds vsam file formats from cobol programs

647


What are the different types of condition in cobol and write their forms.

649


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

1470


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

868


What is the difference between next sentence and continue in cobol programing language?

699


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

679