Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 to access the file from prodution from changeman tool and to submit a file to production

7545


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2375


What are the different rules of SORT operation?

1138


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

2009


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?

2274


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1105


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

1966


Why would you use find and get rather than to obtain?

1184


Write a program to enter and display the names of students in a class using the occurs clause.

1204


How arrays can be defined in COBOL?

1217


What are 77 levels used for?

1106


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3230


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

2534


In COBOL programming, what is PERFORM? What is VARYING?

1148


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.

1566