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
how to access the file from prodution from changeman tool and to submit a file to production
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What are the different rules of SORT operation?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
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 is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
How do you get the data to code the BMS macro?
Why would you use find and get rather than to obtain?
Write a program to enter and display the names of students in a class using the occurs clause.
How arrays can be defined in COBOL?
What are 77 levels used for?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
In COBOL programming, what is PERFORM? What is VARYING?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.