View previous topic :: View next topic
|
Author |
Message |
mallik_mca
New User
Joined: 26 Sep 2006 Posts: 4
|
|
|
|
Hi,
I have to check 2 input file keys.
if file1 key field presents in file2 then shoud not write(ignore)
into output file
if file1 key field not found file2. then has to write output file.
Can you please help how to check with DFSORT..
Thanks,
Mallik |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Please show an example of the records in each input file (relevant fields only) and what you expect for output. If input file1 can have duplicates within it, show that in your example. If input file2 can have duplicates within it, show that in your example. Give the RECFM and LRECL of the input files. Give the starting position, length and format of each relevant field. |
|
Back to top |
|
|
mallik_mca
New User
Joined: 26 Sep 2006 Posts: 4
|
|
|
|
Please note two input files does not have duplicates.
I have 2 check i/p file 1 key field equals i/p file2 then no need write o/p file. if i/p file 1 key field not equals i/p file2 then write into o/p file.
Please help me how to check using DFSORT? |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Again:
Please show an example of the records in each input file (relevant fields only) and what you expect for output. Give the RECFM and LRECL of the input files. Give the starting position, length and format of each relevant field.
If it's too much trouble for you to supply the requested information, then it's too much trouble for me to give you the solution. |
|
Back to top |
|
|
|