SDSF For Beginners

Download as pdf or txt
Download as pdf or txt
You are on page 1of 46

SDSF for New Users

Session 2671

Bill Keller
IBM Poughkeepsie
!
"
"

# $ % $$
& % #
' " #
# $ #
#
#( #
) %
) " " ' "
%
) " ' '

* % # $ "
% +
" $
,-
. " $+ # # $
% $$ "
" # "
" # "
SDSF Panels - Layout
Display Filter View Print Options Help Select
Selectaa
-----------------------------------------------------function
function
SDSF DA AQTS SYS1 PAG 10 SIO 113 CPU 114/007
COMMAND INPUT ===>_ Type
Type
NP JOBNAME SysName Real Paging SIO CPU% SrvClass
*MASTER* AQFT 10T
SDSF and
0.00 7.06 0.15 SYSTEM SDSF and
*MASTER* AQTS 3594 0.00 0.12 0.04 SYSTEMsystem
system
ABOWEN AQTS 742 0.00 0.00 0.00 TSOPRIME commands
commands
ADAM AQTS 1310 0.00 0.00 0.00 TSOPRIME
ADANPL AQTS 1128 0.00 0.00 0.00 TSOPRIME
ADINELL AQTS 564 0.00 0.00 0.00 TSOPRIME * *
ADOOLEY AQFT 1472 0.00 0.00 0.00 TSOPRIME

Type
Typeshort
short
Sysplex-wide data, Modify
Modifyvalues
values
commands
commands
current and by
bytyping
typingover
over
here
here
customizable them
them
/ & 0
# "$ '
$ # #
# " % 1 " "
2
. % $$ $ '3 $
"$ '& " "$ ' 45 $#
1 %
& # 6
"
"

# $ % $$
# $ % $$ # "$
% " " 4/ "$
# % " 4
SDSF for End Users
Work with jobs and output:
• Display jobs on a specific queue
• Display jobs anywhere in the system
• Display just your own jobs
• Display output as it is created
• Find out if jobs are waiting to be
processed
SDSF Menu for End Users
Display Filter View Print Options Help
-------------------------------------------------
HQX7708 --------- SDSF PRIMARY OPTION MENU ------
COMMAND INPUT ===>

