5.21.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. |
USER |
value |
User profile. |
|
PASSWORD |
value |
User password. |
Example
CONNECT HOST(LOCALHOST) USER(user) PASSWORD(password)