Dynamically Setting the DBNAME and DICTNAME

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 data adapter reads the DBNAME and DICTNAME from the Access File. However, once you issue them, the DBNAME and DICTNAME values take precedence over those in your Access Files. The new values remain in effect until you either:


Top of page

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 data adapter to read the value from the Access File.


Top of page

Syntax: How to Display the Current Settings

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

TSO IDMSR SET ?

Top of page

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