How can you add a particular field in copybook?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

934


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

825


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5379


Explain about different table spaces.

651


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

2107






What is length is cobol?

652


What kind of error is trapped by on size error option?

743


What is the difference between comp and comp-3 usage?

681


how to convert the recors form vsam file to db2 table tru file aid

2763


What is the difference between external and global variables in COBOL?

815


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1657


What are literals?

632


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2014


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

710


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1914