Overview (REPOSITORY CONNECT command)

The REPOSITORY CONNECT command establishes a connection to a IBM® SPSS® Collaboration and Deployment Services Repository and logs in the user. A connection enables you to store objects to, and retrieve objects from, a IBM SPSS Collaboration and Deployment Services Repository.

Options

Server. You can specify a connection port and whether to connect to the specified server using Secure Socket Layer (SSL) technology, if it is enabled on the server.

Login. You can specify whether the password is provided as encrypted or unencrypted (plain text).

Single Sign-On. Single sign-on allows users to connect to a IBM SPSS Collaboration and Deployment Services Repository without explicitly providing a user ID and password. The necessary authentication is performed with the user's existing credentials on the current machine--obtained, for example, from Windows Active Directory. If your IBM SPSS Collaboration and Deployment Services Repository supports single sign-on (contact your local system administrator for details), you can omit the LOGIN subcommand.

Basic Specification

The basic specification for REPOSITORY CONNECT is the host server, user name, and password. By default, server port 8080 is used, the connection is established without SSL, and the specified password is assumed to be encrypted. To create an encrypted password, generate (paste) the REPOSITORY CONNECT command syntax from the Connecting to a IBM SPSS Collaboration and Deployment Services Repository dialog.

Syntax Rules

  • Each subcommand can be specified only once.
  • Subcommands can be used in any order.
  • An error occurs if a keyword or attribute is specified more than once within a subcommand.
  • Equals signs (=) and forward slashes (/) shown in the syntax chart are required.
  • Subcommand names and keywords must be spelled in full.

Operations

  • REPOSITORY CONNECT establishes a connection to an IBM SPSS Collaboration and Deployment Services Repository and logs in the specified user. Any existing connection terminates when the new one is established.
  • You can specify whether a connection is established when the REPOSITORY CONNECT command is encountered or whether the connection is deferred until it is required. The behavior is determined by the REPDEFER subcommand of the SET command.
  • The connection terminates if the IBM SPSS Statistics session ends.
  • An error occurs if a connection cannot be established to the specified host server.
  • An error occurs if the connection cannot be authenticated--for example, if the password is invalid for the specified user.

Example

REPOSITORY CONNECT
    /SERVER HOST='PER1:80'
    /LOGIN  USER='MyUserID' 
            PASSWORD='abc12345'
            ENCRYPTEDPWD=NO.
  • The SERVER subcommand specifies a connection to host 'PER1' on port 80.
  • ENCRYPTEDPWD=NO indicates that the password is not encrypted.