When a DID-source is created an iSeries dataarea with the same name as the DID-source is also created. This data area is created in the current database library for the ITP/SDK for iSeries (ITPSRC35 by default) and is used for two purposes:
Refer to "DID-source menu" for more information on the System values specific to a DID-source.
Most of the ITP/SDK for iSeries programs that access a DID-source check for the existence of the associated data area. If the data area exists, the programs check the authority the user has for this data area to find out if the user is allowed to perform the action on the DID-source. The mechanism does not limit the access on the iSeries libraries associated with the DID-sources, nor the authority on the DIDs linked to the DID-source. The Check DID-source program also does not check with the data area for authority. The following table shows the behavior of the SDK with a particular authority on the data area.
*EXCLUDE |
An extra message "NOT AUTHORIZED" is displayed on the Work with DID-sources panel. The user is not allowed to perform any action that changes the contents of the DID-source. |
*USE |
The user may browse the attributes and the contents of the DID-source, but is not allowed to change them. |
*CHANGE |
The user may change the attributes of the DID-source and the attributes of the contents of the DID-source (the Entries and User-defined functions) and is allowed full access on the Entry-Subentry relations in the DID-source. |
*ALL |
The user has full access to the existing attributes and contents of the DID-source. This is equal to the access that is granted to the user when the data area does not exist. |
If the data area does not exist it can be created manually with the command:
CRTDTAARA DTAARA(ITPSRC35/[DID-source]) TYPE(*CHAR) LEN(20)