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.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / gech
How do we merge without the defining the key?
is this just 1 is to 1 and all 5 fields are to be the key
to determine the duplicate?
so therefore my answer is "the question is incomplete".
| Is This Answer Correct ? | 1 Yes | 1 No |
Can anyone please give the example of Inline Perform.
i have a file which contains records like 10,30,90,50,20,40,80,60,70 i want to display these records in reverse order like 70,60,80,40,20,50,90,30,10 please give me the cobol code (do not sort the records)
3 Answers Cap Gemini, Mind Tree,
Can we call a CICS program from a batch program or viceversa?If so, how?
can we use COPY statement in w-s section? how?
I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 comp-3. if i use MOVE 123456789.99 to a,b,c what happen every one working fine ?
in how many mode we can open a file ?
Which division and paragraphs are mandatory for a COBOL program?
What is the use of LINKAGE SECTION?
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(9) VALUE SPACES. 01 WS-VARN REDEFINES WS-VARX PIC 9(9).
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that