![]() |
![]() |
Use this command to display information about one or more policy sets.
Privilege Class
Any administrator can issue this command.
Syntax
.-*--*-----------------------------. >>-Query POlicyset--+----------------------------------+--------> | .-*---------------. | '-domain_name--+-----------------+-' '-policy_set_name-' .-Format--=--Standard-----. >--+-------------------------+--------------------------------->< '-Format--=--+-Standard-+-' '-Detailed-'
Parameters
Examples
Task 1
Query all policy sets for all policy domains. Create the output in standard format.
+--------------------------------------------------------------------------------+ |Policy Policy Default Description | |Domain Set Name Mgmt | |Name Class | | Name | |--------- --------- --------- ------------------------ | |EMPLOYEE- ACTIVE ACTIVEFI- Personnel Department | | _RECORDS LES | |EMPLOYEE- HOLIDAY ACTIVEFI- Personnel Department | | _RECORDS LES | |EMPLOYEE- VACATION ACTIVEFI- Personnel Department | | _RECORDS LES | |PROG1 SUMMER Programming Group | | Policies | |PROG2 SUMMER Programming Group | | Policies | |STANDARD ACTIVE STANDARD Installed default policy | | set. | |STANDARD STANDARD STANDARD Installed default policy | | set. | +--------------------------------------------------------------------------------+
See Task 2 for parameter definitions.
Task 2
Query the VACATION policy set that is in the EMPLOYEE_RECORDS policy domain. Create the output in detailed format.
query policyset employee_records vacation format=detailed
+--------------------------------------------------------------------------------+ | Policy Domain Name: EMPLOYEE_RECORDS | | Policy Set Name: VACATION | | Default Mgmt Class Name: ACTIVEFILES | | Description: Personnel Department | |Last Update by (administrator): $$CONFIG_MANAGER$$ | | Last Update Date/Time: 05/31/1998 13:15:50 | | Managing profile: ADSM_INFO | +--------------------------------------------------------------------------------+
where:
Related Commands
Table 198. Commands Related to QUERY POLICYSET
Command | Description |
---|---|
ACTIVATE POLICYSET | Validates and activates a policy set. |
COPY POLICYSET | Creates a copy of a policy set. |
DEFINE POLICYSET | Defines a policy set within the specified policy domain. |
DELETE POLICYSET | Deletes a policy set, including its management classes and copy groups, from a policy domain. |
QUERY DOMAIN | Displays information about policy domains. |
UPDATE POLICYSET | Changes the description of a policy set. |
VALIDATE POLICYSET | Verifies and reports on conditions the administrator must consider before activating the policy set. |