Changes the currently accessed server.
Syntax:
call FSV-C-change-server using l-server-name
l-user-name
l-server-password
Parameters:
l-server-name
|
pic x(20). |
l-user-name
|
pic x(20). |
l-server-password
|
pic x(20). |
On Entry:
l-server-name
|
The name of the server |
l-user-name
|
The user ID |
l-server-password
|
The password associated with the user ID |
Comments:
You need to set l-user-name and l-server-password only if you have Fileshare
security enabled.
The success of the call can be checked by examining RETURN-CODE. In the event
of a password error, the error message "Access Denied" is returned.