11-07-2017 09:47 AM - edited 11-07-2017 09:47 AM
I was posting this on "base sas programming" window but not sure if it needs to here to get some comment/ideas,
Hello - I have Linux grid environment sas 9.4. trying remote submit code from sas grid environment to test sas server where have sas metadata server/object spawner and sas connect spawner up and running fine.
I can ssh from grid sas server 9from where I am executing code) to test server.
when I run below code, receives below error.
options metaserver=servername.com metaport=8561 metauser=userid metapass=XXXXXXXX;
%let rc=%sysfunc(grdsvc_enable(_all_, server=SASApp));
NOTE: Connecting to SAS Metadata Server produced: ERROR: No logical grid server exists for SAS Application Server "SASApp".
NOTE: SAS application server not found; the local machine will be used.
I added test sas server to "sasapp - logical workspace server" under grid environment but still sees that error...
anything else needs to be done?
11-07-2017 10:17 AM
Does the user you are connecting to the Metadata server with have Read access to SASApp and it's definitions ?
Does anything show in the Metadata server log when you connect ?
11-07-2017 10:49 AM
I changed connection code little bit and it seems working fine - however, it doesn't seems code is executing on remote server, it is executing on sas grid environment itself and not to remote test server.
Goal is executing sas job from grid sas environment to remote test server where we have sas running fine as well.
%let rhost=remotehost.name.com 7541;
options remote=rhost comamid=tcp
NOTE: Remote signon to RHOST commencing (SAS Release 9.04.01M3P062415).
NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead.
NOTE: All profile changes will be lost at the end of the session.
NOTE: Copyright (c) 2002-2012 by SAS Institute Inc., Cary, NC, USA.
NOTE: SAS (r) Proprietary Software 9.4 (TS1M3)
Licensed to xxx , Site xxx.
NOTE: This session is executing on the Linux 2.6.32-696.10.3.el6.x86_64 (LIN X64) platform.