Sure! In SAS Studio, it would be Data merged; merge data1 (in=indata1) data2 (in=indata2); by id;run; EG generates PROC SQL code that errors out (below)- PROC SQL NOEXEC; SELECT t1.TRI2, t1.TOTAL_PAID_AMT, t1.TOTAL_BILLED_AMT, t1.CLAIM_TYPE, t2.REC_IND, t2.AMT_PAID, t2.AMT_BILLED FROM WORK.QUERY_FOR_SORTSORTED_0001(in=inmaster) t1 12 INNER JOIN WORK.QUERY_FOR_SORTSORTED_0002(in=inmrr) t2 ON (t1.TRI2 = t2.TRI2); ERROR: Invalid option name IN. ERROR: Some options for file WORK.QUERY_FOR_SORTSORTED_0001 were not processed because of errors or warnings noted above. ERROR: Invalid option name IN. ERROR: Some options for file WORK.QUERY_FOR_SORTSORTED_0002 were not processed because of errors or warnings noted above. 13 QUIT;
... View more