I have two sequential files, FILE-1 and FILE-2.
FILE-1 contains 2 columns(A,B) and FILE-2 contains 3 columns
(C,D,E).I want an output file, FILE-3 which has all five
columns with duplicates eliminated from column A.
Answer Posted / gupta
Merging of file in this manner can be done by Splice function of ICETOOL, and also duplicates can be removed.this is the easiest way..
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Can we change the password using ALTER? anyone tried and changed?
how do you reference the fixed unblock file formats from cobol programs
Difference between cobol and cobol-ii?
Can you please let me know the centre name of INS certification in Kolkata.
what happens if parmparameter passes zero bytes to the program
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
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.
how do you reference the rrds file formats from cobol programs
What rules are followed by the search verb.
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What are the different rules for performing sort operation?
What is the difference between next sentence and continue in cobol programing language?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
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?
How do you differentiate between cobol and cobol-ii?