Prepare your tables separately and add a record counter to the beginning of each. Then use MATCH (OLD-OR-NEW) to put the two tables together in one file. Then print the fields by your counter field NOPRINT.
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes