From the ACTIVITY PANEL, we have 2 custom formats: myBATCH and myCPU. Both of these work fine using SYSVIEW live. I can select the formats or issue SET FORMAT myBATCH or SET FORMAT myCPU.
SYSVIEW 15.0 ISPF2 XXXX -- ACTIVITY, System Activity ------ 2021/02/04 13:30:24
Command ====> Scroll *===> CSR
-------------------------------------------------- Lvl 6 Row 1-1/1 Col 1-79/623
(r) CP% IIP% ALL% -Condition- ---MSU--- ---Ready--- --Paging-- -Storage-
CPU 2% 0% 0% NoENQ NoSMF 4H 2 ASIDs 0 Slots 0% ECSA 44%
LCPU 2% 0% 0% NoRES NoWTO 4H% 2% Tasks 0 Rate 0 ESQA 73%
NoDMP NoTAP 4G 0 ----I/O---- AFQA 148k SQA 47%
Spool 2% 4G% 0% Rate 41.58 UICA 65535 CSA 18%
-------------------------------------------------------------------------------
Formats DEFAULT ALERTS CPU CPUX myBATCH myCPU IO MYCPU PERF PROC STG USER WLM
Status SRT NoLIM SEL NoDST NoPFX NoOWN NoUPD NoPRT NoCAP
-------------------------------------------------------------------------------
* ALL
Cmd XSSystem Jobname Jobnr Stepname Procstep Clocktime CPU% Srvclass Type
___ XXXX JC1SO165 26347 JCSSO165 STEP01 00:00:01 12.91 SUPERBAT JOB
I set up this capture script, to do two captures, but it does not seem to work. Not sure what commands in here cannot be issued? What is wrong with the syntax?
CONTROL NOFLUSH
CAPPARMS DESCR c'CPU USAGE ALL SYS'
ACTIVITY &VLMC
* This just gives batch sorted by CPU - ALL SYSTEMS
SET FORMAT myBATCH
XSDATA ON
SORT CPU% D LIMIT 100
CAPTURE
ACTIVITY &VLMC
* This just gives batch/stc/tso... sorted by CPU - ALL SYSTEMS
SET FORMAT myCPU
XSDATA ON
SORT CPU% D LIMIT 200
CAPTURE
XSDATA OFF
Release : 15.0
Component : SYSVIEW