You can try something like below -
SEL CSUM(1,(ADDR.ADDRESS_LINE1 || ADDR.ADDRESS_LINE2 || ..) ) + DT.MAX_ADDRESS_ID AS ADDRESS_ID
FROM SOURCE.ADDRESS_TABLE ADDR,
(SEL ZEROIFNULL(MAX(ADDRESS_ID)) MAX_ADDRESS_ID FROM TARGET.ADDRESS_TABLE) DT
WHERE (ADDR.ADDRESS_LINE1 || ADDR.ADDRESS_LINE2 || ..) NOT IN
(SEL (ADDR.ADDRESS_LINE1 || ADDR.ADDRESS_LINE2 || ..) FROM TARGET.ADDRESS_TABLE) ;
You can try something like below -
SEL CSUM(1,(ADDR.ADDRESS_LINE1 || ADDR.ADDRESS_LINE2 || ..) ) + DT.MAX_ADDRESS_ID AS ADDRESS_ID
FROM SOURCE.ADDRESS_TABLE ADDR,
(SEL ZEROIFNULL(MAX(ADDRESS_ID)) MAX_ADDRESS_ID FROM TARGET.ADDRESS_TABLE) DT
WHERE (ADDR.ADDRESS_LINE1 || ADDR.ADDRESS_LINE2 || ..) NOT IN
(SEL (ADDR.ADDRESS_LINE1 || ADDR.ADDRESS_LINE2 || ..) FROM TARGET.ADDRESS_TABLE) ;