Hi,
Need help with below coding.
can we connect oracle server using rsubmit miltiple time for prallel processing. or is there any code enhancement required
That looks about right. Have you tried it?
Base SAS + SAS/CONNECT - A simple method to generate load on any number of licensed cores
Posted 04-08-2021 05:46 AM | by SimonWilliams
But the below blog is MUCH easier to understand :
Running SAS programs in parallel using SAS/CONNECT®
By Leonid Batkhan on SAS Users January 13, 2021
https://blogs.sas.com/content/sgf/2021/01/13/running-sas-programs-in-parallel-using-sas-connect/
Koen
That looks about right. Just be aware that the rsubmit blocks run in their own SAS session and though any work table you create is in WORK of the child session.
You need to either load such a WORK table to the parent WORK or easier write it to a disk location that's also directly accessible by the parent session.
Looks like your macro variables ID and PW are not defined in all SAS sessions. You can define them once in the parent session, then do this to push them to the other sessions:
%let ID = MyID;
%let PW = MyPW;
signon task1;
%syslput _all_ / remote = task1;
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Lock in the best rate now before the price increases on April 1.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.