COPY AD

Copy an application, changing arguments. New arguments begin with N.
ACTION=COPY,RESOURCE=AD,STATUS=ad_status,                    
                        ADID=application_description,
                        GROUP=authority_group_name,
                        NSTATUS=new_adstatus,
                        NADID=new_application_description,
                        NGROUP=new_authority_group_name,
                        NOWNER=new_owner,
                        NVALFROM=new_valid_from_date,
                        NVALTO=new_valid_to_date,
                        VALTO=valid_to_date;
adstatus
P or A (char(1))
application_description
Character (char(16))
authority_group_name
Character (char(8))
new_adstatus
P or A (char(1))
new_application_description
Character (char(16))
new_authority_group_name
Character (char(8))
new_owner
Character (char(16))
new_valid_from_date
Date(YYMMDD)
Note: The following rules apply when this command is run with the option ADVERS=Y active: NVALTO cannot be specified. If NADID is omitted, then NSTATUS must be specified and differ from the status of the ADID being copied or NVALFROM must be specified and differ from any valid from date of the ADID being copied. If NADID is specified and there is no existing version in the AD database, no restriction applies. If NADID is specified and there are existing versions in the AD database, both NSTATUS and NVALFROM must be specified and their combination must differ from any existing combination of NADID.

The following rules apply when this command is executed with the option ADVERS=N active: If NADID is omitted, the only new argument allowed is NSTATUS, which is also mandatory and must differ from the status of the ADID being copied. If NADID is specified and there is no existing version in the AD database, no restriction applies. If NADID is specified and there are existing versions in the AD database, the copy is not allowed.

new_valid_to_date
Date (YYMMDD)
valid_to_date
Date (YYMMDD)