DA Active users
I Input queue *
* " " "
"
O Output queue (
(" """
H Held output queue 2
ST Status of jobs 2$$ #
# " "#
5
#5
Monitor Jobs
Display Filter View Print Options Help
------------------------------------------------------
SDSF STATUS DISPLAY ALL CLASSES LINE 1-20 (24651)
COMMAND INPUT ===> SCROLL ===> PAGE
NP JOBNAME JobID Owner Prty Queue C
BKELLER TSU23637 BKELLER 15 EXECUTION
BKELLERA JOB23991 SCHED 15 INPUT J

" 2/5 $
# # $
&
7 " 8" "
Control Jobs
With “action characters” and overtypeable fields,
users can:
•Cancel, hold or release jobs
•Change a job's priority, class, or destination
COMMAND INPUT ===>
NP JOBNAME JOBID OWNER PRTY C
C WLMBKP# JOB32343 THERESA 7 D
WLMBKP# JOB30138 THERESA 7 A

% # $ $$ # "4
Monitor Output
The O panel displays information about
output that is ready to be printed.
Display Filter View Print Options Help
-------------------------------------------------------
SDSF OUTPUT ALL CLASSES ALL FORMS LINES 1,442
COMMAND INPUT ===> SCROLL ===> PAGE
NP JOBNAME Max-RC C Forms JobID Tot-Rec
BKELLERA CC 0000 A REC JOB18690 1,178
BKELLERB ABEND S622 A REC TSU01320 485

9% "
) ( $
/ :
Tip: See all output on H
H panel shows held output.

Note, H has a built-in filter that limits it to your


own jobs.

To display output for all jobs on the H panel:


• prefix ** then h
- or –
• prefix then h all
Control Output
With action characters and overtypes users can:
• Hold output
• Purge output
• Change output's class, destination or forms
• Set output descriptors for separator pages
• Browse output before it is printed

NP JOBNAME JOBID OWNER PRTY C


S BKELLERZ JOB32343 BKELLER 7 D
WLMBKP# JOB30138 KJONAS 7 D
Browse Output
•Output data sets
•Input data sets for jobs being processed or waiting to be processed
SDSF OUTPUT DISPLAY BKELLERZ JOB32343 DSID 2
COMMAND INPUT ===>
09.25.05 JOB32343 IRR010I USERID BKELLER IS ASSIGNED
09.25.06 JOB32343 ICH70001I BKELLER LAST ACCESS AT 09:;
;
09.25.06 JOB32343 $HASP373 BKELLERZ STARTED - INIT 12 -%
09.25.07 JOB32343 IEF403I BKELLERZ - STARTED - TIME=09.%
--------------------------------------------------------
1 //BKELLERZ JOB '141691,B001D49A','WR KELLER'
// MSGCLASS=H,NOTIFY=BKELLER,CLASS=T;)0
;) 0
2 //OUT OUTPUT FORMDEF=010111,PAGEDEF=V06481
--------------------------------------------------------
16 IEFC001I PROCEDURE COMPARE WAS EXPANDED USING * %
ICH70001I BKELLER LAST ACCESS AT 09:25:06 ON MONDAY, * %
ISPF Edit or Browse
Instead of S, you can use
SE to browse using ISPF Edit
SB to browse using ISPF Browse

Then you can use any ISPF Edit or Browse


commands or macros
Browse JCL and Resubmit
• With the SJ action, you can browse just the
JCL for a job and resubmit it.
SDSF EDIT HOLDE (JOB00017) JCLEDIT Columns 00001 00072
Command ===> SUB Scroll ===> PAGE
****** ***************************** Top of Data ***********************
000001//HOLDE JOB CLASS=E,MSGCLASS=E
000005 //STEP1EXEC PGM=IEBDG
000006 //OUTA DD SYSOUT=E,DCB=(LRECL=80,RECFM=FB,BLKSIZE=800)
000007 //SYSPRINT DD SYSOUT=E
000008 //SYSIN DD *

• 7.
•) % # "$ 1
Work with Data Sets
The ? action lists the data sets for a job:
SDSF JOB DATA SET DISPLAY - JOB BERKEA5 (JOB00042)
COMMAND INPUT ===> SCROLL ===> PAGE
NP DDNAME StepName ProcStep DSID Owner C Dest
JESJCLIN 1 BEVK R LOCAL
JESMSGLG JES2 2 BEVK R LOCAL
JESJCL JES2 3 BEVK R LOCAL
JESYSMSG JES2 4 BEVK R LOCAL
$INTTEXT JES2 5 BEVK A LOCAL
ISFIN FINDDA 101 BEVK R LOCAL
xdc ISFOUT FINDDA 104 BEVK R LOCAL

< ' ' "% ) % ' '


" "
Printing
You can print:
Output data
Data from the log panels
Screen images of SDSF panels

The print output can be sent to:


SYSOUT
Data set
Print file (specified with a ddname).
Printing – Fast Path
SDSF OUTPUT ALL CLASSES ALL FORMS LINES 499 LINE 1-2 (18)
COMMAND INPUT ===>
NP JOBNAME JOBID OWNER PRTY C FORMS FCB DEST
TCAS STC00007 IBMUSER 144 A STD **** LOCAL
XDC CLRMANB STC00009 +++++++ 144 A STD **** LOCAL

.
. =
=
.
. $
$
SDSF OUTPUT DISPLAY BKELLERZ JOB32343 DSID 2
COMMAND INPUT ===> print
09.25.05 JOB32343 IRR010I USERID BKELLER IS ASSIGNED
09.25.06 JOB32343 ICH70001I BKELLER LAST ACCESS AT 09:
09.25.06 JOB32343 $HASP373 BKELLERZ STARTED - INIT 12 -
09.25.07 JOB32343 IEF403I BKELLERZ - STARTED - TIME=09
Printing - Control
PRINT command and pop-ups provide more control:
SDSF Open Print
COMMAND INPUT ===>

Enter SYSOUT attributes below:

Class ===> (A through Z, 0 through 9)


Copies ===> (1to 255)
Forms ===> **
Destination ===>
FCB ===>
UCS ===>
Process Mode ===> **
Pagedef ===> **
Formdef ===> **
Tip – Printing As Is
SDSF's print function inserts ANSI carriage control,
or converts machine carriage control, if present, to
ANSI, unless:

•You use the PRINT FILE command or the XF or


