IMPORT AD
Import an application that has been exported. During export,
some arguments could be changed.
Note: The file produced by export
cannot be modified manually. It can contain more than one record.
To select the correct record in the file used in input by the import
function, ADID must be specified if more than one ad has to be imported
with the same job. In these cases, a record is selected if ADID matches
the value in one of the input records and for this record also the
values of group and owner (if specified) match the ones in input.
It is possible now to change the name of the application using a new
operand of import NEWADID.
If NEWADID is omitted and:
- ADVERS=Y is active, it will be imported using the name specified in ADID provided that there are no already existing versions or, if there are, a new version can be created on the basis of the other operands.
- ADVERS=N is active, it will be imported using the name specified in ADID provided that there are no already existing versions.
If NEWADID is specified and:
- ADVERS=Y is active, it will be imported using the name specified in NEWADID provided that there are no already existing versions or, if there are, a new version can be created on the basis of the other operands.
- ADVERS=N is active, it will be imported using the name specified in NEWADID provided that there are no already existing versions.
If VALFROM and VALTO values
are specified, they are set in the imported application. This can
cause the failure in importing an application with multiversioning:
The new value is forced to overwrite the original multiversioned validity
causing the message EQQY724I to be issued.
ACTION=IMPORT,RESOURCE=AD,STATUS=ad_status,
ADID=application_description,
GROUP=authority_group_name,
NEWADID=new_application_description,
OWNER=owner,
PRIORITY=priority,
VALFROM=valid_from_date,
VALTO=valid_to_date;
- adstatus
- P (pending) or A (ACTIVE) (char(1))
- application_description
- Character (char(16))
- authority_group_name
- Character (char(8))
- new_application_description
- Character (char(16))
- owner
- Character (char(16))
- priority
- Integer: 1 through 9 (integer(4))
- valid_from_date
- Date (YYMMDD)
- valid_to_date
- Date (YYMMDD)