You are on page 1of 59

TSO / ISPF

OBJECTIVES

By the end of this module you would be able to


➨ Explain the basic features of TSO and ISPF
➨ Familiarize data set management in TSO/ISPF
➨ Gain working knowledge of the commonly used ISPF
options.
Features of TSO

∗ A subsystem of the MVS Operating System


∗ Allows users to interactively share computer
time and resources
∗ Allows line mode command entry
Logging on to TSO
∗ Fields on the LOGON screen
➨ UserID
➨ Password
➨ New Password
➨ Procedure
➨ Group-ID
➨ Account
➨ Size
➨ Perform
➨ Command
Logging on to TSO - Options

∗ NOMAIL - Optional
∗ NONOTICE - Optional
∗ RECONNECT - Optional
∗ OIDCARD - Optional
ISPF in relation to TSO

ISPF

TSO

MVS

S390 OS
Features of ISPF
∗ Provides an On-line environment to interact with
MVS.
∗ Provides Menu driven interface as opposed to
TSO which provides line mode only.
∗ Provides facilities for Editing and browsing
datasets
∗ ISPF uses panels to display and receive
information and allows customization of your
ISPF environment.
Features of ISPF (Contd…)
∗ Provides Program Function keys to avoid manual
typing of commands.
∗ Provides for easy management of datasets
through the Dataset menu.
∗ Provides extensive facilities for comparing
datasets and searching for data.
∗ Provides facilities for executing programs in
batch or foreground.
ISPF Features (Contd…)
∗ Provides for debugging of advanced user written ISPF
applications.
∗ Provides Advanced facilities to create, delete and display
VSAM datasets
∗ A Client Server Interface to allow GUI.
∗ Provides Action Bars and Pull-down menus for better
productivity
∗ Provides Point and Shoot fields
ISPF (Contd…)
∗ Action Bars
➨ Perform actions without ending present action

∗ Pull-down menus
∗ Point and Shoot fields
∗ Selection Fields
➨ Single Period

➨ Single Underscore

➨ Underscored Field
General Information
∗ Screen Navigation
∗ Messages
∗ Data set names
∗ Reserved Data sets
∗ Split Screen Mode
∗ Function Keys
ISPF Options
∗ ISPF Parameters ∗ Command Processor
∗ Browse ∗ IOF or SDSF
∗ Edit ∗ Tutorial
∗ Utilities
ISPF Parms - Option 0
Used to set up defaults at the user level for
* Command line
* Message
* Action-bar features…
* Function Keys
* GUI/Workstation features
* Identifiers
Log and List datasets
Preserve, Print or Delete Log and List datasets
Terminal Defaults
∗ Terminal Type (Hardware resource name)
∗ Number of PF Keys (12 or 24)
∗ Input Field Pad (Nulls or Blanks)
∗ Command Delimiter
∗ Screen Format (No of rows / columns)
LOG Data Set
∗ Contains all the commands issued during an
ISPF session.
∗ It is a sequential data set.
∗ It may be preserved, or deleted at the end of the
session.
∗ The data set can also be routed to a printer at
the end of the ISPF session
∗ Name : XXXXX.SPFLOGn.LIST (where
XXXXXX is user ID and n is a sequence no.)
List Data Set
∗ Any requests to print in the ISPF session is
stored in this dataset
∗ At the end of the session, the dataset can be
routed to a printer and can be retained or
deleted
∗ Multiple print requests are appended to the list
dataset
∗ Name : XXXXX.SPFn.LIST (XXXXX is the
User ID and n is the sequence no.)
LOG and LIST Defaults
∗ Specifies Process Options and Printing
Parameters for Log and List Data sets.
∗ Specifies the printer ID where it is to be
printed.
ISPF Profile
∗ Contains saved information about the users ISPF
session
∗ Loaded whenever the user logs on
∗ Name : <userid>.ISPF.ISPPROF (XXXXX is the
User ID)
PF Keys
∗ Specifies the command for each PF key
∗ Assigns labels for each key that will appear on
the terminal (optional)
Default PF Key Values
∗ PF1 - HELP ∗ PF7 - UP
∗ PF2 - SPLIT ∗ PF8 - DOWN
∗ PF3 - END ∗ PF9 - SWAP
∗ PF4 - RETURN ∗ PF10 - LEFT
∗ PF5 - RFIND ∗ PF11 - RIGHT
∗ PF6 - RCHANGE ∗ PF12 - RETRIEVE

PF13 TO PF24 - Usually the Same as above


