5.20.3 CONNECT

The CONNECT command connects to the IBM i host machine. If no HOST keyword is present, then the connection is established using the native access method.

Syntax:

Command

Keyword

Value

Developer notes

CONNECT

HOST

host:port

Nominate a host to connect to.
If no HOST keyword is present, then the connection is established to the same machine where the JSM Server is active.

USER

value

User profile.

PASSWORD

value

User password.

 

Example

CONNECT HOST(LOCALHOST) USER(user) PASSWORD(password)