BookmarkSubscribeRSS Feed
suraj
Obsidian | Level 7

Hello,

 

I am trying to migrate old sas jobs which are running on local unix server where SAS 9.3 is installed. Now i want to run those jobs in grid server. I have just added the code which I got on sas site named grid test

 


/* The grdsvc_enable call will go out to the SAS Metadata Server and   */
/* find the SAS Grid Server definition. A return code of 0 means that  */
/* all signons will use the grid. A non-0 return code means that there */
/* is a problem that should be investigated.                           */

/* This program assumes a SAS application server of SASMain.  If you   */
/* are using SASApp or some other SAS application server, you must     */
/* modify the enable and nodes function calls to specify your SAS      */
/* application server.                                                 */

 

I am not able to provide full code I am putting the link for this. What all I need to change in my previous program if I want to have it run on grid. Thanks!

 

https://support.sas.com/rnd/scalability/grid/gridtest.pdf

 

Please help me with this . Thanks!

 

Regards,

Suraj

3 REPLIES 3
Anand_V
Ammonite | Level 13

Hi @suraj

The program you have attached from SAS Support site is only to test if your grid is setup correctly or not. Not for testing the jobs.
For the information provided it would be highly difficult to suggest what all things would be required to migrate your SAS Job.

If you are submitting your SAS Job via Command Line then you can use the SASGSUB Utility. Check the link -

http://support.sas.com/documentation/cdl/en/gridref/67371/HTML/default/viewer.htm#n0dmh9glhm6k21n1pa...

I would best advise you to contact your Admin team to suggest on how to migrate your Job to new grid environment.
Hope this helps.

Thanks,
Anand!

suraj
Obsidian | Level 7

Thanks Anand,

 

I found Rsubmit and signon options that using SAS connect we can submit programs to grid remotely.

 

Can you please help me with this. Thanks again!

Anand_V
Ammonite | Level 13
Hi @suraj

I thought you are running SAS on UNIX.

Any way you can use the below syntax to run SAS on remote host:

%let remotehost=<Your remote SAS server> 7551;
options comamid=tcp remote=remotehost; signon remotehost user=&sysuserid passwd=_prompt_;

Above script creates connection to remote SAS using SAS/CONNECT.

rsubmit;
<SAS Code to be executed>
endrsubmit;




Hope this helps.

Thanks,
Anand!

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 556 views
  • 0 likes
  • 2 in conversation