DELETE AD

Suppress an application.
ACTION=DELETE,RESOURCE=AD,STATUS=adstatus,
                          ADID=application_description,
                          GROUP=authority_group_name,
                          GROUPDEF=group_definition,
                          MATCHTYP=match_type,
                          OWNER=owner,
                          PRIORITY=priority,
                          TYPE=type_of_ad, 
                          VALFROM=valid_from_date,
                          VALTO=valid_to_date;
adstatus
A or P (char(1))
application_description
Character (char(16)) can be generic (%*)
authority_group_name
Character (char(8)) can be generic (%*)
group_definition
Character (char(16)) can be generic (%*)
match_type
Character (char(4)) can be generic (%*)
owner
Character (char(16)) can be generic (%*)
priority
One integer (integer(4))
type_of_ad
A or G or * (char(1))
valid_from_date
Date (YYMMDD)
valid_to_date
Date (YYMMDD)
Note: MATCHTYP can have the following values: EXA, LOW, or HIGH. If you specify MATCHTYP, you must specify at least VALTO or VALFROM. If MATCHTYP=EXA, then only the version with validity period exactly matching the specified value is deleted. If MATCHTYP=LOW, then all the versions with validity from or validity to lower or equal to the value specified by VALFROM or VALTO are deleted. If MATCHTYP=HIGH, then all the versions with validity from or validity to higher or equal to the value specified by VALFROM or VALTO are deleted.

The validity periods of the versions not deleted will remain unchanged (as default) or will be adjusted to preserve the same logic used by the ISPF dialog if the command is run with ADVERS=Y specified in the last OPTIONS card.