You can use the user command to enter the admission data at a later stage in the following cases:
If an access control mechanism is implemented on the remote host.
Task switch 1 is not set or the storage of error information (commands jvar, svar) is enabled.
The required admission data was incorrectly entered in the open command.
user |
[<userid> [password> [<account>]]] |
<userid>
User ID on the remote host.
<password>
Password on the remote host.
Passwords are specified in accordance with the conventions of the partner system. For BS2000 partners, they may be specified as C-strings (c'...' or C'...') or as hexadecimal numbers (X'...', with X always uppercase). BS2000 accepts the password in the formats <password> and <'password'>. If no password is required, enter "*NONE".
<account>
Account number on the remote host.
If any additional authorization data is required (password, account number), it is requested in interactive mode.
Example
The remote host is a Linux host.
Setting up a connection to systemd using the open command.
open systemd Connected to systemd. 220 systemd FTP Server (vsFTPd 2.0.5).
Selection of the login ID tcptest.
Name (systemd:TCPTEST): tcptest
Entry of an invalid password.
331 Password required for tcptest. Password (systemd:tcptest): maewest 530 Login failed. Login failed.
Repetition of the login.
user tcptest
Specification of the correct password; successful login.
331 Password required for tcptest. Password: Kr!fm3(z 230 Login successful.