Passwords for ADABAS files can be set from the command line in FOCUS using the SET PASSWORD command. You can set default passwords for all files and/or databases. Specific passwords can be set for specific files which will override the default. The SET command overrides the password coded in the Access File.
The SET PASSWORD command remains valid throughout the user's session.
The syntax is
{CMS|MVS} ADBSINX SET PASSWORD password FILENO ALL DBNO {ALL|dbno}
{CMS|MVS} ADBSINX SET PASSWORD password FILENO fileno DBNO dbno
{CMS|MVS} ADBSINX SET PASSWORD OFF
{CMS|MVS} ADBSINX SET PASSWORD DEFAULT
where:
To set a default password:
Note that subsequent requests are appended to previous requests. Changes are cumulative. The passwords can be issued from a FOCEXEC, which may be encrypted. Refer to the FOCUS for IBM Mainframe User's Manual for more information on encryption.
To set a default password to MARY for all databases and all files under CMS, issue the following command:
CMS ADBSINX SET PASSWORD MARY FILENO ALL DBNO ALL
To set the password to DAN for all files in database number 150 under CMS, issue the following command:
CMS ADBSINX SET PASSWORD DAN FILENO ALL DBNO 150
To set the password to BRUCE for specific files in database number 123 under MVS, issue the following command:
MVS ADBSINX SET PASSWORD BRUCE FILENO 1,3-5,23,89-93 DBNO 123
To clear all previous ADBSINX SET PASSWORD commands under CMS, only allowing the user to access the files that have no password security, issue the following command:
CMS ADBSINX SET PASSWORD OFF
To clear all previous ADBSINX SET PASSWORD commands under MVS, causing the ADABAS Interface to use the password in the Access File, issue the following command:
MVS ADBSINX SET PASSWORD DEFAULT
Information Builders |