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 NONOTICE RECONNECT OIDCARD - Optional - Optional - Optional - 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

∗ Browse ∗ Edit ∗ Utilities

∗ Command Processor ∗ IOF or SDSF ∗ Tutorial

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.)

∗ 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.)

List Data Set

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 PF2 PF3 PF4 PF5 PF6 - HELP - SPLIT - END - RETURN - RFIND - RCHANGE ∗ ∗ ∗ ∗ ∗ ∗ PF7 - UP PF8 - DOWN PF9 - SWAP PF10 - LEFT PF11 - RIGHT PF12 - RETRIEVE

PF13 TO PF24 - Usually the Same as above but can be configured

∗ Command Prompt ∗ Fields on a View/Browse Screen :
²

View / Browse / Edit

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 ∗ Edit/View/Browse (from respective screens) ∗ Exclude ∗ Hex, Hilite ∗ Bounds ∗ ∗ ∗ ∗ ∗ End Save Undo Display Nulls

Primary and Line commands (Contd…)
More Primary Commands
∗ ∗ ∗ ∗ ∗ ∗ ∗ Create Copy Cut Paste Move Model Replace ∗ ∗ ∗ ∗ ∗ ∗ ∗ Bounds Caps Number Renum Unnum Sort Tabs

Basic Line Commands
Basic commands Move/Copy commands Shifting commands Exclude/Show commands Text handling commands Miscellaneous commands Data commands MD BNDS COLS MASK TABS TE TF TS LC UC X F L S ) ( > < C M A B O I D R

Edit

Using Labels

∗ 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 TABS MASK BNDS CHG ∗ ∗ ∗ ∗ ERR MSG NOTE PROF

Find Command - Options
Word Character Prefix Suffix (or) HEX (or)

*

(Between) Labels

First/Last/Next/Prev (Occurrence)

(Within) Column Numbers

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 Compress Data set Print Index Listing Print data set Data set Info Browse a member ∗ ∗ ∗ ∗ ∗ Edit a member Print a member Rename a member Delete a member Data set Info (short)

Data Set Utility - Options
∗ ∗ ∗ ∗ Allocate a data set Rename a data set Delete a data set Data set Info. ∗ ∗ ∗ ∗ Catalog a data set Uncatalog a data set Data set Info (Short) Enhanced data set allocation

Data Set Allocations - Fields
∗ Volume Serial No. ∗ Generic Unit ∗ Space Units
² ² ² ² ² ² ²

∗ Primary Quantity ∗ Secondary Qty
²

Extents

Track Cylinder Block Megabyte Kilobyte Byte Records

∗ ∗ ∗ ∗ ∗

Directory Blocks Record Format Record Length Block Size Expiration Date

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 CONFIRM FIND EXCLUDE LOCATE
∗ ∗ ∗ ∗ ∗ REFRESH RESET SAVE SHOWCMD SORT

Line Commands on List
∗ ∗ ∗ ∗ ∗ ∗ ∗ Browse Edit Delete Rename Compress (Z) Free Display Info (S) ∗ ∗ ∗ ∗ ∗ Catalog Uncatalog Print data set Print Index Listing Display member List

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 ∗ Output Queue ∗ Held Queue ∗ Active Queue

Fields
∗ ∗ ∗ ∗ ∗ ∗ Jobname Type JNUM JobId Owner PRTY

∗ ∗ ∗ ∗ ∗ ∗

Queue C Pos SAFF ASYS 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 A C P ? S O Holds a job (applicable only to running jobs) Releases a job on hold Cancels a job Cancels a job and purges the output Displays the datasets of a job Displays the entire job 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