ISPF - Features
ISPF - Features
1
SHARE Nashville - ISPF Project Grid
DSLIST command
ISRDTLCV macro
ISRCMDTB exec
ISRDDN utility
Exploiting Multiple Screens
START
SPLIT
SWAP
3
Hidden Treasures in ISPF* ®
PASSTHRU action
Batch GUI
Command Tables
STATUS Area
ISPVCALL
4
Hidden Treasures in ISPF* ®
ISREPDF
RESIZE
RETP
RETF
ISPLIBD
ENVIRON
5
DSLIST ®
6
COMPARE Edit Command ®
common
common lines
excluded by X
parameter
© COPYRIGHT IBM CORPORATION 2002 IBM SOFTWARE SHARE Winter 2002
7
ISRDTLCV macro ®
8
ISPCMDTB exec ®
9
ISRONLY macro ®
The parameters are the same as those for the FIND command
with the exception of FIRST, LAST, NEXT, and PREV
10
ISRDDN Utility ®
Browse (B), Edit (E), View (V), Free the entire DD (F), Compress
a PDS (C), Provide additional data set information (I), Display
list of users of jobs using a data set (Q)
© COPYRIGHT IBM CORPORATION 2002 IBM SOFTWARE SHARE Winter 2002
11
ISRDDN Utility ®
12
ISRDDN - R5 only ®
13
ISRDDN - Browse of Control Blocks (R5)
®
BROWSE STORAGE
SEQUENTIAL FILE
Allocated to DDNAME ISRDDN
Fixed or VB
Max length of 230
First string on line is control block name
Second string is locater string
Everything else ignored
14
Multiple Screens ®
15
32 Split Screens ®
16
Creating Screens ®
17
START Command ®
START PANEL(panel)|PGM(program)|CMD(command)
[select_parameters]
ISPF_command
primary_option_menu_option
Examples
START PGM(ISRDDN) NEWAPPL(ISR)
START KEYLIST
START 11
18
Naming Screens ®
19
Naming Screens from a Program ®
20
'ISPF Task List - SWAP LIST Command ®
Screen names
Panelid and Applid
Current
screen
"Other"
screen
21
PASSTHRU ®
>Cmd
Greater than sign followed by a command
Command is passed thru to dialog
Can be typed in or used in PFKEY
Avoids conflict with Dialog Manager command
22
Line Command ®
:Cmd
Colon followed by a line command
Special case for PFKEY processing
Colon is stripped off
Command is passed to dialog in first input field where
the cursor is positioned
Example
PF4 . . . :R
The above will repeat a line in Edit if PF4 is pressed
while the cursor on the line
23
Connect Without GUI ®
SETTINGS
Workstation pulldown (or GUIINIT)
Workstation connection
Without GUI display
Allows workstation commands
FILEXFER
Edit on workstation
SELECT WSCMD
24
Batch ISPF ®
Batch ISPF
Normal without displays
In GUI mode
Allows batch job with a display to the workstation
Run an asynchronous job without tying up host
session
25
'Batch JCL ®
26
'Batch JCL ®
27
'Batch JCL ®
//ISPILIB DD DSN=ISPFPROJ.MRK.GIF,DISP=SHR
// DD DSN=PDFTDEV.STG.GIF,DISP=SHR
// DD DSN=PDFTDEV.INT.GIF,DISP=SHR
// DD DSN=PDFTDEV.SVT.GIF,DISP=SHR
//ISPMLIB DD DSN=ISPFPROJ.MRK35.MSGS,DISP=SHR
// DD DSN=PDFTDEV.STG.MSGGEN,DISP=SHR
// DD DSN=PDFTDEV.STG.MSGS,DISP=SHR
// DD DSN=PDFTDEV.INT.MSGGEN,DISP=SHR
// DD DSN=PDFTDEV.INT.MSGS,DISP=SHR
// DD DSN=PDFTDEV.SVT.MSGGEN,DISP=SHR
// DD DSN=PDFTDEV.SVT.MSGS,DISP=SHR
// DD DSN=PDFTOOL.COMMON.MSGS,DISP=SHR
//ISPPLIB DD DSN=ISPFPROJ.MRK35.PANELS,DISP=SHR
// DD DSN=PDFTDEV.STG.PANELGEN,DISP=SHR
// DD DSN=PDFTDEV.STG.PANELS,DISP=SHR
// DD DSN=PDFTDEV.INT.PANELGEN,DISP=SHR
// DD DSN=PDFTDEV.INT.PANELS,DISP=SHR
// DD DSN=PDFTDEV.SVT.PANELGEN,DISP=SHR
// DD DSN=PDFTDEV.SVT.PANELS,DISP=SHR
// DD DSN=PDFTOOL.COMMON.PANELS,DISP=SHR
//ISPSLIB DD DSN=ISPFPROJ.MRK35.SKELS,DISP=SHR
// DD DSN=PDFTDEV.STG.SKELS,DISP=SHR
// DD DSN=PDFTDEV.INT.SKELS,DISP=SHR
// DD DSN=PDFTDEV.SVT.SKELS,DISP=SHR
// DD DSN=PDFTOOL.COMMON.SKELS,DISP=SHR
28
'Batch JCL ®
//ISPTABL DD DSN=&&TPDS3,
// UNIT=SYSDA,
// SPACE=(TRK,(5,5,5)),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=6160),
// DISP=(,PASS,DELETE)
//*
//* THE FIRST DSN IN ISPTLIB IS USED FOR THE ENQUEUE OF TABLES.
//* IF THE ISPPROF DD DOES NOT HAVE THE XXXPROF MEMBER TO RUN THE
//* APPLICATION THEN THE ISPTLIB DD IS USED TO DO THE TBOPEN ON EITHER
//* XXXPROF OR ISPPROF.
//* ISPT036 - ENQUEUE ERROR ON ISPSPROF TYPICALLY OCCURS RUNNING 2 JOBS
//* THAT BOTH HAVE A TEMPORARY ISPPROF DATASET AND A COMMON
//* TABLE LIBRARY CONCATENATED FIRST IN ISPTLIB.
//*
//ISPTLIB DD DSN=*.ST0.OUT2,DISP=(OLD,PASS)
// DD DSN=PDFTDEV.STG.TABLES,DISP=SHR
// DD DSN=PDFTDEV.INT.TABLES,DISP=SHR
// DD DSN=PDFTDEV.SVT.TABLES,DISP=SHR
// DD DSN=PDFTOOL.COMMON.TABLES,DISP=SHR
//SYSUDUMP DD DUMMY
//ISPLOG DD SYSOUT=T,
// DCB=(RECFM=VA,LRECL=125,BLKSIZE=129)
29
'Batch JCL ®
//*
//* ISPCTL0 IS USED FOR EDIT SUBMIT
//* ALLOCATE THE SPACE BASED ON THE LARGEST
//* JOB EDIT SUBMIT WOULD PROCESS
//*
//ISPCTL0 DD DSN=&&TEMP1,
// UNIT=SYSDA,
// SPACE=(TRK,(5,5,5)),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=6160),
// DISP=(,PASS,DELETE)
//*
//* ISPCTLn (WHERE n IS 1-9, A-W.) IS USED FOR FILE TAILORING
//* THERE SHOULD BE 1 FOR EACH SCREEN USED WHERE n REPRESENTS
//* THE SCREEN NUMBER.
//*
//ISPCTL1 DD DSN=&&TEMP1,
// UNIT=SYSDA,
// SPACE=(TRK,(5,5,5)),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=6160),
// DISP=(,PASS,DELETE)
//ISPCTL2 DD DSN=&&TEMP1,
// UNIT=SYSDA,
// SPACE=(TRK,(5,5,5)),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=6160),
// DISP=(,PASS,DELETE)
30
Batch JCL ®
//*
//* EACH BATCH JOB MUST HAVE A UNIQUE PROFILE DSN IF THEY ARE
//* TO RUN SIMULTANEOUSLY
//*
//ISPPROF DD DSN=*.ST0.OUT1,DISP=(OLD,PASS)
//* PRT DD DSN=ISPFPROJ.MRKBAT1.TSOOUT,DISP=SHR
//SYSTSPRT DD SYSOUT=T
//SYSPRINT DD SYSOUT=T
//SYSOUT DD SYSOUT=T
//*
//SYSTSIN DD *
PROFILE PREFIX(MARV)
ISPSTART PANEL(ISR@PRIM) +
NEWAPPL(ISR) GUI(IP:32.224.141.83) +
TITLE(ISPF SESSION 1) +
GUISCRW(80) GUISCRD(32)
/*
//
31
Calendar Notebook
®
&ZKIT = LO
Set in Primary Menu
Allows TBDISPL dialog for Calendar view
Keeps 15 lines of data for day selected
Day is hilited to indicate note
32
ISPF Command Tables ®
ISPF Commands
Command Processing
Examples
33
ISPF Commands ®
34
ISPF Commands ®
How defined
Thru command tables
Self defined by function
How entered
Typing input on the command line and pressing
enter
Pressing a function key
Selecting an Attention field
Pull down choice selection
35
ISPF Commands ®
Command field
Identified on )BODY statement of panel
Defaults to first input field
Use CMD() for no command field
Command delimeter
Allows stacking of commands
Exceptions - HELP, RETRIEVE, RETF
Defined in Settings option
36
ISPF Commands - Processing ®
37
ISPF Commands - OPT3.9 ®
38
Command Table Utility ®
39
Command Table Utility ®
40
Command Table Utility ®
41
Status Area ®
42
ISPVCALL ®
43
ISREPDF ®
44
Site Wide and User EDIT Macros ®
45
RESIZE ®
46
RETP / RETF ®
RETP
Pop-up panel with last 25 commands in RETRIEVE
stack
Options pull down
- Set minimum number of characters to save in
retrieve stack
- Set cursor position to beginning or end of command
when commands are retrieved
RETF
Same as RETRIEVE only reverse direction
Oldest first
47
ISPLIBD ®
ISPLIBD xxxxx
Without a parm
All active LIBDEF's for the logical screen
With a parm
may specify specific library to just display one type
LIBDEF ISPTLIB
48
ENVIRON ®
49