XFC action character
•The data is page-mode. SYSOUT files containing
both page-mode data and machine character data
are not defined as page-mode in JES2.
)" $+ %.
$$ " #"
• # $ % $$ $
SDSF STATUS DISPLAY ALL CLASSES
COMMAND INPUT ===>
NP JOBNAME JobID Owner Status Prty Queue
BKELLER TSU23995 BKELLER
BKELLER JOB13185 BKELLER %%"
"
BKELLER JOB06091 BKELLER @ 3<> 0 0
@ 3<> 0 033
BKELLERA JOB30922 BKELLER
$
$
.
.3
37=
=<
7 >
<>0
0
003
3??
)" $+ %.
# # "$ $
"$ ' " %

" % "$

"
)" $+ %.
Arrange Pop-up
& % +
"$ Column Width
__ SysName 8
/_ Real 4
* __ Paging 6
__ SIO 6
3
__ CPU% 6
__ SrvClass 8
$ a_ StepName 8
__ ProcStep 8
__ Owner 8
) % __ Status 6
__ C 1
/ – %
• # 2 %A 5
SDSF HELD OUTPUT DISPLAY ALL CLASSES LINES 452,893 LINE 429-449 (449)
COMMAND INPUT ===> SCROLL ===> CSR
ACTION=//-Block,=-Repeat,+-Extend,?-JDS,A-Release,C-Cancel,H-Hold,L-List
ACTION=O-Release,P-Purge,Q-Outdesc,S-Browse,X-Print
NP JOBNAME JOBID OWNER PRTY C ODISP DEST TOT-REC
DB2LU32 JOB09111 DB2JOB 7 H HOLD LOCAL 730

• # % #
SDSF STATUS DISPLAY ALL CLASSES LINE 1-20 (24651)
COMMAND INPUT ===> SCROLL ===> PAGE
PREFIX=BKELLER* DEST=(ALL) OWNER=* FILTERS=2
NP JOBNAME JobID Owner Prty Queue C
BKELLER TSU23637 BKELLER 15 EXECUTION
/ – %
3 8" $ "
• # $ B
" ( "% " "

) " $
• 1 "
#" 1%
SDSF for Operators and
System Programmers
Monitor and control:
• Initiators
• Printers SDSF
SDSF PRPR DISPLAY
DISPLAY
NP DEVICE
NP NODE
DEVICE STATUS
STATUS UNIT
UNIT
• Punches SDSF
SDSF
NP
NODE
LINE1
LINE1
DEVICE
DISPLAY
DISPLAY
ACTIVE
ACTIVE
STATUS B00
UNITB00
NP
SDSF DEVICE
LINE STATUS
DISPLAY UNIT
• Readers NP
L1.JR1
SDSF LINE1
LINE
LINE1
DEVICE
L1.JT1
INACTIVE
DISPLAY
L1.JR1 INACTIVE B00
ACTIVE
ACTIVE
STATUS
INACTIVE UNITB00
NP DEVICE STATUS
L1.JT1 INACTIVE
L1.JR1 INACTIVE UNIT
• Lines L1.JR1
LINE1
L1.SR1
LINE1
L1.SR1
L1.JT1
INACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
INACTIVE
B00
B00
L1.JT1
L1.JR1 INACTIVE
INACTIVE
• Nodes L1.ST1
L1.JR1
L1.ST1
L1.SR1
L1.SR1
L1.JT1
L1.JT1
ACTIVE
INACTIVE
ACTIVE
ACTIVE
ACTIVE
INACTIVE
INACTIVE
L1.ST1 ACTIVE
• etc. L1.ST1
L1.SR1 ACTIVE
ACTIVE
L1.SR1 ACTIVE
L1.ST1
L1.ST1 ACTIVE
ACTIVE
# $ % $$
HQX7708------- SDSF PRIMARY OPTION MENU ------------
-
COMMAND INPUT ===>_ SCROLL ===> PAGE
DA Active users INIT Initiators
I Input queue PR Printers
O Output queue PUN Punches
H Held output queue RDR Readers
ST Status of job LINE Lines
NODE Nodes
LOG System log SO Spool offload
SR System requests SP Spool volumes
MAS Members in the MAS
JC Job classes ULOG User session log
SE Scheduling environments
RES WLM Resources # $ "
ENC Enclaves
# $ "
PS Processes
Control Devices
Information displayed about devices includes:
• Status and characteristics (such as selection criteria)
• The job currently being processed
) #
SDSF PRINTER DISPLAY LINE 33-54 (102)
COMMAND INPUT ===> SCROLL ===> PAGE
NP PRINTER STATUS SFORMS SCLASS JOBNAME JOBID
PRT33 ACTIVE STD UIC12 TDOOLY JOB02733
PRT34 ACTIVE NAR UIC12 KHODGE JOB02539

