i have two file, each file having :
file1 is having 2 fields
field1 field2
file2 is having 3 fields
field1 field2 field3
my req is to make it one file like:
field1 field2 field1 field2 field3
if anyone know please send me syntax, i tried this with
DFSORT but could not succeed.
Answer Posted / thavasi
Simple and Best answer to your requirement is ICETOOL with
SPLICE operator. It will get you the expected result with
very less no of line of coding.
I had a requirement like this a year before and generated
the o/p using ICETOOL.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What type of SDLC u followed? Why?
Explain how to differentiate call by context by comparing it to other calls?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is static and dynamic call in cobol?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
What are the access modes of START statement?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
How do u write test cases?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is inspect in cobol ?
i need a small 3d program using inline and outline.
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?