Space announcement This documentation space provides the same content as before, but the organization of the content has changed. The content is now organized based on logical branches instead of legacy book titles. We hope that the new structure will help you quickly find the content that you need.

Online Journal Facility


The Xchange online journal facility displays the satisfied date and time requests. When you request the online Xchange journal, date and time records are extracted from the journal data set, added to a temporary table, and displayed on your screen.

Important

  • If the referenced journal is open for the Xchange subsystem, records recently written by Xchange will not appear until Xchange checkpoints the journal file. For more information, see the JWTIM parameter in Task-3-2-2-Specify-Xchange-parameters.
  • IMS IOPCB information is included with CICS activity.
  1. To display the online journal, type the command TSO XGLOG in the TSO COMMAND field.
    The Online Log Facility screen is displayed, as shown in the following figure:
    Online Journal Initial Information

    ***********************************************************
    ***                XCHANGE ONLINE LOG FACILITY         ***
    ***********************************************************
    ***        ENTER XCHANGE JOURNAL DATASET NAME           ***
    ***********************************************************
    *** DATASET NAME ===>
  2. Type the journal data set name and press Enter.
    The online log facility inquires whether or not you want to display CICS activity, as shown in the following figure.
    Online Journal CICS Activity Inquiry

    ***********************************************************
    ***          XCHANGE ONLINE LOG FACILITY        ***
    ***********************************************************
    ***         ENTER XCHANGE JOURNAL DATASET NAME          ***
    ***********************************************************
    *** DATASET NAME ===> xg.xg20.journal1
    ***                                                     ***
    *** ENTER ’Y’ TO DISPLAY CICS ACTIVITY ANYKEY FOR BATCH ***
    *** --------------------------------------------------- ***
    *** CICS ACTIVITY? ===>
  3. Enter Y to display CICS activity, or press any other key to display non-CICS activity.

The online journal will then be displayed, as shown in either Xchange Online Journal of Non-CICS Activity for non CICS activity or Xchange CICS Transaction Activity Log for CICS activity.

Xchange Online Journal of Non-CICS Activity

BMC AMI DevX Xchange ---- Simulated Date Time Activity Log ----ROW 1 TO 10 OF 10
COMMAND ===>                                                   SCROLL ===> PAGE

USERID    JOB      STEPNAME PROCSTEP  PROGRAM    YYYY/MM/DD  HH:MM:SS  OFFSET

XYZ123A   XYZJOB1A STP01              TRACBL2    1999 12 31  23 59 59  00001718
XYZ123A   XYZJOB1A STP02              TRACBL2    1999 12 31  23 59 59  00001718
XYZ123A   XYZJOB1A STP02              TRACBL2    1999 12 31  23 59 59  00001718
XYZ123A   XYZJOB1A STP03              TRACBL2    1999 12 31  23 59 59  00001718
XYZ123A   XYZJOB1Z ATSOPROC           CUSTOMER   2000 02 29  12 00 00  00000A27
XYZ123A   XYZJOB1Z ATSOPROC           CUSTOMER   2000 02 29  12 00 00  00000A27
XYZ123A   XYZJOB1H STP05              PURORDER   2040 01 01  00 00 01  00002C1B
XYZ123A   XYZJOB1H STP05              PURORDER   2040 01 01  00 00 01  00002C1B
XYZ123A   XYZJOB1H STP16              PURORDER   2040 01 01  00 00 01  00002C1B
XYZ123A   XYZJOB1H STP17              PURORDER   2040 01 01  00 00 01  00002C1B
******************************* BOTTOM OF DATA ********************************


Fields on Xchange Online Journal of Non-CICS Activity

USERID

The ID of the user who made the request.

JOB

The MVS job for which the system date and time has been simulated.

STEPNAME

The name of a specific step within the job request.

PROCSTEP

The name of a procedure step within the job request.

PROGRAM

