Password (-PW)
Use the required Password adapter command (-PW) to specify the user authorization for connection to Oracle.
-PW {password|@filename}
- Option
- Description
- password
- This is the string that specifies the user authorization.
- @filename
- This is the name of the file containing the password. No spaces are allowed in the filename.
The password option corresponds to the user specified by the User ID adapter command (-US). The password can be specified directly or from a file. Using the filename method provides greater password security.
For example, to specify a password of 007, the syntax would be:
-pw 007
To specify the password contained in the jbond file, the syntax would be:
-pw @jbond
With regard to the format of the password in the password file, the password must be specified in the first line of this file and can contain both leading and trailing white space characters that are removed during processing. Each line is truncated to 128 characters.
The Password adapter command (-PW) is required for both data sources and data targets.