Create the PROCLIB.NEWPAY table. The SELECT clauses select all the columns from the tables that are listed in the FROM clauses. The UNION set operator concatenates the query results that are produced by the two SELECT clauses.
proc sql;
create table proclib.newpay as
select * from proclib.paylist
union
select * from proclib.paylist2;