beautypg.com

Strtecadp, Synopsis, Description – IBM Enterprise Console User Manual

Page 40: Examples

background image

STRTECADP

Starts an AS/400 adapter.

SYNOPSIS

STRTECADP EVTADP

(name) CFGFILE(filename)

DESCRIPTION

The AS/400 adapter runs as a batch job. The STRTECADP command starts an
AS/400 adapter.

Authorization

QSYSOPR

*USE

PUBLIC

*EXCLUDE

Note:

To grant other users authority to this command, use the following
commands on the AS/400 system:

GRTOBJAUT OBJ(QSYS/STRTECADP) OBJTYPE(*CMD) USER(user) AUT(*USE)
GRTOBJAUT OBJ(QTMETECA/SBMEVTADAP) OBJTYPE(*PGM) USER(user) AUT(*USE)
GRTOBJAUT OBJ(QTMETECA02/STARTALERT) OBJTYPE(*PGM) USER(user) AUT(*USE)
GRTOBJAUT OBJ(QSYS/QNMRRGF) OBJECTYPE(*PGM) USER(user) AUT(*USE)
GRTOBJAUT OBJ(QSYS/QNMRGFN) OBJECTYPE(*PGM) USER(user) AUT(*USE)
GRTOBJAUT OBJ(QSYS/QNMDRGFN) OBJECTYPE(*PGM) USER(user) AUT(*USE)

Arguments

EVTADP(

name)

Specifies a name for the adapter being started. This name is used on the
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 alert adapter using the default
configuration file.

STRTECADP EVTADP(ALERTADP)

CFGFILE(’/QSYS.LIB/QUSRSYS.LIB/CFG_ALERT.FILE/ALRCFG.MBR’)

The following command starts the AS/400 alert adapter with the
/QSYS.LIB/MYLIB.LIB/MYFILE.FILE/MYCFG.MBR

configuration file.

STRTECADP EVTADP(MYADP)

CFGFILE(’/QSYS.LIB/MYLIB.LIB/MYFILE.FILE/MYCFG.MBR’)

28

IBM Tivoli Enterprise Console: Adapters Guide