The name of the program as specified on the EXEC PGM= JCL statement.

YYYY/MM/DD

The simulated date in year, month, and day format.

HH:MM:SS

The simulated time in hour, minute, and second format.

OFFSET

The number of bytes, in hex, from the start of the PROGRAM name to the TIME services request. You can use the OFFSET figure with a link-edit map to locate the CSECT that begins immediately before the OFFSET. Subtract the address of the beginning of the CSECT from the OFFSET to determine the relative offset. The relative offset is the number of bytes, in hex, from the beginning of the CSECT to the time request.

Xchange CICS Transaction Activity Log

 BMC AMI DevX Xchange ----- CICS Transaction Activity Log -- Row 1 to 19 of 191
COMMAND ===>                                                  SCROLL ===> PAGE

           DB  ORIGIN EXEC          TRAN  TASK
CICS JOB  SYSID TERM  TERM  USERID  CODE  ID     PROGRAM  YYYY/MM/DD  HH:MM:SS
ACMEC011        A012  A012  ACMJET0 PAY1    27   PAYROL01 2000 01 01  00 00 01
ACMEC011        A012  A012  ACMJET0 PAY1    27   PAYROL02 2000 01 01  00 00 01
ACMEC011        A012  A012  ACMJET0 PAY1    27   PAYSUB01 2000 01 01  00 00 01
ACMEC011        A012  A012  ACMJET0 PAY1    27   PAYSUB02 2000 01 01  00 00 02
ACMEC011        A012  A012  ACMJET0 PAY1    27   PAYSUB03 2000 01 01  00 00 02
ACMEC011        A012  A012  ACMJET0 PAY1    27   PAYSUB04 2000 01 01  00 00 03
ACMEC011        A012  A012  ACMJET0 PAY1    27   PAYROL03 2000 01 01  00 00 03
ACMEC015        A032  A032  ACMWEC0 ACT4    30   ACCTPYAA 1999 12 31  23 59 59
ACMEC015        A032  A032  ACMWEC0 ACT4    30   ACCTPYAB 1999 12 31  23 59 59
ACMEC015        A032  A032  ACMWEC0 ACT4    30   ACCTPYAC 1999 12 31  23 59 59
ACMEC015        A032  A032  ACMWEC0 ACT4    30   ACCTPYAD 2000 01 01  00 00 00
ACMEC015        A032  A032  ACMWEC0 ACT4    30   ACCTPYAE 2000 01 01  00 00 00
ACMEC011        A012  A012  ACMJET0 PAY2    33   GETHOURS 2000 01 01  00 00 00
ACMEC011        A012  A012  ACMJET0 PAY2    33   GETPAYRT 2000 01 01  00 00 00
ACMEC011        A012  A012  ACMJET0 PAY2    33   PAYCALC1 2000 01 01  00 00 00
ACMEC011        A012  A012  ACMJET0 PAY2    33   PAYCALC2 2000 01 01  00 00 00
ACMEC022  DB09  A053  A053  ACMPHB0 ORDR    37   ORDERIN1 2022 06 22  13 31 02
ACMEC022  DB09  A053  A053  ACMPHB0 ORDR    37   ORDERIN2 2022 06 22  13 31 02


Fields on Xchange CICS Transaction Activity Log

CICS JOB

The CICS job for which the system date and time has been simulated.

DB SYSID

The ID of the Db2 subsystem involved in the exchanged transaction.

ORIGIN TERM

The terminal ID of the user who made the request.

EXEC TERM

The terminal ID of the user who ran the transaction affected by the request.

USERID

The ID of the user who initiated the transaction.

TRANCODE

The transaction ID as specified in the TransID field of the request.

TASK ID

The CICS task number associated with the request.

PROGRAM

The name of the program as specified in the Program field of the request.

YYYY/MM/DD

The simulated date in year, month, and day format.

HH:MM:SS

The simulated time in hour, minute, and second format.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*