Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Start NetWare Connection (STRNTWCNN) command starts an authenticated connection to the specified server. This command is used to:
If a password is stored in the authentication entry, this command is not needed; the system will start and end connections as necessary.
Connections can be authorized to be used only by the current job (AUTJOB(*)), or can be authorized to be used by any job running under the specified user profile (AUTJOB(*ANY)), for example, a batch job. Each user profile can only have one connection per job open to a given server at a time.
For NetWare Directory Services trees, connections may be started to each server within the tree. The special value *ALL may be used to start connections to all servers. This could be used, for example, when copying from one server in the tree to another, or copying between partitions of the NDS tree. If multiple connections exist, operations that do not require a specific server will be performed using the first connection started.
The NetWare backup services require that each user perform a separate authentication in addition to a normal login. The connection type (CNNTYPE) parameter allows you to specify that a *SAVRST authentication be performed for this purpose.
Restrictions: To start a connection for another user profile (specified in AUTUSR parameter), you need to have *USE authority to that user profile.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
SERVER | Server | Character value, *ALL, *ANY | Required, Positional 1 |
SVRTYPE | Server type | *SERVER, *NDS | Optional |
NDSTREE | NDS tree | Character value, *SERVER | Optional |
AUTUSR | Authorized user profile | Name, *CURRENT | Optional |
NDSCTX | NDS context | Character value, *AUTE, *USRPRF | Optional |
NTWUSER | NetWare user | Character value, *AUTE, *USRPRF | Optional |
PASSWORD | Password | Character value, *NONE, *AUTE | Optional |
AUTJOB | Authorized job | *, *ANY | Optional |
CNNTYPE | Connection type | Single values: *ALL Other values (up to 2 repetitions): *USER, *SAVRST |
Optional |
CNNIDLTIME | Connection idle time | 1-9999, *NOMAX | Optional |
Top |
Specify the server to which the connection is to be started.
Top |
Specifies the type of server.
Top |
For *NDS servers, specifies the name of the NetWare Directory Services (NDS) tree to which the connection is to be started.
Top |
Specifies the user profile authorized to use the connection.
Top |
Specifies, for *NDS servers, the NetWare Directory Services context in which the NetWare user name is defined.
Top |
Specifies the NetWare user name used to authenticate the user.
Top |
Specifies the password to be used to verify the authority for the specified user.
Top |
Specifies the job authorized to use the connection. The connection can be used either by the current job, or by any job running under the specified user profile name.
Notes:
Top |
Specifies the types of authentication to be performed. NetWare backup services require a separate authentication in addition to a normal user login.
Single values
Other values (up to 2 repetitions)
Top |
Specifies the idle time after which the connection will be closed. The idle time is the time since the most recent request to the server.
Top |
Top |
Top |