Upload
heerapotter
View
255
Download
0
Embed Size (px)
Citation preview
8/11/2019 Tso Ispf Unix Foils
1/27
Introduction to the new mainframe
Chapter 4: Interactive facilities of z/OS:
TSO/E, ISPF, and UNIX
Copyright IBM Corp., 2006. All rights reserved.
8/11/2019 Tso Ispf Unix Foils
2/27
Introduction to the new mainframe
Chapter 4 objectives
Be able to:
Log on to z/OS
prompt
Navigate through the menu options of
ISPF Use the ISPF editor to make changes to a
Use the UNIX interfaces on z/OS,
including the z/OS UNIX command shell.
Copyright IBM Corp., 2006. All rights reserved. 2
8/11/2019 Tso Ispf Unix Foils
3/27
Introduction to the new mainframe
Key terms in this chapter
an emu a or
CLIST
ISHELL
comman
path
READY prompt
ISPF
logon
Restructured Extended
Executor (REXX)
Time Sharing Option /Extensions (TSO/E)
Copyright IBM Corp., 2006. All rights reserved. 3
8/11/2019 Tso Ispf Unix Foils
4/27
Introduction to the new mainframe
How do we interact with z/OS?
TSO/E
Allows users to logon to z/OS and use a limited set of basic.
mode.
ISPF Provides a menu system for accessing many of the most
commonly used z/OS functions.
z s e an u es
Allows users to write and invoke shell scripts and utilities, and
Copyright IBM Corp., 2006. All rights reserved. 4
8/11/2019 Tso Ispf Unix Foils
5/27
8/11/2019 Tso Ispf Unix Foils
6/27
Introduction to the new mainframe
TSO overview (continued)
In a z/OS system, each user gets a user ID and a password.
During TSO logon, the system displays the TSO logon screen on
the users 3270 display device or TN3270 emulator.
logon panel to better suit the needs of the systems users.
Copyright IBM Corp., 2006. All rights reserved. 6
8/11/2019 Tso Ispf Unix Foils
7/27
Introduction to the new mainframe
TSO/E logon screen
Copyright IBM Corp., 2006. All rights reserved. 7
8/11/2019 Tso Ispf Unix Foils
8/27
Introduction to the new mainframe
Using TSO commands in native mode
Usually, ISPF provides the interface for TSO.
,
independent of ISPF and other programs.
Using TSO in this way is called using TSO in its native mode.
When you logon to TSO, the z/OS system responds bydisplaying the READY prompt, and waits for input (similar to a
DOS rom t .
Copyright IBM Corp., 2006. All rights reserved. 8
8/11/2019 Tso Ispf Unix Foils
9/27
Introduction to the new mainframe
TSO Ready Prompt
Cursor, where you enter commands
TSO is ready to accept commands
1
2
3
1 - You enter a command like a DOS rom t2 - TSO displays the command output and
3 - TSO is ready to accept new commands
Copyright IBM Corp., 2006. All rights reserved. 9
8/11/2019 Tso Ispf Unix Foils
10/27
Introduction to the new mainframe
Using CLISTs under native TSO
ace a comman st or see st n a e an execute
the list as if it were a single command.
A CLIST issues the commands in sequence.
CLISTs are used for performing routine tasks and working moreefficiently with TSO.
TSO users create CLISTs with the CLIST command language.
Copyright IBM Corp., 2006. All rights reserved. 10
8/11/2019 Tso Ispf Unix Foils
11/27
Introduction to the new mainframe
CLISTs versus REXX
s es ruc ure x en e xecu or anguage, a commanlanguage used with TSO
Both CLISTs and REXX offer shell script-type processing.
,
(although REXX can be compiled as well).
ome z users wr e unc ons rec y as s orprograms
CLIST programming is unique to z/OS, while the REXX languageis used on many platforms.
Copyright IBM Corp., 2006. All rights reserved. 11
8/11/2019 Tso Ispf Unix Foils
12/27
Introduction to the new mainframe
ISPF overview
cronym or nteract ve ystem ro uct v ty ac ty
-
system. The ISPF environment is executed from native TSO.
ISPF provides utilities, an editor and ISPF applications to theuser. To the extent permitted by various security controls an
ISPF user has full access to most z/OS s stem functions.
Copyright IBM Corp., 2006. All rights reserved. 12
8/11/2019 Tso Ispf Unix Foils
13/27
Introduction to the new mainframe
Using ISPF allocate screen
.
Copyright IBM Corp., 2006. All rights reserved. 13
8/11/2019 Tso Ispf Unix Foils
14/27
Introduction to the new mainframe
Navigating through ISPF menus
o access un er , t e user enters a comman rom t e
READY prompt to display the ISPF Primary Option Menu.
You can access online help from any of the ISPF panels (press
the PF1 key)
ISPF includes a text editor and browser, and functions for
locatin files and erformin other utilit functions.
Copyright IBM Corp., 2006. All rights reserved. 14
8/11/2019 Tso Ispf Unix Foils
15/27
Introduction to the new mainframe
ISPF Menu Structure
0 Settin s
Primaryoption menu
1 Browse
2 Edit
3 Utilities
4 DS List
5 ...
Settings View Edit Utilities Dialog Test
/ Cursor at ..
_ ..._ ...
_ ...
1 Dataset
2 Library3 Copy/Move
4 DS List
Proj ____
Group ____Type ____
Other Dsn__
Proj ____
Group ____Type ____
Other Dsn__
1 ......
2 ......3 ......
4 ......
Copy/Move
Library
CP Cop MP
____
Group ____
Type ____
****************
0 //JOB1 JOB
0 //S1 EXEC
0 //DD1 DD
0 ..0 ..
____
Group ____
Type ____
b Display
D Delete
Proj ______
Group ____
Copyright IBM Corp., 2006. All rights reserved. 15
*************** ____
8/11/2019 Tso Ispf Unix Foils
16/27
Introduction to the new mainframe
General structure of ISPF panels
Bar
Panel
Menu Utilities Compilers Options Status Help
---------------------------------------------------------------------------
ISPF Primary Option Menu
0 Settings Terminal and user parameters User ID . : AUES100
DynamicStatusArea
. . .
2 Edit Create or change source data Terminal. : 3278
3 Utilities Perform utility functions Screen. . : 1
4 Foreground Interactive language processing Language. : ENGLISH
5 Batch Submit job for language processing Appl ID . : ISR
6 Command Enter TSO or Workstation commands TSO logon : LOGON
7 Dialog Test Perform dialog testing TSO prefix: AUES100
8 LM Facility Library administrator functions System ID : SYS19 IBM Products IBM program development products MVS acct. : ACCNT#
10 SCLM SW Configuration Library Manager Release . : ISPF 5.2
11 Workplace ISPF Object/Action Workplace
S SDSF System Display and Search Facility
Enter X to Terminate using log/list defaults
CommandLine
Option ===>
Copyright IBM Corp., 2006. All rights reserved. 16
Function
Keys
F1=Help F2=Split F3=Exit F7=Backward F8=Forward F9=Swap
F10=Actions F12=Cancel
8/11/2019 Tso Ispf Unix Foils
17/27
Introduction to the new mainframe
Common functions provided in ISPF menus
Menu Utilities Compilers Options Status Help
---------------------------------------------------------
- -0 Settings Terminal and user parameters1 View Display source data or listings2 Edit Create or change source data3 Utilities Perform utilit functions.
Option Number
0 Settings Terminal and user parameters1 View Display source data or listings2 Edit Create or change source data3 Utilities Perform utility functions..Options ===>3
Function Keys
Copyright IBM Corp., 2006. All rights reserved. 17
F1=Help F3=Exit F7=Bkwd F8=Fwd
F10=Actions F11=Retrieve F12=Cancel
8/11/2019 Tso Ispf Unix Foils
18/27
Introduction to the new mainframe
Keyboard mapping:
u n c o n ey
Enter Ctrl (right side)
Exit, end, or return PF3
Help PF1
PA1 or Attention Alt-Ins or Esc
-
Cursor movement Tab or Enter
Clear Pause
Page up PF7
Page down PF8
Scroll right PF11
Reset locked keyboard Ctrl (left side)
Copyright IBM Corp., 2006. All rights reserved. 18
8/11/2019 Tso Ispf Unix Foils
19/27
Introduction to the new mainframe
ISPF Edit Panel - some line commands
Command Description
I Insert linesD Delete lines
R Repeat lines
M Move lines
A After line
B Before line
(Shift right columns
< r g a a
) Shift left columns
> Shift left data
Copyright IBM Corp., 2006. All rights reserved. 19
X Exclude lines
8/11/2019 Tso Ispf Unix Foils
20/27
8/11/2019 Tso Ispf Unix Foils
21/27
Introduction to the new mainframe
z/OS UNIX interactive interfaces
Like TSO and ISPF, the z/OS UNIX shell and utilities
provide an interactive interface to z/OS.
Use the UNIX shell to:
nvo e s e scr p s an u es
Write shell scripts (a list of shell commands created with the
shell programming language)
Run shell scripts and C language programs interactively.
Copyright IBM Corp., 2006. All rights reserved. 21
8/11/2019 Tso Ispf Unix Foils
22/27
Introduction to the new mainframe
Invoking the UNIX shell
You can invoke the UNIX shell in any of these ways:
From a 3270 display or a workstation running a 3270 emulator
- ,
commands
From TSO by entering the OMVS command or the ISHELL
command.
Copyright IBM Corp., 2006. All rights reserved. 22
8/11/2019 Tso Ispf Unix Foils
23/27
Introduction to the new mainframe
TSO commands used with z/OS UNIX
ISHELL This command invokes the ISPF shell.
Intended for users more familiar with TSO/ISPF than UNIX
,
unmounting file systems, and z/OS UNIX administration.
z/OS programmers can do much of their work under ISHELL.
OMVS This command invokes the z/OS UNIX shell.
Intended for users more familiar with UNIX than TSO/ISPF
Allows the user to alternate between the shell and TSO
UNIX programmers should find the z/OS UNIX shell
programming environment familiar.
Copyright IBM Corp., 2006. All rights reserved. 23
8/11/2019 Tso Ispf Unix Foils
24/27
Introduction to the new mainframe
ISHELL command (ish)
A good starting point for TSO/ISPF users who want to use
z/OS UNIX.
n er , you can use ac on co es o:
b Browse a file or directory
d Delete a file or directory
r Rename a file or directory
a Show the attributes of a file or directory
c Copy a file or directory
Copyright IBM Corp., 2006. All rights reserved. 24
8/11/2019 Tso Ispf Unix Foils
25/27
8/11/2019 Tso Ispf Unix Foils
26/27
Introduction to the new mainframe
Direct login to the shell
rlogin
When the inetd daemon is active, you can rlogin to the shell from
. ,
syntax supported at your site.
telnet
Also uses the inetd daemon inetd must be active and set up to recognize and receive the
.
Copyright IBM Corp., 2006. All rights reserved. 26
8/11/2019 Tso Ispf Unix Foils
27/27
Introduction to the new mainframe
Summary
a ows users o ogon o z an use a m e se o as ccommands in native mode.
ISPF is a menu-driven interface for user interaction with z/OS. ISPF provides utilities, an editor and ISPF applications to the
user. To the extent permitted by various security controls anISPF user has full access to most z/OS system functions.
TSO ISPF should be viewed as a system management interfaceand a development interface for traditional z/OS programming.
The z/OS UNIX shell and utilities rovide a command interface tothe z/OS UNIX environment. You can access the shell either bylogging on to TSO/E or by using the remote login facilities of
TCP/IP rlo in . If you use TSO/E, a command called OMVS creates a shell for
you. You can work in the shell environment until exiting ortem oraril switchin back to the TSO/E environment.
Copyright IBM Corp., 2006. All rights reserved. 27