How to create unique Sysout Id entries in CA View.

Document ID : KB000023908
Last Modified Date : 14/02/2018
Show Technical Document Details

Question :

I have the same STC names running on multiple LPAR's each writing to the same CA VIEW database. In CA VIEW how do I distinguish what LPAR the Output originated from ? 

Take TCPIP for example.

TCPIP runs on all LPAR's with the same name and during shutdowns the SYSOUT is archived to CA View. During some weekends, all LPAR's are shutdown and each LPAR produces a copy of TCPIP which goes to CA View and each log has the same name. This makes JOBLOG research very cumbersome, since all the TCPIP outputs must be reviewed for the date until the log for the correct LPAR is found.

Is there any easy way to differentiate the output from LPAR XXX1 and LPAR XXX2?


Answer :

You can use the External Writer field in your JCL with the $ command to help here.


The JCL statement is as follows:


Class V is picked up by CA View - the text that follows the $ in the writer field is appended to

the report - I have run the same job through my CA View system changing the writer each time

from LPAR1 to LPAR2 to LPAR3 - this is what I see in my CA View database:

CA-View ALL --------------- Sysout Selection List ----------- 
Command ===>                                                 
   Sel  Sysout ID                        Arch Date    Time   Loc  
==> TCPA* * * * TCPAJOBLPAR1 02/24/2010 04:05 DISK TCPAJOBLPAR2 02/24/2010 04:06 DISK TCPAJOBLPAR3 02/24/2010 04:06 DISK

So now I can easily identify what task the output comes from.