2do Paso...

Configuring DataGate/400 for TCP/IP Access

1.         To access DataGate/400 via TCP/IP, you will need to configure the AS/400 with the following commands:

ADDJOBQE  SBSD(QINTER)  JOBQ(DG8_40/DG8_SVC)  MAXACT(*NOMAX)  SEQNBR(11)

·           where QINTER is the name of the subsystem where DataGate/400 service will run.  QINTER is highly recommended, however, other subsystems may be used.  The subsystem that is used for the job queries must be set up with a proper routing entry in order for DataGate service to start.  This routing entry must run the program QCMD in Library QSYS and have the compare value of ‘

QCMDB’ or ‘*ANY’.  If the subsystem has one of these routing entries, it may be used for DataGate.

·           where Sequence Number, if not 11, must be the first available number for the Subsystem.

ADDJOBQE  SBSD(QINTER)  JOBQ(DG8_40/DATAGATE) MAXACT(*NOMAX) SEQNBR(12)

·           where QINTER is the name of the subsystem where DataGate/400 jobs will run.  This must be the same subsystem name as in the first ADDJOBQE command above.

·           Where the Sequence Number, if not 12, must be the next available number for the Subsystem.

2.         To enable access to DataGate/400 via TCP/IP, the DataGate/400 service program must be started.  To start the service program, enter the command:

DG8_40/STRDG8SVR

3.         Similarly, to block access to DataGate/400 via TCP/IP, enter the command:

DG8_40/ENDDG8SVR

4.         You must name the AS/400 Database in Acceler8DB Database Manager using Work with Database Names

donde 'AS400 DB' es el nombre que usa en el programa de AVR, '192.168.100.100' es el

numero ip interno a nuestro AS/400 y el puerto 5042 que configura datagate en el as/400

'wrksvctble' bajo 'Acceler8db' parametro, 'johnny' es un usuario valido en el as/400.

Fin de configuracion de datagate/400

------------------------------------------------------------------------------------------------