How can you add a particular field in copybook?

Answers were Sorted based on User's Feedback



How can you add a particular field in copybook?..

Answer / mahesh satya

GO to the copybook in edit mode and insert the new field at the bottom. if you are having the filler field, make use of it. You reduce the new field length from the filler field.

Is This Answer Correct ?    0 Yes 0 No

How can you add a particular field in copybook?..

Answer / azharuddinsyed

First, identify the programs using this copybook.

Second, open the copybook in edit mode and add the required field wherever necessary. Adjust filler values if necessary.

Third, recompile the programs identified at step1 and ensure there are no errors.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

What is file status 92?

3 Answers  


How to concatenation one or more string?

4 Answers   Temenos,


can we use variable picture clause as xx.99 in cobol.

3 Answers  


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

0 Answers  


What is file status 39 ?

10 Answers   JPMorgan Chase,






What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?

7 Answers   T systems,


consider the following FD FILE-1 01 REC-1 PIC X(80) ...... WORKING-STORAGE SECTION 01 W-REC PIC X(90) ........ PROCEDURE DIVISION FIRST-PARA ....... READ FILE-1 INTO W-REC AT END MOVE 1 TO EOF-FLAG which of the following is true with respect to the above? a.REC-1 will contain nothing and W-REC will contain the contains of the record read b.REC-1 and W-REC contain the same data c.syntex is invalid and error will occur d.REC-1 and W-REC must be of same size

1 Answers   TCS,


maximum of how many screens we can open in emulator

2 Answers  


should I use Go back in the main program ? Yes we can use Go back in main program as well.

2 Answers   Xansa,


why do u need inspect verb?

3 Answers   Patni,


I have 2 dimensional array with having 100 elements. So how to find the 11th item in an array?

6 Answers   IBM,


I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.

1 Answers   L&T,


Categories