In a situation described later,
you must create and provide access to the file csouidpwd.properties.
That file includes authentication details needed for a remote call from a Java™ program
or wrapper.
The situation is as follows:
- The linkage options part, callLink element, property remoteComType is
set to JAVA400, CICSJ2C, or CICSECI; and
- A user ID and password are required; and
- One of these cases applies:
- The call is made from a Java program, but the code does not first
invoke the system function SysLib.setRemoteUser with values other than
blanks; or
- The call is made from a Java wrapper, but the Java code
that includes that wrapper has not invoked the CSOCallOptions methods setUserId and setPassword with
values other than blanks.
If the invocation of SysLib.setRemoteUser (or the invocation of
the appropriate CSOCallOptions method) provides a blank user ID or password,
the value of the equivalent property is sought in csouidpwd.properties.
Your task is as follows:
- Create the file csouidpwd.properties, which can contain property
settings that are formatted as follows, each on a separate line:
- CSOUID=userid
- userid is the user ID for the remote call
- CSOPWD=password
- password is the password for the remote call
- Ensure that the file is a directory that is referenced by the classpath.
An appropriate directory is your project's JavaSource folder.