Changing the Adapter Configuration

How to:

x

The Configured Adapters folder or pane lists the adapters that have already been configured for the current operational instance.

The following general information applies.

Syntax: How to Change the Connection Attributes for an Adapter From the Command Line

The UPDATE_PROFILE option of the edastart -x command enables you to change adapter connection attributes, including the password for an adapter connection. The user must have privilege ADPTP to execute it. The syntax is

UPDATE_PROFILE profile SUFFIX suffix CONNECTION conname NEW_PASS password 

where:

profile

Is the name of the profile in which to store the connection attributes, for example, edasprof.

Any profile (edasprof.prf , user/group/role profile) can be updated using this command.

suffix

Is the suffix value for the adapter.

conname

Is the adapter connection to be updated.

password

Is the new password.

Note: The password will be encrypted when it is written to the profile.

The following command updates the password for connection CON01 for the Adapter for Oracle to NewPasswd1 and stores the connection attributes in edasprof.prf.

edastart -x "EX UPDATE_PROFILE edasprof SUFFIX SQLORA CONNDECTION CON01 NEW_PASS NewPasswd1"

The following command updates the password for connection CON02 for the Adapter for SQL Server to NewPasswd2 and stores the connection attributes in user1.prf.

edastart -x "EX UPDATE_PROFILE user1 SUFFIX SQLMSS CONNECTION CON02 NEW_PASS NewPasswd2"

The keywords in the command can be replaced by commas. For example:

edastart -x "EX UPDATE edasprof,SQLORA,CON01,NewPasswd1"

WebFOCUS

Feedback