To create procedures, functions, and objects (such as tables and indexes) with the IBM® Database Add-Ins for Visual Studio, you must contact your IBM database administrator to get certain required authorities and privileges, depending on your operating system.
In this topic:
Table 1. General authorities and privileges for IBM Database Add-Ins for Visual Studio tasks
Task | Authorities and privileges |
---|---|
Access target database | CONNECT |
Register procedures with a database server |
|
Retrieve rows from a table or view | SELECT |
Create a view on a table | SELECT |
Run the export utility | SELECT |
Insert an entry in a table or view, and run the import utility | IMPORT |
Change an entry in a table, a view, or one or more specific columns in a table or view | UPDATE |
Delete rows from a table or view | DELETE |
Test a procedure or function |
|
Drop a procedure | ![]()
|
Table 2. Authorities and privileges for DB2 for z/OS and OS/390
The IBM Database Add-Ins for Visual Studio access DB2 system catalog tables. The user ID that is used to log in to the IBM Database Add-Ins for Visual Studio must have the following privileges:
For DB2 for OS/390, Version 6, the IBM Database Add-Ins for Visual Studio access the following tables:
For DB2 for z/OS and OS/390, Version 7, the IBM Database Add-Ins for Visual Studio access the following catalog tables:
|
Using a secondary ID with the IBM Database Add-Ins for Visual Studio: To use a secondary ID with the IBM Database Add-Ins for Visual Studio, the following privileges must be granted to the secondary ID:
|
DDnames used by the DSNTPSMP procedure on
WLM: You need access to specific data sets that defined in the WLM environment in which the procedure DSNTPSMP is running. The actual data set names can vary from site to site, depending on how they are defined in the WLM JCL that they are running. |