Migration of old local sas server job to grid

Reply
Contributor
Posts: 24

Migration of old local sas server job to grid

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

Contributor
Posts: 73

Re: Migration of old local sas server job to grid

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!

Contributor
Posts: 24

Re: Migration of old local sas server job to grid

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!

Contributor
Posts: 73

Re: Migration of old local sas server job to grid

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!
Ask a Question
Discussion stats
  • 3 replies
  • 139 views
  • 0 likes
  • 2 in conversation