IBM Enterprise Console Network Router User Manual


 
STRTECADP
Starts an AS/400 adapter.
Flags
STRTECADP EVTADP(name) CFGFILE(filename)
Comments
The AS/400 adapters run as a batch job. The STRTECADP command starts 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/STRTECADP) OBJTYPE(*CMD) USER(user) AUT(*USE)
GRTOBJAUT OBJ(QTMETECA/SBMEVTADAP) OBJTYPE(*PGM) USER(user) AUT(*USE)
GRTOBJAUT OBJ(QTMETECA01/STARTMSGAD) OBJTYPE(*PGM) USER(user) AUT(*USE)
Arguments:
EVTADP(name)
Specifies a name for the adapter being started. This name is used
on the End TEC Adapter (ENDTECADP) AS/400 command. It can
be any valid AS/400 job name; however, each adapter running on
the AS/400 system must have a unique name.
CFGFILE(filename)
Specifies the full path name of the configuration file, in IFS format,
to be used.
Examples
The following command starts an AS/400 message adapter using the default
configuration file. The default configuration file monitors the system operator
message queue, QSYSOPR:
STRTECADP EVTADP(SYSOPR)
CFGFILE(’/QSYS.LIB/QUSRSYS.LIB/CFG_MSG.FILE/MSGCFG.MBR’)
The following command starts the AS/400 message adapter with the
/QSYS.LIB/MYLIB.LIB/MYFILE.FILE/MYCFG.MBR configuration file. The
configuration file could be set up to monitor an application specific message
queue:
STRTECADP EVTADP(MYAPP)
CFGFILE(’/QSYS.LIB/MYLIB.LIB/MYFILE.FILE/MYCFG.MBR’)
46 IBM Tivoli Enterprise Console: Adapters Guide