Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Grant DPR Authority (GRTDPRAUT) command authorizes a list of users to the DataPropagator control tables so that the users can be registrars and subscribers. Registrars can make files eligible for copying, and subscribers can create subscriptions to and propagate from a registered base file.
You cannot run the GRTDPRAUT command while the Capture or Apply processes are running, or when applications using the source tables are active. This is because authorizations cannot be changed on files that are in use.
As more tables are registered for capture by authorized registrars, the person who registered the tables must assign subscriber rights to the users who should be authorized to those tables.
The command issues an error message if a user specified on the command does not exist, if the user running the command is not authorized to the user profiles specified, if the DataPropagator control tables do not exist , or if the user running the command does not have permission to grant authorities to the DataPropagator control tables.
The GRTDPRAUT command compensates for these different authority requirements. For example, the authority requirements for the user who is running Capture and Apply may differ from the authority requirements for the user who defines registrations and subscriptions.
You must must have *ALLOBJ special authority to grant authorities with the GRTDPRAUT command.
*ESCAPE Messages
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
CAPCTLLIB | Capture control library | Name, ASN | Optional |
USER | User | Single values: *PUBLIC Other values (up to 50 repetitions): Name |
Required, Positional 1 |
AUT | Authority | *REGISTRAR, *SUBSCRIBER, *CAPTURE, *APPLY | Required, Positional 2 |
APYQUAL | Apply qualifier | Character value, *ALL, *USER | Optional |
Top |
Specifies the name of the Capture control library to which authority to be granted.
Top |
Identifies the users who should have registrar or subscriber authority.
Top |
Identifies the type of DataPropagator authority being granted.
*REGISTRAR authority will give the user the authorities necssary to define, change, and remove replication sources. The GRTDPRAUT command will not grant the authorities needed to run the Capture process. This must be done using the *CAPTURE keyword.
*SUBSCRIBER authority will give the user the authorities necessary to define, change, and remove replication targets. The GRTDPRAUT command will not grant the authorities needed to run the apply process. This must be done using the *APPLY keyword.
A user with capture authority has sufficient authority to all the objects necessary to successfully run the Capture process.
A user with apply authority has sufficient authority to all the objects located on this system necessary to run the Apply process. The command does not grant authority to any of the objects that reside on other databases that are accessed by the Apply process.
Top |
Identifies the apply qualifier that will be used. specified and when AUT(*APPLY) or AUT(*SUBSCRIBER) is specified.
Top |
Top |
*ESCAPE Messages
Top |