matching numbers

hi all

I have a 2 files. both the files have some numbers and i want to find out each number in file1 is existing or not in file2. if not then put it into new file. if yes then also in a seperate file

i can not use diff command as the files are different and no order has been defined.

please help

Without sample input and output files I can only give this answer: use awk.

Or sort and comm