TSO/ISPF Exercises Logon To TSO

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 3

TSO/ISPF Exercises

Logon to TSO.
Your instructor will provide the
 Userid _________________.
 Password _________________.

Allocating a dataset.

This exercise will guide you to allocate a partitioned data set.

1. On the ISPF Primary Option menu, type 3.2 and press ENTER.
This will take you to the Data Set Utilities panel.

2. On the OPTION LINE, type A to allocate a new data set.


PROJECT  Userid
GROUP  JCL
TYPE  CNTL

3. When the ALLOCATE NEW DATA SET panel appears, there might be
information in some of the fields, leave the Management Class, Storage Class,
Device type, Data Class and Average Record unit fields free( it will take the default
values.).

4. Use the following for the remaining fields.

VOLUME SERIAL  USER02


SPACE UNITS  TRKS
PRIMARY QUANTITY  01
SECONDARY QUANTITY  05
DIRECTORY BLOCKS  05
RECORD FORMAT  FB
RECORD LENGTH  80
BLOCK SIZE  800
DATA SET NAME TYPE  PDS

At this point you have created a Partitioned Data Set named JCL.CNTL with your
Userid as the ‘prefix’ for the data set ( USERID.JCL.CNTL ).

5. To create a member in this PDS type ‘=2’ in the command line and press ENTER

Then type the Project Name i.e. USERID


Group Name i.e. JCL
Type i.e. CNTL

1
Lab Exercises
TSO/ISPF

________________________________________________________
and a member name eg. MEM1
This will create a new member called MEM1 in the PDS - USERID.JCL.CNTL.
Then write 10 lines of information and then follow the next exercise ( LINE area
commands ).

Execute these line area commands for the following exercises:

1. To copy a line in the same text to another location.


2. To copy a set of lines in the same text to another location.
3. To copy a number of lines specified by you to another location in the same text.
4. To move a line to another location of the same text.
5. To move a set of lines to another location of the same text.
6. To move a number of lines specified by you to another location of the text..
7. To insert a line in a text.
8. To delete a line in text.
9. To delete a block of lines in the text.
10. To delete a number of lines in a text.
11. To repeat a line in the text.
12. To repeat a number of lines in the text.
13. To exclude a line in the text.
14. To exclude a block of lines in the text.
15. To exclude a number of lines specified by you.
16. To change the case of a line ( uppercase to lower and vice-versa) in the text.

Execute these command line commands for the following exercise:

1. Locate a line number in the member, which you have created.


2. Find a character string in the member.
3. Execute the CANCEL command.
4. Find a character string and replace with a new string.
5. Turn uppercase or lowercase on/off for the entire member.
6. Execute REPLACE command for replacing an existing file.
7. Copy data from an existing member to the member you are editing through the
COPY command.
8. Move data from an existing member to the member you are editing through the
MOVE command.
9. Create a new member from an existing member by executing the CREATE
command.

Page No : 2
_________________________________________________________________________________
Lab Exercises
TSO/ISPF

________________________________________________________

Advanced Lab Exercises:

1. Compress a partitioned data set using the Utility Selection Panel.


2. Rename a partitioned data set member, and also an entire data set.
3. Browse a member of partitioned data set.
4. Delete a member of a data set.
5. Display the VTOC information for a particular volume.
6. Move a set of members from a data set to another data set.
7. Copy a set of members from a data set to another data set.
8. View the job queue using the TSO SDSF ST command.

Page No : 3
_________________________________________________________________________________

You might also like