ASEXPORT Procedure

EXPORT Statement

Exports the working set of export mappings and clears the mapping tables, which areX.DOMAIN_MAP, X.USER_MAP and X.GROUP_MAP. EXPORT has three options, NOFORWARD, VERBOSE, and NOVERBOSE.

Syntax

EXPORT <export-options>;

Optional Arguments

NOFORWARD

prevents forwarding of generated XML to the metadata server. When NOFORWARD is specified, the OUT= file will contain SAS Metadata Server input XML. Otherwise, it will contain output response XML.

VERBOSE

specifies to print generated input or output response XML to the SAS log. The VERBOSE option is ignored if the NOVERBOSE is also specified. The VERBOSE option is implied if the procedure’s OUT= option is omitted because the log becomes the destination for generated or response XML.

NOVERBOSE

specifies to not print generated input or output response XML to the SAS log. The NOVERBOSE option overrides the VERBOSE option of the procedure and EXPORT statements. The NOVERBOSE option is ignored if the procedure’s OUT= option is omitted.

Details

The EXPORT statement exports all export mappings and clears the mapping tables, which are X.DOMAIN_MAP, X.USER_MAP and X.GROUP_MAP.
Each new exported object and existing matched object is mapped in metadata using the ExternalIdentities association to an ExternalIdentity object with the following attributes:
  • For new objects, ImportType='AuthenticationServer.Import'
  • For matched or “tagged” objects, ImportType='AuthenticationServer.Match'
  • Context='AuthenticationServer.ID'
  • Name=’AS:Server/server-name’, where the server name consists of the fixed ‘AS:Server/’ prefix followed by the PUBLIC group identifier of the source DataFlux Authentication Server.
The export process creates mappings between source DataFlux Authentication Server objects and target SAS Metadata Server objects. Multiple DataFlux Authentication Server domains can map to the same SAS Metadata Server AuthenticationDomain object. Other object types map 1:1 in the two stores. However, exports from multiple DataFlux Authentication Server instances can also produce n:1 mappings. The Name attribute of the ExternalIdentity objects used in the mappings uniquely identifies the source DataFlux Authentication Server.
The EXPORT statement writes SAS Metadata Server output into the file specified by the OUT option or the SAS log if the VERBOSE procedure statement option is specified and the OUT= option is omitted. If the NOFORWARD option is specified, then the statement unconditionally writes input XML into the file specified by the OUT= option or the SAS log if OUT= is omitted. If the OUT= option is specified, then the XML is also written to the SAS log if the EXPORT statement’s NOVERBOSE option is omitted and either the procedure’s VERBOSE option or the EXPORT statement’s VERBOSE option is specified.
Last updated: June 7, 2017