sysLib.setRemoteUser

The system function sysLib.setRemoteUser sets the userid and password that are used on calls to remote programs.


sysLib.setRemoteUser syntax diagram

userID

The user ID on the remote system.

passWord

The password on the remote system.

When the linkage option part, callLink element, property remoteComType is CICSJ2C, CICSECI, or JAVA400 on a remote call, authorization is based on the values (if non-blank) that are passed to sysLib.setRemoteUser. If a value is blank or not specified, it is sought in a properties file named csouidpwd.properties. Within the csouidpwd.properties file, the values of the CSOUID and CSOPWD properties are used for the username and password. If neither approach is used, EGL run-time makes the call without a username and password.

One way to provide the user ID and password is for your program to issue Java access functions that display a dialog box to prompt the user for the information.

Related concepts
Java access functions

Related reference
remoteComType in callLink element
System words in alphabetical order