but can be configured
View / Browse / Edit
∗ Command Prompt
∗ Fields on a View/Browse Screen :
➨ Can specify either ISPF Library or Other
Partitioned or Seq. data set
➨ Vol Ser No. (Required if not catalogued)
➨ Confirm Cancel/Move/Replace
➨ Data set Password (If Protected)
➨ Mixed Mode (For EBCDIC and DBCS)
➨ Format Name
Member Lists - Fields
∗ Scroll Field
∗ Name
∗ Prompt
∗ VV.MM (Version and Modification level)
∗ CREATED (Created Date and Time)
∗ CHANGED (Last changed Date and Time)
∗ SIZE (Total no. of Lines)
∗ INIT (Initial no. of lines)
∗ MOD (Lines modified during the last edit)
∗ ID (User ID of the last modifier)
Commands on a member Lists
∗ Select (Select member or S member)
∗ Sort (Name (default), cre, cha, vv, mm, size…)
∗ MLC
∗ Refresh
∗ Reset
∗ LOCATE (Locate a member on sorted order)
∗ SAVE xx (Saves member list in a dataset
<userid>.xx.MEMBERS
Scrolling
∗ Possible Values on SCROLL field :
➨ PAGE
➨ CSR (Cursor)
➨ DATA
➨ nnn (A number)
➨ HALF
Primary and Line commands
Primary Commands
∗ Scrolling ∗ End
∗ Edit/View/Browse ∗ Save
(from respective screens) ∗ Undo
∗ Exclude ∗ Display
∗ Hex, Hilite ∗ Nulls
∗ Bounds
Primary and Line commands (Contd…)
More Primary Commands
∗ Create ∗ Bounds
∗ Copy ∗ Caps
∗ Cut ∗ Number
∗ Paste ∗ Renum
∗ Move ∗ Unnum
∗ Model ∗ Sort
∗ Replace ∗ Tabs
Basic Line Commands
Basic I D R
commands
Move/Copy C M A B O
commands
Shifting ) ( > <
commands
Exclude/Show X F L S
commands
Text handling TE TF TS LC UC
commands
Miscellaneous BNDS COLS MASK TABS
commands
Data MD
commands
Using Labels
Edit
∗ Go to the line where you want to set the label
∗ Type ‘.A’, ‘.B’ etc. in columns 1 to 6. The label
will be set.
Browse
∗ Position the line for labeling on top of page
∗ Type ‘.A’ or ‘.B’ in command line. The label will be set.

Use ‘Locate’ command to locate the label later


Edit Profile
∗ Contains information specific to the dataset
∗ It is saved across ISPF sessions and loaded
whenever the dataset is edited
∗ Defaults to the last qualifier of the dataset. ISPF
recognizes .COBOL, .JCL etc.
∗ Profile information is stored in the User’s ISPF
Profile dataset
Edit Profile - Fields

∗ DATA TYPE
∗ RECOVERY
∗ NUMBERS
∗ CAPS
∗ NULLS
∗ TABS
∗ AUTOSAVE
Edit Profile - Fields...

∗ STATS
∗ LOCK
∗ IMACRO
∗ PACK
Edit Profile - Fields...
∗ Profile line commands:
➨ TABS
➨ MASK
➨ BNDS
➨ COLS
Tags in Columns 1 - 6
∗ COLS ∗ ERR
∗ TABS ∗ MSG
∗ MASK ∗ NOTE
∗ BNDS ∗ PROF
∗ CHG
Find Command - Options

Word
Character (or) HEX (or) *
Prefix
Suffix

(Between) First/Last/Next/Prev (Within)


Column Numbers
Labels (Occurrence)
FIND - Picture Clause
∗ FIND p’pattern’ where pattern is a combination
of one or more
➨ @ (Alphabetic)
➨ # (Numeric)
➨ < (Lowercase)
➨ > (Uppercase)
➨ $ (Special Characters)
➨ . (Non-displayable)
➨ = (Any character including blanks)
➨ - (Non-numeric)
➨ ~ (Non-blank)
ISPF - Utilities
∗ Features :
➨ Library (3.1)
➨ Dataset management (3.2)
➨ Move/Copy Utility (3.3)
➨ Dataset List (3.4)
➨ SuperC Search and Compare Utility (3.13 & 3.14)
Library - Options

∗ Display Member List ∗ Edit a member


∗ Compress Data set ∗ Print a member
∗ Print Index Listing ∗ Rename a member
∗ Print data set ∗ Delete a member
∗ Data set Info ∗ Data set Info (short)
∗ Browse a member
Data Set Utility - Options

∗ Allocate a data set ∗ Catalog a data set


∗ Rename a data set ∗ Uncatalog a data set
∗ Delete a data set ∗ Data set Info (Short)
∗ Data set Info. ∗ Enhanced data set
allocation
Data Set Allocations - Fields
∗ Volume Serial No. ∗ Primary Quantity
∗ Generic Unit ∗ Secondary Qty
∗ Space Units ➨ Extents
➨ Track ∗ Directory Blocks
➨ Cylinder ∗ Record Format
➨ Block ∗ Record Length
➨ Megabyte
∗ Block Size
➨ Kilobyte
∗ Expiration Date
➨ Byte
➨ Records
Enhanced Allocations

∗ Additional Fields :
➨ Management Class
➨ Storage Class
➨ Data Class
➨ Data set name type
Move / Copy Utility
∗ Move/copy PDSs and Sequential datasets
∗ Individually move/copy all or selected members
of a PDS to another PDS
➨ In the process, already existing members can be
overwritten / left out
∗ Move/Copy one sequential dataset to another
sequential dataset
➨ In the process, the new dataset can overwrite the
existing dataset, or append to it
Data Set List Utility
∗ Uses the MVS catalog or VOLSER to display
dataset names matching the input criteria. The
list can be used to:
➨ Display info about data sets
➨ Edit/Browse/delete/rename data sets
➨ Compress/Free data sets
➨ Execute TSO commands on the dataset
∗ Get VTOC information on the volume
Fields on Data Set Utility Panel

∗ Data set name


∗ Volume Serial Number
∗ Initial Display View
∗ Confirm Delete request
Usage Of Fields
∗ Only dataset name - The catalogs are searched
for datasets starting with that name
∗ Dataset name + Volume - The VTOC `of the
volume is searched for all datasets starting with
that name
∗ Only Volume name - The VTOC is searched,
and all datasets on that volume are listed
Primary Commands on List

∗ APPEND ∗ REFRESH
∗ CONFIRM ∗ RESET
∗ SAVE
∗ FIND
∗ SHOWCMD
∗ EXCLUDE ∗ SORT
∗ LOCATE
Line Commands on List
∗ Browse ∗ Catalog
∗ Edit ∗ Uncatalog
∗ Delete ∗ Print data set
∗ Rename ∗ Print Index Listing
∗ Compress (Z) ∗ Display member List
∗ Free
∗ Display Info (S)
Other Line Commands
∗ You can use TSO Commands, CLISTs and
REXX routines as line commands.
∗ The data set name is passed as the first
argument.
Super CE (3.13)
∗ Extended dialog
∗ Can do comparison or search
∗ Scope of comparison/search can be restricted
∗ Fields :
➨ New Data set Name / OLD Data set Name
➨ Member List
➨ Comparison / Listing type
➨ Listing Data set
➨ Process Options
➨ Statements Data set
Some Process Options
∗ SEQ
∗ COBOL
∗ ANYC
∗ DPCBCMT
∗ DPBLKCL
∗ NOSUMS
∗ NOPRTCC
∗ UPDLDEL
Some Edit Commands

∗ CMPCOLM
∗ LSTCOLM
∗ DPLINE
∗ SELECT
∗ CMPLINE
∗ SLIST
∗ LNCT
Srchfor (3.14)

∗ Fields :
➨ Search String(s)
➨ Dataset name with member pattern
➨ Listing data set
➨ Foreground / Background
➨ Mixed Mode
Command Option 6

∗ This option is used to execute TSO commands,


REXX routines and CLISTs without quitting
ISPF.
∗ It is also used to transfer data between a PC and
the mainframe.
∗ You can also execute TSO commands from
anywhere in ISPF by prefixing ‘TSO’ to the
command.
SDSF

∗ System Display Search Facility


∗ Product from IBM, for viewing the jobs and
the JES log
SDSF
Queues
∗ Input Queue ∗ Held Queue
∗ Output Queue ∗ Active Queue

Fields
∗ Jobname ∗ Queue
∗ Type ∗ C
∗ JNUM ∗ Pos
∗ JobId ∗ SAFF
∗ Owner ∗ ASYS
∗ PRTY ∗ Status
SDSF Primary Commands
Prefix - Restricts the display of jobs to those
starting with the mentioned prefix
∗ DA Displays the active jobs
∗ O Displays the output queue
∗ H Displays the held jobs
∗ I Displays the input queue
∗ ST Displays the status of all jobs
∗ LOG Displays the JES log
SDSF Line Commands
∗ H Holds a job (applicable only to running jobs)
∗ A Releases a job on hold
∗ C Cancels a job
∗ P Cancels a job and purges the output
∗ ? Displays the datasets of a job
∗ S Displays the entire job
∗ O Moves the job to the output queue
RACF - Resource Access Control Facility

∗ Software Security product


➨ protects information by controlling access
➨ controls resources

➨ identifies, verifies and authorizes users to access

protected resources
➨ records and reports access attempts
RACF Dataset Accesses

∗ Read
∗ Update
∗ Alter
∗ None
THANK YOU

You might also like