Sandesh, if your flat file is in project id order, then
JOIN PROJECTID IN FLATFILE TO ALL PROJECTID IN BIGFILE AS J1
now if you run some sort of query on a selected project id , you should get 1 record from a and a few zillion appropriate records from file b.
If whatever your environment is wont let you join them, then TABLE FILE FLATFILE and make it into a temporary focus file for joining..
TABLE FILE FLATFILE
PRINT interesting fields BY PROJECTID
ON TABLE HOLD AS HFRED FORMAT FOCUS INDEX PROJECTID
END
..now do the join.
and..why not flip the join around?
JOIN PROJECTID IN BIGFILE TO PROJECTID IN HFRED AS J1
depending on what your query is, this is probably the best, if your flatfile contains alphabetic descriptors, stuff that doesn't mind being repeated every time it joins up with the host, such as:
JOIN CUSTOMER IN BIGTRANSACTIONFILE TO CUSTOMER IN LITTLENAMEADDRESSFILE AS JX
Any help?
-S
| In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID |