Dynamically Setting the DBNAME and DICTNAME

How to:

The commands SET DBNAME and SET DICTNAME enable you to dynamically change the DBNAME and DICTNAME parameters at any time during your FOCUS session.

If you do not issue these commands, the adapter reads the DBNAME and DICTNAME from the Access File. However, once you issue them, the DBNAME and DICTNAME values you set take precedence over those in your Access Files. The new values remain in effect until you either:


Top of page

x
Syntax: How to Set the DBNAME and DICTNAME
TSO IDMSR SET DBNAME {dbname|DEFAULT}
TSO IDMSR SET DICTNAME {dictname|DEFAULT}

where:

dbname

Is the IDMS database name that you want to access.

dictname

Is the IDMS dictionary name that you want to access.

DEFAULT

Causes the adapter to read the value from the Access File.


Top of page

x
Syntax: How to Display the Current Settings

To display the settings that are currently in effect, issue the following command:

TSO IDMSR SET ?


Example: Dynamically Changing the DBNAME and DICTNAME Values

The following example changes the DBNAME and DICTNAME parameters:

TSO IDMSR SET DBNAME EMPDEMO
TSO IDMSR SET DICTNAME APPLDICT


Information Builders