Some explicit pass-through code as below should do the job. Using DIS I'd implement this as a custom transformation for re-usability.
select put(seq_no,z16. -l) into :seq_no
from connection to ora
(
SELECT
ORACLE_SCHEME.MY_SEQUENCE.NEXTVAL as seq_no
FROM
DUAL
);
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Registration is open
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss. Register now and lock in 2025 pricing—just $495!
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.