Quick_ Reference for everyday use with z/OS
Contents:
- Any mixed accidental operation commands
- TSO/ISPF System commands
- “No connection” problem in TSO/ISPF C/S wsa environment
- Add a new KBI/Dimension user in CICS10/90
- TSO/ISPF other specific operations
- TSO/ISPF da
- Logrec operations (ERP clearing)
- JES2 – clearing
- Print01 – clearing
- SMF – clear
- Console messages processing (clear)
- SYSLOG processing (clearing)
- LPAR system name – sys1.parmlib(IEASYS00) – sysname=bc2a system name
- BC2A DUMPs – delete
- 15. Map a letter Y to directory access
- /D IKJTSO,SEND
- RMF Monitor III options in ERBRMF04 of sys1.parmlib
- Monitor III report commands – Overview
The present reference is an aggregation of system commands activities during a bank Mainframe support:
1. Any mixed accidental operation commands and advice
JES2 print to Seq file in MF
S RESTROZ JOB03099 (or press ? – S /select any from JESMSGLG, JESJCL, JESYSMSG, SYSPRINT, PRINT0 etc./)
– print d (DSN=’print01.restroz’ ) – 2 lines opened
– print – 340 lines printed
– print close – closed 340 line
– p.3.4 – print01.restroz – b /browse/ to verify it is created
XDC GFTPG07
Define new file ‘print01.GFT07’ – print close – p.3.4 for ‘print01.GFT07 with all JES output
IND$FILE – get source member from library of MF to PC in .txt
IND$FILE GET BC2A.ZOS140.OPER.LIB(SMFSAVW1) ASCII CRLF
From TSO/ISPF “a” session – Enter – p.6 (ISPF Command Shell)
In DOS–prompt at PC enter:
D: cd ADMIN\sysprog\Ibm_tool\SMF_process\SMF_BC2A_jobs – copy/paste from here and then press right key of the mouse in DOS–prompt .
receive COPYSMFX_JOB.txt a: BC2A.ZOS140.OPER.LIB.CICS10(COPYSMFX) ascii crlf – copy/paste from here and then press right key of the mouse in DOS–prompt .
(When a text is copied in DOS–prompt, it has to be marked and press Enter, and after that – paste in Windows)
FTP/Get – fast download to PC in .txt any sequential file from MF:
Command prompt:
D: ftp 10.212.4.90
Bca1mgp
Yana3
230 BCA1MGP is logged on. Working directory is “BCA1MGP.”.
Cd .. “” – to remove bca1mgp prefix
250 “” is the working directory name prefix.
Get KCI09.PRINT01.B6600.LPRT.L66NEW01.L L66NEW01.txt
125 Sending data set KCI09.PRINT01.B6600.LPRT.L66NEW01.L FIXrecfm 681
250 Transfer completed successfully.
ftp: 4100770 bytes received in 0.42Seconds 9763.74Kbytes/sec.
Rozka – FTP:
Word – L – VTORI-ETAP-11.2013 – 01.2007 – 2 clicks left – right – copy address – right –
Command prompt: L: – cd – paste (right) – in fold II etap\01.2007: ftp 10.212.4.90 – bca1mgp/yana1
In p.1.3.4 = copy PRINT01.KCI01.TDKM0107.TXT – paste in command prompt /right/ –
Get ‘PRINT01.KCI01.TDKM0107.TXT’ TDKM0107.TXT – enter
Bye
Cd ..
L:
D:\>ftp 10.212.4.90
MF System info:
V 190E,ONLINE
D U,DASD,ONLINE,0000,999
D IOS,CONFIG(ALL)
D IPLINFO
and the active IODF, suppose this is SYS1.IODF24
If all SMF datasets are full, so data is saved in storage, and when it is full the system will stop.
If You don’t need this data for accounting reasons, you must clear them with command:
s SMFCLEAR
more times until system says something like:
IEE388I SMF NOW RECORDING ON VOLSER xxxxxx, DSN=SYS1.MANx TIME= 13.12.16
and response to:
d SMF
is like:
NAME VOLSER SIZE(BLKS) %FULL STATUS
P-SYS1.ZOS28.MAN1 Z18PL2 7200 1 ACTIVE
S-SYS1.ZOS28.MAN2 Z18PL2 3600 0 ALTERNATE
S-SYS1.ZOS28.MAN3 Z18PL2 3600 0 ALTERNATE
To clean JES queues with the following commands –no JQES buffers:
$pt 1-9999
$ps 1-9999
$pj 1-9999
These commands will clear output of all TSO, STC and JOBS. I hope then system will begin normal operations.
If not help, cold start doing the following:
a) modify JES2 start procedure and remove “PARM=WARM,NOREQ” from EXEC statement (be carefull not to spoil JES2 procedure, otherwise system will not start)
b) re-IPL z/OS
c) on MSG: $HASP426 SPECIFY OPTIONS – JES2 z/OS 1.4 reply: R xx,FORMAT,NOREQ
2.TSO/ISPF System commands
SD SDSF – System Display and Search Facility
sd.log – System log commands:
SCROLL ===> CSR /by f8 go to top/ or page
– s net,,,(list=01) – from master or alternate console
– /d sms – to see time of day /clock/ + DFSMS files
– /d smf – to see time of day /clock/ + SMF DATA SETS
– /v 167a,online, /v 1678-167b,online – set online one or more with phys.addr. devices
– /v 167a,offline, /v 1678-167b,offline – set offline one or more with phys.addr. devices
– /v net,id=bc1bvtam,inact,f – inactivate vtam forced of lpar bc1b
-/net,majnodes – display vtam nodes
– /s smfclear – clear all smf files /man1, 2,3/
– /d tcpip,,t,conn – display tcp
– /v tcpip,,0,bc2a.zos140.parmlib(tcpprof) – activate tcp after update in bc2a.zos140.parmlib(tcpprof)
– /d u,,,1678,3 – display status/online,offline/ of 3 with phys.addr. devices
– /c u=ibmuser – cancel tso ibmuser if pending
-/f u=bca1mgp,arm – cancel tso user forced
– /FORCE jobname
/FORCE JHOLD
IEF743I INIT FORCED – CODE SA22 – IN ADDRESS SPACE 0025
$HASP311 JHOLD RE-QUEUED AT END OF MEMORY AND HELD
S INIT.INIT,,,JES2,SUB=JES2
IEE301I JHOLD FORCE COMMAND ACCEPTED
IEF743I JHOLD FORCED – CODE SA22 – IN ADDRESS SPACE 0025
$HASP310 INIT TERMINATED AT END OF MEMORY
$HASP100 INIT ON STCINRDR
IEF695I START INIT WITH JOBNAME INIT IS ASSIGNED TO USER STCUSER
, GROUP SYS1
$HASP373 INIT STARTED
IEF403I INIT – STARTED – TIME=14.46.49
$HASP309 INIT 1 INACTIVE ******** C=ABC
-/FORCE U=userid
-/d ts,a – display active tso users
-/d iplinfo
-/d ios,config
-/$dspl – display jes2 spool utilization
-/d r,l – display all requests
-/d a,l – display all running jobs
-/$t o jobxx,q=z.del=all – delete jobs with prefix jobxx
– / D T – display time and date full
IEE136I LOCAL: TIME=13.25.39 DATE=2012.342 GMT: TIME=12.20.17
DATE=2012.342 (2012/12/07= 07.12.2012)
– / D U,IPLVOL – display IPL volume address and name
IEE457I 13.29.19 UNIT STATUS 304
UNIT TYPE STATUS VOLSER VOLSTATE
0640 3390 S BC2RIC PRIV/RSDNT
ISPF commans (P PDF – ISPF/Program Development Facility):
– p.6 – rmf – 2-2-3- f tso300 – find phys. Address of vol=tso300
– f ‘1’ 48 – find 1 at 48 position
– caps on/off – capita/small letters
– hex on/off – hexadecimal/characters symbols
– PAGE / CSR – change Scroll for PF8 on next page or the line position on top of page
Console commands:
– /D C,HC – display current console messages in the buffer
– k q,r=hc – clear wto messages
– d a otsu – display tso users
– s net,,,(list=01) – starting VTAM in LPAR bc2a/90
– alternate console – id=mfcuser, pw=qaz123WSX – starting – connect – pw: operatori
– f racf,alu user_id password(yourpw) – from Console
Jes2 commands – Sd.ST – Status of jobs:
– s – start listing – n – stop after jcl
– c 120 999 all – change/replace 120 text in a member with 999 at all places
– ? job – s job step – print d /open new print01 file/ - print – print close
– //p ——// – purge jobs in jes2 from TSO
– $p jes2,abend – reply 3,end
– s jes2,start=cold
– $p spl,bc2sp7 – delete spool volume
– $dspl – display spool volumes usage %
– /$DQ – spool queue usage %
$HASP643 3957 PPU LOCAL ANY
$HASP646 30.1128 PERCENT SPOOL UTILIZATION
– $s – reply to message: $hasp400 Enter request
– /$d outdef – display spool definitions
$HASP836 OUTDEF BRODCAST=NO,COPIES=30,DMNDSET=NO,JOENUM=20000,
$HASP836 JOEFREE=14378,JOEWARN=80,OUTTIME=CREATE,
$HASP836 PRTYLOW=0,PRTYHIGH=255,PRTYOUT=NO,PRYORATE=0,
$HASP836 SEGLIM=100,STDFORM=STD,USERSET=NO
– /$D SPOOLDEF – display spool params as in SYS1.PARMLIB(JES2PARM)
$HASP844 SPOOLDEF 413
$HASP844 SPOOLDEF BUFSIZE=3856,DSNAME=SYS1.HASPACE,
$HASP844 FENCE=(ACTIVE=NO,VOLUMES=1),GCRATE=NORMAL,
$HASP844 LASTSVAL=(2007.208,17:16:47),RELADDR=NEVER,
$HASP844 SPOOLNUM=32,TGSIZE=33,TGSPACE=(MAX=195456,
$HASP844 DEFINED=66470,ACTIVE=33235,PERCENT=30.1579,
$HASP844 FREE=23212,WARN=80),TRKCELL=5,VOLUME=BC2SP
– /$dspl – display PERCENT SPOOL UTILIZATION
$HASP893 VOLUME(BC2SP1) STATUS=ACTIVE,PERCENT=18
$HASP893 VOLUME(BC2SP2) STATUS=ACTIVE,PERCENT=18
$HASP893 VOLUME(BC2SP3) STATUS=ACTIVE,PERCENT=9
$HASP893 VOLUME(BC2SP4) STATUS=ACTIVE,PERCENT=10
$HASP646 14.0950 PERCENT SPOOL UTILIZATION
SYS1.PARMLIB(JES2PARM):
SPOOLDEF BUFSIZE=3856, /* MAXIMUM BUFFER SIZE &BUFSIZE */
DSNAME=SYS1.HASPACE,
FENCE=NO, /* Don’t Force to Min.Vol. &FENCE */
SPOOLNUM=32, /* Max. Num. Spool Vols — */
TGBPERVL=5, /* Track Groups per volume in BLOB */
TGSIZE=33, /* 30 BUFFERS/TRACK GROUP &TGSIZE */
TGSPACE=(MAX=195456, /* Fits TGMs into 4K Page &NUMTG=(, */
WARN=80), /* &NUMTG=(,% */
TRKCELL=5, /* 5 Buffers/Track-cell &TCELSIZ */
VOLUME=BC2SP /* SPOOL VOLUME SERIAL &SPOOL */
/* */
– /$D J(CKPRAC01),SPOOL – display job CKPRAC01 usage spool volumes
$HASP890 JOB(CKPRAC01) 568
$HASP890 JOB(CKPRAC01) SPOOL=(VOLUMES=(BC2SP1,2,3,4),TGS=2,
$HASP890 PERCENT=0.0030)
$HASP890 JOB(CKPRAC01) 569
$HASP890 JOB(CKPRAC01) SPOOL=(VOLUMES=(BC2SP1,2,3),TGS=2,
$HASP890 PERCENT=0.0030)
$HASP890 JOB(CKPRAC01) 570
……..
$HASP003 RC=(57),J(CKPRAC01) – DISPLAY TERMINATED DUE TO
$HASP003 EXCESSIVE OUTPUT (AS DEFINED BY CONDEF DISPMAX)
CONDEF AUTOCMD=20, /* Number of Auto Cmds */
BUFNUM=9999, /* Number of CMBs */
BUFWARN=80, /* Warning Threshold % */
CMDNUM=999, /* Maximum number of CMBs for JES2 */
/* commands from common storage */
/* (added in SP510) */
CONCHAR=$, /* Console Cmd Character */
DISPLEN=64, /* $SCAN Cmd/init Display Length */
DISPMAX=100, /* $SCAN Cmd/init Max Lines */
– /$P SPL,VOLUME=BC2SP4 – ??
$HASP893 VOLUME(BC2SP4) 459
$HASP893 VOLUME(BC2SP4) STATUS=DRAINING,AWAITING(JOBS),
$HASP893 COMMAND=(DRAIN)
$HASP646 30.1730 PERCENT SPOOL UTILIZATION
– $Z SPL,volume=BC2SP4 – halt vol= BC2SP4 ???
VSAM/non-VSAM list files commands – p.3.4:
– listc ent (/) all – list catalog after p.3.4 VSAM file
– del / nos – delete vvds if wrong /nonscratch/ to redefine: DEFVVDS
3. “No connection” problem in TSO/ISPF C/S wsa environment
One of ISPF’s “best kept secrets” is the Work Station Agent (WSA for short).
The following “No connection” problem may arise as follows.
If you are working in ISPF C/S WSA for file transfers between PC and Mainframe and when finished exit from this connection with WSDISCON command in ISPF or stopping wsa.exe application on PC, a nagging message in TSO ‘No Connection’ appears when you edit/view any member in edit /view mode of ISPF library.
If enter p.3.4 – dsn: BC2A.ZOS140.OPER.LIB
BROWSE BC2A.ZOS140.OPER.LIB
Name Prompt Size Created Changed ID
After v/e ALT07022 member
BROWSE/EDIT BC2A.ZOS140.OPER.LIB No connection
V/E ALT07022 34 2005/09/12 2011/05/03 17:54:33 BCA1MGP
Pressing F1 displays the following message:
This action requires a connection with the workstation to be established. A
workstation connection can be established from ISPF Settings panel or enter
WSCON from any command line.
Following the advice you restablish C/S wsa connection and you are trying again to edit/view any member of ISPF library. Then you will receive the following message:
EDIT BC2A.ZOS140.OPER.LIB WS command failed
Workstation command failed. Return code = 1.
Your collegua is able to edit/vew it with his own login. (After Login with IBMUSER or another LPAR without WSA started/installed it is also Ok for edit/vew a member of library). If you compare your WSCON settings and and these of your collegua they are exactly the same.
What to do?
To get rid of this problem for view (v) ALT07022 member change the following ISPF setting:
Enter TSO/ISPF – P (P PDF – ISPF/Program Development Facility)
Then chose – 1 (1 View Display source data or listings) and find options:
Options
– Confirm Cancel/Move/Replace
– Browse Mode
/ View on Workstation – remove slash(/) – View on Workstation
/ Warn on First Data Change
– Mixed Mode
To get rid of this problem for edit (e) ALT07022 member change the following ISPF setting:
Enter TSO/ISPF – P (P PDF – ISPF/Program Development Facility)
Then chose – 2 (2 Edit Create or change source data) and find options:
Options
– Confirm Cancel/Move/Replace
– Mixed Mode
/ Edit on Workstation – remove slash(/) – Edit on Workstation
/ Preserve VB record length
4. Add a new KBI/Dimension user in CICS10/90
(* KBI/Dimension is an online banking CICS application)
Add user in KBI/Dimension
– Open KBI/90 session
– choose B (B BC2AC10A Production Kirchman Bankway CICS)
– Enter – ID=cu330405/pw=yana3
– Enter – BS01 – PW=HONOLULO – /lan a – English, lan b – Bulgarian/
– Enter – 8 (8. BSADUS – BS ADD USER) – enter:
USER IDENTIFIER ( BA110030 ) – new to add
MODEL USER ( BA110029 ) – existing from the list
On next screen – enter:
NAME ( Dimitrinka Kostova )
TOPSCAN OWNER GROUP (000001 )
JOB DEFINITION ( HUPRCU )
On next screen – enter:
ASSIGNED PASSWORD ( ba030 )
VERIFY ASSIGNED PASSWORD (ba030 )
– Sy01 – start kbi/di –id= ba110030/pw=cu030
Add User ID and Pass Word in TSO for CICS10/90
– Open KBI/90 session
– choose T (T BC2ATSOA Biochim TSO Production)
IKJ56700A ENTER USERID –
Enter: bca1mgp
On next screen – enter:
Userid ===> BCA1MGP
Password ===> yana3
To add a new TSO/CICS10/90 user execute the following job:
//ADDCUSR JOB (9999,10,10),
// ‘CORNERSTONE’,
// CLASS=R,
// MSGCLASS=X,
// MSGLEVEL=(1,1),
// NOTIFY=,
// TIME=1440,
// USER=
//* DOC:
//* NOTE: YOU MUST HAVE RACF SPECIAL AUTHORITY TO RUN THIS JOB.
//*
//ADDGPS EXEC PGM=IKJEFT01,DYNAMNBR=20,REGION=0M
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
SSSS/25.11.2003/
ADDUSER BA110030 NAME(‘DIMITRINKA KOSTOVA’)
DFLTGRP(CICSUSR) PASSWORD(BU0030)
/*
5. TSO/ISPF other specific operations
– To change the CICS password enter: in TSO/ISPF -P.6:
alu ba110030 password(ba030) resume
– To compress a library – / – 12.compress – or – z.
– To enter oper.lib – p.3.4 – BC2A.ZOS140.OPER.LIB – L ckpr /locate member/
– To modify and resubmit an executed job in JES – TSO/ISPF – sd.st – pre tdpr* – sj tdprint (Source of Job JCL processed) – edit – sub (submit).
6. TSO/ISPF da
– Display activity of the running program – press PF 11 – up to the following fields:
SIO
540.49
CPU% ASID ASIDX EXCP-Cnt CPU-Time
9.75 71 0047 337,841 51.96
Tran-Act Tran-Res
0:18:07 0:18:07
If the program is waiting – no movement of SIO, EXCP-Cnt , Tran-Act Tran-Res
To restore the screen – enter: st
7. Logrec operations (ERP clearing)
TSO/ISPF – sd.log(bc2a/90):
– “/D LOGREC – the current medium of the error recording data set you should enter in sd.log:
RESPONSE=BC2A
IFB090I 12.29.51 LOGREC DISPLAY 393
CURRENT MEDIUM = LOGSTREAM
MEDIUM NAME = SYSPLEX.LOGREC.ALLRECS
STATUS = CONNECTED
If LOGSAVDS finishes with rc=0004 and IPOSAV.LOGREC is not cleared – go to switch Logrec.
– Switch Logrec:
- ‘/SETLOGRC DATASET’ or ‘/SETLOGRC LOGSTREAM’
If IFB081I message appears for BC2A.LOGREC is full – /SETLOGRC DATASET’ and submit LOGSAVDS with ID=IBMUSER to clear ERP records in IPOSAV.LOGREC and accumulate on IPOSAV.LOGRECW.
After that – ‘/SETLOGRC LOGSTREAM’ – and submit LOGSAVDS – finished OK.
p.3.4 – iposav
Tracks %Used XT Device
IPOSAV.LOGREC 165 0 5 3390-
IPOSAV.LOGRECW 195 5 6 3390
IPOSAV.LOGRECW 195 6 6 3390
LOGSAVDS – Old /previous / 11.26.47 JOB01187 —- TUESDAY, 17 APR 2012 —-/
DDNAME StepName ProcStep DSID Owner C Dest Rec-Cnt Page
TOURIST LOGREC1 103 IBMUSER X LOCAL 16
EREPPT LOGREC1 104 IBMUSER X LOCAL 64
TOURIST LOGREC2 106 IBMUSER X LOCAL 42
TOURIST LOGREC3 108 IBMUSER X LOCAL 43
EREPPT LOGREC3 109 IBMUSER X LOCAL 1,153
TOURIST LOGREC4 110 IBMUSER X LOCAL 42
EREPPT LOGREC4 111 IBMUSER X LOCAL 129
TOURIST LOGREC5 112 IBMUSER X LOCAL 51
TOURIST LOGREC6 114 IBMUSER X LOCAL 49
EREPPT LOGREC6 115 IBMUSER X LOCAL 204
TOURIST LOGREC7 116 IBMUSER X LOCAL 55
EREPPT LOGREC7 117 IBMUSER X LOCAL 440
TOURIST LOGREC8 118 IBMUSER X LOCAL 45
EREPPT LOGREC8 119 IBMUSER X LOCAL 191
TOURIST LOGREC9 120 IBMUSER X LOCAL 11
EREPPT LOGREC9 121 IBMUSER X LOCAL 2,845
SYSPRINT LOGRE10 122 IBMUSER X LOCAL 3
– LOGSAVDS (TSO logon IBMUSER/IBMUSER – to rid of ABEND S013)
11.47.38 JOB07040 —- MONDAY, 23 JUL 2012 —-
DDNAME StepName ProcStep DSID Owner C Dest Rec-Cnt Page
TOURIST LOGREC1 103 IBMUSER X LOCAL 16
EREPPT LOGREC1 104 IBMUSER X LOCAL 40
SYSPLEX.LOGREC.ALLRECS are written on daily IPOSAV.LOGREC
COPIES SYSPLEX.LOGREC.ALLRECS INTO A DAILY OUTPUT
ACCUMULATION DATA SET (IPOSAV.LOGREC),
CLEARS SYSPLEX.LOGREC.ALLRECS AND PRINTS A
‘SYSTEM SUMMARY’ REPORT.
TOURIST LOGREC2 106 IBMUSER X LOCAL 42
The daily IPOSAV.LOGREC is written on weekly IPOSAV.LOGRECW
COPIES THE OUTPUT ACCUMULATION DATA SET
FROM S1 INTO A WEEKLY ACCUMULATION DATA
SET (IPOSAV.LOGRECW).
TOURIST LOGREC3 108 IBMUSER X LOCAL 43
EREPPT LOGREC3 109 IBMUSER X LOCAL 854
EREP prints a system exception report from IPOSAV.LOGREC
PRINTS A SYSTEM EXCEPTION REPORT. (DASD -1)
TOURIST LOGREC4 110 IBMUSER X LOCAL 42
EREP prints a channel and machine check from IPOSAV.LOGREC
PRINTS A CHANNEL AND MACHINE CHECK DETAIL AND SUMMARY – TYPE=CM.
TOURIST LOGREC5 112 IBMUSER X LOCAL 51
EREP prints a 2305 and 3370 summary from IPOSAV.LOGREC
PRINTS A 2305 AND 3370 SUMMARY. – TYPE=OT (T – MDR /formerly TPR/: Miscellaneous data records; O – OBR: Outboard records; unit checks)
TOURIST LOGREC6 114 IBMUSER X LOCAL 49
EREPPT LOGREC6 115 IBMUSER X LOCAL 52
EREP prints a tp device summary from IPOSAV.LOGREC
PRINTS A TP DEVICE SUMMARY (27XX, 3277, 37XX). – TYPE=OT – INTRVNTN REQ’D 007 – device 3277
TOURIST LOGREC7 116 IBMUSER X LOCAL 55
EREP prints a summary of all other I/O from IPOSAV.LOGREC
PRINTS A SUMMARY OF ALL OTHER I/O. – TYPE=OT
TOURIST LOGREC8 118 IBMUSER X LOCAL 45
EREPPT LOGREC8 119 IBMUSER X LOCAL 96
EREP prints all but statistical records and local 3277 devices from IPOSAV.LOGREC
PRINTS AN EVENT REPORT WITH ALL BUT STATISTICAL
RECORDS (MDR) AND LOCAL 3277 DEVICES. – TYPE=CDEHIMOS:
N/A SFTSYM (1) 00 PIDS/5752SCRTM AB/S0222
SMFEXSUM SFTABN (2)
SOFTWARE (3)
TOURIST LOGREC9 120 IBMUSER X LOCAL 11
EREPPT LOGREC9 121 IBMUSER X LOCAL 464
EREP prints the daily software information from IPOSAV.LOGREC
PRINTS THE DAILY SOFTWARE INFORMATION. – TYPE=S:
SOFTWARE RECORD REPORT: SOFTWARE EDIT REPORT
(SVC 13)
JOBNAME: SMFEXSUM SYSTEM NAME: BC2A
ERRORID: SEQ=25446 CPU=0000 ASID=0025 TIME=12:49:26.7
SEARCH ARGUMENT ABSTRACT
PIDS/5752SC100 RIDS/IFASMFDP#L RIDS/IFASMFDP
SYSPRINT LOGRE10 122 IBMUSER X LOCAL 3
EREP empties IPOSAV.LOGREC
CLEAR IPOSAV.LOGREC
TSO/ISPF = p.3.4 – iposav Tracks %Used XT Device
IPOSAV.LOGREC 165 0 5 3390
IPOSAV.LOGRECW 195 5 6 3390 – old
IPOSAV.LOGRECW 195 6 6 3390 – new – 23.07.2012
– If IPOSAV.LOGRECW is 100% full – empty/clear with CLGRECW (set zero contents):
//CLGRECW JOB (9999,CSOPER,10,10),
// ‘OPER’,
// CLASS=I, LOGRECW
// MSGCLASS=X,
// MSGLEVEL=(1,1),
// NOTIFY=,
// TIME=1440,
// USER=
//* EMPTIES IPOSAV.LOGRECW
//LOGFUL9 EXEC PGM=IEBGENER,COND=(0,LT),REGION=4096K
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=NULLFILE,
// DISP=SHR,DCB=IPOSAV.LOGRECW
//SYSUT2 DD DSN=IPOSAV.LOGRECS, (or IPOSAV.LOGRECW)
// DISP=OLD
//*
To copy IPOSAV.LOGRECW to another existing file (IPOSAV.LOGRECS ) use the job COPRECW :
//COPRECW JOB (9999,CSOPER,10,10),
// ‘OPER’,
// CLASS=I, LOGRECW
// MSGCLASS=X,
// MSGLEVEL=(1,1),
// NOTIFY=,
// TIME=1440,
// USER=
//* EMPTIES IPOSAV.LOGRECW
//LOGFUL9 EXEC PGM=IEBGENER,COND=(0,LT),REGION=4096K
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=IPOSAV.LOGRECW,
// DISP=SHR,DCB=IPOSAV.LOGRECW
//SYSUT2 DD DSN=IPOSAV.LOGRECS,
//*
8. JES2 – clearing
TSO/ISPF – sd.log
/$dspl
$HASP646 41.5495 PERCENT SPOOL UTILIZATION
Purge (p) jobs in jes
9. Print01 – clearing
TSO/ISPF – P.3.4 –
/ – 5 – clear file – enter – confirm
10.SMF – clear
– TSO/ISPF – sd.log – smfclear
– dumpxy – IPOSAV.SMFDUMPW – SMFWEMPT:
//SMFWEMPT JOB (9999,CSOPER,10,10),
// ‘OPER’,
// CLASS=I,
// MSGCLASS=X,
// MSGLEVEL=(1,1),
// NOTIFY=,
// TIME=1440,
// USER=
//*
//* STEP5 EMPTIES IPOSAV.SMFDUMPW
//DMPSMF5 EXEC PGM=IEBGENER,REGION=768K,COND=(4,LT)
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DSN=NULLFILE,DCB=IPOSAV.SMFDUMPW
//SYSUT2 DD DSN=IPOSAV.SMFDUMPW,
/*
11. Console messages processing (clear)
– /D C,HC – display console messages
IEE889I 15.13.47 CONSOLE DISPLAY 663
MSG: CURR=1 LIM=3000 RPLY:CURR=1 LIM=100 SYS=BC2A PFK=NONE
CONSOLE/ALT ID ————— SPECIFICATIONS —————
SYSLOG COND=H AUTH=CMDS NBUF=0 UD=N
ROUTCDE=ALL
LOG BUFFERS IN USE: 0 LOG BUFFER LIMIT: 1000
IEE767A SEVERE BUFFER SHORTAGE FOR SYSTEM LOG – 100% FULL /CURR is more than 3000/
If 100 % full – clear all messages with:
– k q,r=hc – clear wto messages – from remote console
12. SYSLOG processing (clearing)
TSO/ISPF – sd.log:
– /D C,HC – display – no (0) – LOG BUFFERS IN USE:
IEE889I 15.43.13 CONSOLE DISPLAY 693
MSG: CURR=1 LIM=3000 RPLY:CURR=1 LIM=100 SYS=BC2A PFK=NONE
CONSOLE/ALT ID ————— SPECIFICATIONS —————
SYSLOG COND=H AUTH=CMDS NBUF=0 UD=N
ROUTCDE=ALL
LOG BUFFERS IN USE: 0 LOG BUFFER LIMIT: 1000
To verify the LOGLIM value (1000) enter from sd.log:
– /K M
IEE144I K M,AMRF=Y,MLIM=3000,RLIM=0100,UEXIT=N,LOGLIM=001000,ROUTTIME=00
0,RMAX=9999,APPLID=SMCS2A
– SYSLOG operations
Display SYSLOG current status (251490 lines):
TSO/ISPF – sd.log – m PF8:
SDSF SYSLOG 1072.114 BC2A BC2A 07/23/2012 1W 251490 COLUMNS 1 80
COMMAND INPUT ===> SCROLL ===> CSR
N 0000000 BC2A 12205 16:03:52.17 00000290 IEA989I SLIP TRAP ID=X3
TSO/ISPF – p.3.4:
Tracks %Used XT Device
IPOSAV.LWTR 1200 0 5 3390
IPOSAV.SYSLOGW 1500 69 7 3390
TSO/ISPF – sd.st:
SLGWRT STC07070 STCOPER 1 PRINT 3388
/16.30.29 STC07070 —- MONDAY, 23 JUL 2012/
SLGSTR JOB07069 BCA1MGP 1 PRINT I 3389
/16.27.47 JOB07069 —- MONDAY, 23 JUL 2012/
SLGSAVD JOB07071 BCA1MGP 1 PRINT A 3390
/16.31.29 JOB07071 —- MONDAY, 23 JUL 2012/
SLGPRT JOB07072 BCA1MGP 1 PRINT I 3391
/16.31.34 JOB07072 —- MONDAY, 23 JUL 2012/
SLGSTR (/141,y – /142,y -/143,Y – /144,Y)
– STARTS THE EXTERNAL WRITER ‘SLGWRT‘
– SLGWRT’ WRITES THE SYSLOG/SYSTEM LOG/ TO IPOSAV.LWTR.
– INVOKES IN TURN THE ‘SLGSAVD‘
SLGSAVD
– COPY IPOSAV.LWTR (system log data set) TO IPOSAV.SYSLOGW (ACCUMULATION WEEKLY SYSLOG data set)
– INVOKES MEMBER ‘SLGPRT‘ TO PRINT SYSLOG
SLGPRT
– USES IEBGENER TO PRINT THE SYSTEM LOG DATA SET
//SLGPRT1 EXEC PGM=IEBGENER,REGION=512K
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DSN=IPOSAV.LWTR,
// DISP=SHR
//SYSUT2 DD SYSOUT=*
– ? SLGPRT (251,506 print lines of SYSLOG – saved as JES output):
SYSUT2 SLGPRT1 102 BCA1MGP X LOCAL 251,506
– EMPTY THE LWTR DATA SET.
//SLGPRT2 EXEC PGM=IEBGENER,COND=EVEN,REGION=512K
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DUMMY,DCB=IPOSAV.LWTR
//SYSUT2 DD DSN=IPOSAV.LWTR,
// DISP=OLD
Display SYSLOG status (131 lines) after SYSLOG operations:
TSO/ISPF – sd.log – m PF8:
SDSF SYSLOG 1072.115 BC2A BC2A 07/23/2012 1W 131 COLUMNS 1 80
COMMAND INPUT ===> SCROLL ===> CSR
NR0000000 BC2A 12205 16:31:42.77 MASTER 00000090 IEE704I REPLY 0145 NOT
TSO/ISPF – p.3.4:
Tracks %Used XT Device
IPOSAV.LWTR 1200 0 5 3390
IPOSAV.SYSLOGW 1500 69 7 3390 – old status
IPOSAV.SYSLOGW 1650 97 8 3390 – new status – 23.07.2012
SLGWEMPT
TSO/ISPF – p.3.4
Tracks %Used XT Device
IPOSAV.TEST 1500 47 1 3390 – before empty
TSO/ISPF – sd.st:
//SLGWEMPT JOB (9999,CSOPER,10,10),
// ‘OPER’,
// CLASS=I,
// MSGCLASS=X,
// MSGLEVEL=(1,1),
// NOTIFY=,
// TIME=1440,
// USER=
//* EMPTIES IPOSAV.TEST/.SYSLOGW/.
//SYSLGW3 EXEC PGM=IEBGENER,REGION=512K,COND=(0,LT)
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DSN=NULLFILE,DCB=IPOSAV.SYSLOGW
//SYSUT2 DD DSN=IPOSAV.TEST,
// DISP=OLD
//*
TSO/ISPF – p.3.4
Tracks %Used XT Device
IPOSAV.TEST 1500 0 1 3390 – after SLGWEMPT
13. LPAR system name – sys1.parmlib(IEASYS00) – sysname=bc2a system name
BROWSE SYS1.PARMLIB(IEASYS00) – 01.08 Line 00000045 Col 001 080
SYSNAME=BC2A, SYSTEM NAME
LICENSE=Z/OS, LICENSE Z/OS
PROD=00, SELECT IFAPRD00
SVC=00, SELECT IEASVC00, USER SVCS
VAL=00, SELECT VATLST00
VIODSN=BC2A.STGINDEX, VIO DS
VRREGN=64 DEFAULT REAL-STORAGE REGION SIZE
(the system bc2a is copied in LPAR BC3A on other/new disk volumes and IPL procedures/devices/IODF/IP address and the LIST OF AVAILABLE STORAGE GROUPS in BC3A_92 LPAR are redefined for the new disk volumes)
SMF report from LPAR BC3A with sysname=bc2a:
==H5===============================================================
14. BC2A DUMPs – delete
P.3.4 – sys1.bc2a.dmp00001/2/3 … – delete
15. Map a letter Y to directory access \\10.150.0.78\kci01
- In DOS prompt – ping 10.150.0.78 – to verify the access to server
- Start Run –input : \\10.150.0.78 – press OK – \\10.150.0.78 is added to Network domain in MS/Explore
- Find in MS/Explore – Network – \\10.150.0.78 – press on it – KCI01 directory appears – Enter – press on it – copy/save : \\10.150.0.78\kci01
- Press ALT – Tools – Map Ntework drive – Choose drive Y – on Folder – paste \\10.150.0.78\kci01 and<a name=”q_1″></a> – press Finish
- enter MS/Explore – press Y – kci01 entered – b6600 – hdesk – arch – for file HISGLACC.G03 is received access
- To delete a drive letter Y for directory access – position in MS/Explore – Y – press right button – choose: disconnect
16. /D IKJTSO,SEND
IKJ738I TSO/E PARMLIB SETTINGS : 794
SYS1.PARMLIB(IKJTSO00) on volume BC2MCC
Activated by **IPL** on 2011-04-07 at 14:50:59 from system BC2A
Applies to : BC2A
THE FOLLOWING ARE THE PARMLIB OPTIONS FOR SEND:
OPERSEND(ON)
USERSEND(ON)
SAVE(ON)
CHKBROD(OFF)
LOGNAME(*)
USEBROD(ON)
MSGPROTECT(OFF)
SYSPLEXSHR(OFF)
OPERSEWAIT(ON)
USERLOGSIZE(1,2)
BROADCAST(DATASET(SYS1.BRODCAST)
VOLUME(BC2MCC) TIMEOUT(5) PROMPT)
17. RMF Monitor III options in ERBRMF04 of sys1.parmlib
CYCLE(1000) /* SAMPLE EVERY SECOND (1000 MSEC) */
DATASET(START) /* DATASET SUPPORT */
DATASET(SWITCH) /* APPEND TO LAST NON-FULL DATASET */
DATASET(ADD(RMF.BC2A.MONIII.DS01))
DATASET(ADD(RMF.BC2A.MONIII.DS02))
DATASET(ADD(RMF.BC2A.MONIII.DS03))
MINTIME(100) /* LENGTH OF MINTIME */
OPTIONS /* DO NOT DISPLAY OPTIONS */
RESOURCE(*JES2,JES2) /* SPECIFIES JES STARTED TASK NAME */
STOP /* RUN UNTIL OPERATOR ISSUES STOP */
SYNC(00) /* MINTIME SYNCHRONIZATION */
SYSOUT(X) /* MESSAGES TO SYSOUT CLASS A */
WSTOR(32) /* SIZE OF INSTORAGE BUFFER (IN MB) */
IOSUB /* I/O SUBSYSTEM GATHERING ACTIVE */
NOCFDETAIL /* NO COUPLING FACILITY DETAILS */ 0
CACHE /* ACTIVATE CACHE GATHERING */ 0
OPD /* ACTIVATE OMVS PROCESS DATA GATHERING */ 0
18. Monitor III report commands – Overview z/OS V1R11.0 Resource Measurement Facility (RMF) User’s Guide z/OS V1R11.0 SC33-7990-17 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table 16 bellow lists all report commands with their parameters and abbreviations. The “How to request this report” section in the >z/OS RMF Report Analysis for each report shows an example of the command and parameters. You can enter the commands on any command line. The Parameters column in Table 16 indicates what parameters, if any, you can specify on the respective commands: cfname A coupling facility name job_class One of the following names of a job class: ALL (A) Notes: 1. This parameter is optional. If it is not specified, ALL is used by default. 2. In addition, ENC (or E) can be specified as class for the DELAY report. dsname A data set name jobname A job name period A service or report class period resource A resource name service_class A service class name s/r-class A service or report class name ssid A cache subsystem identifier sstype The name of a subsystem that schedules enclaves storage_class A storage class name volser A serial number of a volume wlm The name of a workload group, a service class, or a report class
Table 17 contains commands for the examples of user-written reports that were delivered with RMF.
|
Comments
No comments yet, be the first to add one!