ENDTECADP
Stops the AS/400 adapter.
Context
ENDTECADP EVTADP(name | *ALL)[OPTION(*CNTRLD | *IMMED)]
[DELAY(seconds)]
Comments
The AS/400 adapters run as a batch job. The ENDTECADP command stops an
AS/400 adapter.
Authorization
QSYSOPR
*USE
PUBLIC
*EXCLUDE
To grant other users authority to this command, use the following commands on
the AS/400:
GRTOBJAUT OBJ(QSYS/ENDTECADP) OBJTYPE(*CMD) USER(user) AUT(*USE)
GRTOBJAUT OBJ(QTMETECA/ENDEVENTAD) OBJTYPE(*PGM) USER(user) AUT(*USE)
Arguments
EVTADP
Specifies the name of the adapter to stop. The following options can be
specified:
name Specifies the name of the adapter being stopped. This name
matches the name specified on the Start TEC Event Adapter
command.
*ALL If *ALL is specified, then all adapters of all types are stopped.
OPTION
Specifies the way the adapter stops. The following options can be specified:
*CNTRLD
The adapter ends in a controlled manner. This lets the application
program perform end-of-job processing.
*IMMED
The adapter is ended immediately.
Note: Stopping the adapter immediately does not allow the
adapter to perform cleanup routines and is not
recommended.
DELAY(seconds)
Specifies the amount of time in seconds allowed for the adapter to
complete its cleanup processing during a controlled end. This parameter is
not used if *IMMED is specified for the OPTION parameter. If the cleanup
is not completed before the end of the delay time, the adapter is ended
immediately.
48 IBM Tivoli Enterprise Console: Adapters Guide