Hi, I'm Bolo!
What would you like to know?
ASK BOLOPreview
Please to access Bolo.

Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange Commands
  3. Adabas Log-Based ECCR Commands
  4. Batch VSAM ECCR Commands
  5. CICS/VSAM ECCR Commands
  6. Datacom Table-Based ECCR Commands
  7. DB2 for z/OS ECCR Commands
  8. IDMS Log-Based ECCR Commands
  9. IMS Synchronous ECCR Commands
  10. IMS Log-Based ECCR Commands
  11. PowerExchange Agent Commands
  12. PowerExchange Condense Commands
  13. PowerExchange Listener Commands
  14. PowerExchange Logger for z/OS Commands
  15. PowerExchange Logger for Linux, UNIX, and Windows Commands
  16. pwxcmd Commands

Command Reference

Command Reference

DISPLAY ACTIVE and LISTTASK Commands

DISPLAY ACTIVE and LISTTASK Commands

Displays information about each active task that runs under the PowerExchange Listener, including the TCP/IP address, port number, application name, access type, and status. The LISTTASK and DISPLAY ACTIVE commands produce the equivalent results. However, their availability varies by operating system:
  • On i5/OS, issue the DISPLAY ACTIVE command.
  • On z/OS, issue the LISTTASK or DISPLAY ACTIVE command.
  • On Linux, UNIX, and Windows, issue the DISPLAY ACTIVE command.
Alternatively, you can issue a pwxcmd listtask command from a Linux, UNIX, or Windows system to a PowerExchange Listener running on the local or a remote system. Also, in the PowerExchange Navigator on Windows, you can enter the LISTTASK command in the
Database Row Test
dialog box.

Syntax

The syntax varies by operating system.
The following syntax is for entering the command from the command line:
  • On i5/OS, use the following command syntax:
    SNDLSTCMD LSTMSGQ(
    datalib
    /
    listener
    ) LSTCMD(DISPLAY) DISPLAYOPT(ACTIVE)
    The
    datalib
    variable is the user-specified name for the PowerExchange data library that was entered at installation.
    The
    listener
    variable is the name of the message queue used for the listener that you want to access. By default this is LISTENER. If you are running additional listeners, this value should match the value specified on the LISTENER statement in the DBMOVER.CFG file, where necessary.
  • Alternatively, on a Linux, UNIX, or Windows system, you can issue a pwxcmd listtask command from the command line, a batch file, or a script to a PowerExchange Listener running on an i5/OS system.
    On Linux, UNIX, and Windows, if the PowerExchange Listener is running in foreground mode, enter one of the following commands:
    DISPLAY ACTIVE
    or
    D
    On Windows, if you want to issue the command from the PowerExchange Navigator, enter the LISTTASK command in the
    Database Row Test
    dialog box. Select
    TASK_CNTL
    in the
    DB Type
    list, and select
    List Task
    in the
    Fetch
    box. The
    SQL Statement
    box displays
    listtask
    .
    Alternatively, on a Linux, UNIX, or Windows system, you can issue a pwxcmd listtask command from the command line, a batch file, or a script to a PowerExchange Listener running on a Linux, UNIX, or Windows system.
  • On z/OS, use the following command syntax
    F
    task_name
    ,{DISPLAY ACTIVE|D A}
    or
    F
    task_name
    ,LISTTASK
    The
    task_name
    variable is the name of the PowerExchange Listener started task or batch job. Usually, the PowerExchange Listener runs as a started task.
    Alternatively, on a Linux, UNIX, or Windows system, you can issue a pwxcmd listtask command from the command line, a batch file, or a script to a PowerExchange Listener running on a z/OS system.

Example Output

The command produces the following message output on a z/OS system:
PWX-00712 JobName=1, Partner=255.255.255.255, Port=7634, PwrCntrSess=app1, AM=CAPXRT, Mode=, Process=, SessId= PWX-00729 Userid=
userid
, Client=
clientid
, File=
capture_registration_file_name
, Table=
table_name
, DB=
database_name
PWX-00713 1 active tasks PWX-00709 0 Dormant TCBs
The PWX-00712 message is issued for each active task.

0 COMMENTS

We’d like to hear from you!