' '
' 4 # % "
Tip – Overtype Extension
@ 1 $" "
SDSF PRINTER DISPLAY SY1
COMMAND INPUT ===>
PREFIX=* DEST=(ALL) ,-------------------------------,
/# -
/#NP - PRINTER SPrMode1 | Overtype Extension |
PRT1 + | |
PRT2 LINE | Column SPrMode1 |
PRT3 LINE | Maximum length 8 |
PRT4 LINE | |
PRT5 PAGE | Type values or use blanks to |
. PRT6 PAGE | erase values. |
. B"B" PRT7 LINE | ===> LINE |
PRT8 LINE | ===> |
"" PRT9 LINE | ===> |
PRT10 LINE | ===> |
PRT11 LINE | ===> |
Control System Resources
• Members in the MAS
• Spool volumes
• Job classes

SDSF MAS DISPLAY S32 DEFINED SYSTEMS 9% SPOOL


COMMAND INPUT ===> SCROLL ==> PAGE
NP NAME STATUS SID PREVCKPT HOLD ACTHOLD
S01 ACTIVE 1 26.75 0 6
S02 ACTIVE 2 37.72 0 5
S03 INACTIVE 3 0.00 0 0
More than JES2 Data
WLM enclaves, scheduling environments
and resources
Unix System Services process
SDSF PROCESS DISPLAY SY1 ALL LINE 1- 10 (10)
COMMAND INPUT===>_ SCROLL===> CSR
NP JOBNAME Status Owner State CPU-
BPXOINIT SWAPPED, RUNNING SYSTASK MRI 1
MQS1CHIN RUNNING MQS 1R 11
MQS1CHIN RUNNING MQS 1R 12
MQS1CHIN FILE SYS KERNEL WAIT MQS 1F 20
KDMQDKJ RUNNING SYSTASK HR
View the System Log
•View the system log online
•View a merged sysplex log (LOG O)
COMMAND INPUT===> FIND HASP395 SCROLL===> CSR
N 4000000 AQFT 01303 16:37:20.94 JOB23185 00000091 $HASP395 DIANAM ENDED
%
%
NC0000000 AQFT 01303 16:37:21.33 INTERNAL 00000281 SE '16.37.21 JOB23185
N 0000000 AQFT 01303 16:37:21.37 TSU21704 00000081 IEF126I RIMFIRE - LOGG
N 4000000 AQFT 01303 16:37:21.37 TSU21704 00000091 $HASP395 RIMFIRE ENDED
N 0000000 AQFT 01303 16:37:26.65 00000291 IEA989I SLIP TRAP ID=X33
N 0200000 AQFT 01303 16:37:29.08 JOB23211 00000081 $HASP100 D75CEM1C ON I
8000000 AQFT 01.10.09 STC17351 *60 DSI802A CNM03 REPLY WITH VALID NCCF SY
8000000 AQFT 01.04.42 *57 DSI802A M03AO REPLY WITH VALID NCCF SY
@/
@/ 3
3
0002000 AQFT 01.49.45 STC15235 *12 DENQ002D ENQ Monitor - Reply 'ENQ' or
******************************** BOTTOM OF DATA *************************

%
%
Tip – Auto-refresh the Log
New log data is added to the bottom
& command repeats a command at an interval
COMMAND INPUT===> BOT &15 SCROLL===> CSR
N 4000000 AQFT 01303 16:37:20.94 JOB23185 00000091 $HASP395 DIANAM ENDED
%
%
NC0000000 AQFT 01303 16:37:21.33 INTERNAL 00000281 SE '16.37.21 JOB23185 $H
$
N 0000000 AQFT 01303 16:37:21.37 TSU21704 00000081 IEF126I RIMFIRE - LOGGED
$
N 4000000 AQFT 01303 16:37:21.37 TSU21704 00000091 $HASP395 RIMFIRE ENDED
#
#CC
N 0000000 AQFT 01303 16:37:26.65 00000291 IEA989I SLIP TRAP ID=X33
N 0200000 AQFT 01303 16:37:29.08 JOB23211 00000081 $HASP100 D75CEM1C ON INT
8000000 AQFT 01.10.09 STC17351 *60 DSI802A CNM03 REPLY WITH VALID NCCF SY
8000000 AQFT 01.04.42 *57 DSI802A M03AO REPLY WITH VALID NCCF SY
0002000 AQFT 01.49.45 STC15235 *12 DENQ002D ENQ Monitor - Reply 'ENQ' or 'E
******************************** BOTTOM OF DATA ****************************
Work with Action Messages
SR panel shows system requests
SDSF SYSTEM REQUESTS ALL 6 WTORS LINE 1-16 (16)
COMMAND INPUT ===> SCROLL ===> CSR
NP REPLYID SysName JobName Message-Text
r 43 AQTS AUTONET *43 DSI802A M05AO REPLY WITH
52 AQTS WHOSP2 *52 DENQ002D ENQ Monitor – R
53 AQTS NETVNET *53 DSI802A CNM05 REPLY WITH

