Remote submit and library

libname   datalib   remote '/directory1/folder' server=servername.spawner; run;

ORACLE DATA

libname datalib oracle user=username password="password" schema=schemaname;

Start remote process.

rsubmit;

Download dataset to local.

proc download data=serverdataset; run;
proc download data=serverdataset out=locallib.dataset; run;

End remote process from the client session.

endrsubmit;