Example 4: Configuring a PowerExchange Log-Based or Datacom ECCR to Receive pwxcmd Commands
Example 4: Configuring a PowerExchange Log-Based or Datacom ECCR to Receive pwxcmd Commands
This example configures a PowerExchange Adabas, IDMS, or IMS log-based ECCR or Datacom table-based ECCR on z/OS to receive pwxcmd commands that are issued from a Linux, UNIX, or Windows system.
In the DBMOVER configuration file on the z/OS system where the PowerExchange ECCR runs, include an SVCNODE statement.
The SVCNODE statement specifies the port on which the command-handling service for the PowerExchange ECCR listens for pwxcmd commands. For example:
SVCNODE=(ADAECCR1,56579)
In the SVCNODE statement:
The first parameter value, ADAECCR1, is the name of the ECCR to be configured. This name must match the ECCR name in the CMDNODE statement. The CMDNODE statement is in the DBMOVER configuration file on the Linux, UNIX, or Windows system from which you issue pwxcmd commands.
The second parameter value, 56579, is the TCP/IP port number on which the service listens for pwxcmd commands. The port number must match the port number in the corresponding CMDNODE statement.
In the dbmover.cfg configuration file on the Linux, UNIX, or Windows system from which you issue pwxcmd commands, include a CMDNODE statement.
The CMDNODE statement defines connection information for the PowerExchange ECCR to which you plan to send pwxcmd commands. For example:
CMDNODE=(ADAECCR1,ECCR,ZHOST2,56579)
In the CMDNODE statement:
The first parameter value, ADAECCR1, is the name of the ECCR to be configured. This name must match the ECCR name in in the corresponding SVCNODE statement.
The second parameter value, ECCR, is the service type for a PowerExchange ECCR.
The third parameter value, ZHOST2, is the host name of the PowerExchange ECCR that you want to contact.
The fourth parameter value, 56579, is the TCP/IP port number. This port number must match the port number in the corresponding SVCNODE statement in the DBMOVER configuration file on the z/OS system where the PowerExchange ECCR runs.
Issue the pwxcmd command to the PowerExchange ECCR, from the Linux, UNIX, or Windows system. In the command, specify the
-service
option followed by the ECCR name. For example:
pwxcmd ECCR -service ADAECCR1
The service name in the pwxcmd command must match the service name in the corresponding CMDNODE statement in the local dbmover.cfg configuration file.
For an Adabas ECCR on z/OS, verify that the ECCR JCL includes the ADA82 PARM in the EXEC statement:
EXEC PGM=DTLCCADA,PARM=(ADA82)
This parameter allows the pwxcmd command handler to start.