3 # B"
#% $ %
View a Log for Your Session
ULOG captures commands and msgs. for a user.
Display Filter View Print Options Help
DD
----------------------------------------------------------------------
SDSF ULOG CONSOLE BKELLER LINE 0 COLUMNS$$
02- 81
COMMAND INPUT ===>
$$
SCROLL ===> CSR
********************************* TOP OF DATA *********************
AQFT 2004040 17:30:22.29 ISF031I CONSOLE BKELLER ACT
AQFT 2004040 17:30:55.58 -$CJ(5903),P
AQFT 2004040 17:30:55.59 JOB05903 *
$HASP890 JOB(BKELLER)
* %%
$HASP890 JOB(BKELLER) STAT
$HASP890 PRIO
$HASP890 PURG
AQFT 2004040 17:31:53.22 -$RALL,J=J30922,D=BKELLER
AQFT 2004040 17:31:53.72 $HASP000 OK
******************************** BOTTOM OF DATA ******************
System commands - /
Enter system commands from within SDSF
COMMAND INPUT ===> /setprog apf,add,ddname=isf +

/
/#
# !'
!' $
$ 44 // %
% -
- ## B"
B"
System Command Extension

Type or complete typing a system command, then press Enter.

===> setprog apf,add,ddname=isf.isfload,vol=us1


===>______________________________________

Place the cursor on a command and press Enter to retrieve it.


More: +
=> D IPLINFO . "
=> $JDDETAILS
. "
$$
$$
=> $jdhistory
)" $+ %
# $ % $$ " ’ $ '
7 .&3* ' " $+

D + " 2 $ ' 45

) "$

& ' $ ' 4

# $ "
7 .&3* $ 2 5
GROUP TSOAUTH(JCL,OPER,ACCT),
XUID(XLIST),
AUTH(LOG,I,O,H,DA,INIT,PR,NO,DEST),
IFIELDS(DFLD)
NTBL NAME(XLIST)
NTBLENT STRING($S),OFFSET(1)
NTBLENT STRING(OPER),OFFSET(3)

FLD NAME(DFLD) TYPE(IN)


FLDENT COLUMN(JNUM),TITLE('JOB NUM'),WIDTH(7)
FLDENT COLUMN(JPRIO),TITLE(PRTY),WIDTH(4)
) "$
$ " % "
D "
. %7 .&3*
Processed by an SDSF server (address
space) at initialization
Server reads from PARMLIB member
ISFPRMxx or from a PDS defined in the server
JCL.
•Can specify the xx suffix when starting the
server, for example s sdsf,m=01
7 .&3* & *<0 3$
) %
START proc-name to start the server
•Example: s sdsf

MODIFY server-name to refresh the


statements or check syntax without activating
•Example: f sdsf,refresh,test

STOP server-name to stop the server


•Example: p sdsf
. % " #
7 .&3*
•) $ % " "

&
3 $$ E
• # $
•D "
•< "
• 1 7 .&3*
#
; " " # *& B " $ #

# $ # B 4 3 8"
•@ *F # $

G &* $$ # $
"

)" $+ @+ B"
•www.ibm.com/servers/eserver/zseries/zos/sdsf/
# B
With the addition of WebSphere MQ,
users can work with devices anywhere
in the sysplex.
SDSF LINE DISPLAY SY1 LINE 1-5 (5)
COMMAND INPUT ===> SCROLL ===> CSR
NP DEVICE Status SysName Unit Node Jobname
LINE1 ACTIVE SY1 SNA
LINE2 ACTIVE SY1 F00C
LINE3 ACTIVE SY1 F012 POKVMXA1
LINE10 DRAINED SY2 0406
LINE11 DRAINED SY2 0407
@ 0 *
" $ $
$$ 14 / / 3 $$

9 ' $$ '
$ % 4 . 9 $$

)" $+
$ # $ % $$

/ @ ' '( 1
4 $4 $! ! !+ !+ ! !

You might also like