To check the access
state of the SAS Metadata Server, you can use PROC METAOPERATE to
issue a STATUS action. The syntax is as follows:
PROC METAOPERATE
SERVER='host-name'
PORT=port-number
USERID='user-ID'
PASSWORD='password'
PROTOCOL=BRIDGE
ACTION=STATUS;
RUN;
Any user who can log on to the SAS Metadata Server
can issue a STATUS action.
If the SAS Metadata
Server is running normally, information similar to the following is
written to the SAS log:
NOTE: Server dXXXX.us.company.com SAS Version is 9.03.01M0P040611
NOTE: Server dXXXX.us.company.com SAS Long Version is 9.03.01M0P040611.
NOTE: Server dXXXX.us.company.com Operating System is X64_S08R2.
NOTE: Server dXXXX.us.company.com Operating System Family is WIN.
NOTE: Server dXXXX.us.company.com Operating System Version is 6.1.
NOTE: Server dXXXX.us.company.com Client is userid@DOMAIN.
NOTE: Server dXXXX.us.company.com Metadata Model is Version 12.04.
NOTE: Server dXXXX.us.company.com is RUNNING on 09May11:10:31:26.
If the SAS Metadata
Server is paused, information similar to the following is written
to the SAS log:
NOTE: Server dXXXX.us.company.com SAS Version is 9.03.01M0P040611
NOTE: Server dXXXX.us.company.com SAS Long Version is 9.03.01M0P040611.
NOTE: Server dXXXX.us.company.com Operating System is X64_S08R2.
NOTE: Server dXXXX.us.company.com Operating System Family is WIN.
NOTE: Server dXXXX.us.company.com Operating System Version is 6.1.
NOTE: Server dXXXX.us.company.com Client is userid@DOMAIN.
NOTE: Server dXXXX.us.company.com Metadata Model is Version 12.04.
NOTE: Server dXXXX.us.company.com is PAUSED on 09May11:10:31:26.
A SAS Metadata Server
that is stopped will not respond to a PROC METAOPERATE request.
For more information
about PROC METAOPERATE, see
SAS Language Interfaces to Metadata.