Resume

Short Description

Returns a paused SAS Metadata Server to an ONLINE state.

Category

Server control methods

Syntax

rc=Resume(options);
Method Parameters
Parameter
Type
Direction
Description
rc
N
out
Return code for the method. Indicates whether the SAS Metadata Server ran the method call. RC=0 means that it did, RC=1 means that it did not.
options
C
in
<FORCE/>
Regains control of the SAS Metadata Server in the unlikely event that it does not respond during recovery processing. <SERVER/> must be specified with <FORCE/>.
<REPOSITORY/>
Deprecated.
<SERVER/>
Specifies to return the SAS Metadata Server to an ONLINE state.

Details

A user must have administrative user status on the SAS Metadata Server to issue the Resume method. The Resume method returns a SAS Metadata Server that has been paused to the ONLINE state. The ONLINE state makes the server available to process client requests. Individual metadata repositories are returned to the persisted access mode indicated in their Access attribute.
The Resume method cannot be used to change the availability of specific metadata repositories. If the Resume method is issued with the <REPOSITORY/> element, the SAS Metadata Server returns an error.
If the Resume method is issued without options, the method operates as if the <SERVER/> element was specified. However, when you use the <FORCE/> option, <SERVER/> must be specified as well.
<FORCE/> regains control of the SAS Metadata Server in the unlikely event that it does not respond during recovery processing.For more information about the RECOVERY state, see Pause.

Example

The following example shows how the Resume method is normally used:
<!-- Resume the server to an ONLINE state -->
options=' ';
rc=serverObject.Resume(options);
The following example shows how to specify the <FORCE/> option:
<!-- Resume the server with the <FORCE/> option -->
options='<SERVER/><FORCE/>';
rc=serverObject.Resume(options);