1. Keys file
2. PS file with some data
1. Keys file
field1 field2 field3
101 89237598 20119283982349
101 89237598 20119283643410
102 89237598 20119283947351
103 89237598 20119283364352
104 89237598 20119283982311
105 89237598 20119283982372
106 89237598 20342483982349
107 89237598 20119543987645
108 89237598 20119282382394
101 89237598 20119283982349
101 89237598 20119283643410
102 89237598 20119283947351
103 89237598 20119283364352
104 89237598 20119283982311
105 89237598 20119283982372
106 89237598 20342483982349
107 89237598 20119543987645
108 89237598 20119282382394
2. Another PS file with some information. say file2
Requirement ?
We need to search the PS file with all the keys (field3) in the key file.
find, If any one of the key is presented in the file2 or not?
if presented, copy the file2 from disk to tape.
How would I fulfill this requirement?
NOTE: If one key found, copy dataset to tape. no need to check the remaining keys
Please help me out from this issue?
Thanks in Advance...