Ah..i detect a mainframe brain behind this question...I bet you're thinking about that filedef append thing we used to do in cms or was it tso? I looked it up and hot dog, it works.
FILEDEF APPND DISK D:\IBI\APPS\APPND.FTM
FILEDEF HOLDMAST DIR D:\IBI\APPS\
TABLE FILE CAR
PRINT COUNTRY IF COUNTRY IS 'FRANCE'
ON TABLE HOLD AS APPND FORMAT ALPHA
END
-RUN
FILEDEF APPND DISK D:\IBI\APPS\APPND.FTM (APPEND
TABLE FILE CAR
PRINT COUNTRY IF COUNTRY IS 'ENGLAND'
ON TABLE SAVE AS APPND
END
TABLE FILE APPND
PRINT *
END
in answer to your pm, the (APPEND is required syntax. it says i'm going to append to the existing file. without it, you would overwrite the existing file. Here's the link to the ibi support site that explains it.
http://documentation.informationbuilders.com/masterinde.../wf_user/08app20.htm this is a great question, and a technique i need to use, just hadn't been motivated to go research it. thanks for the push.