Chapter 2 TSO COMMANDS. SYS-ED/ Computer Education Techniques, Inc.

Similar documents
IBM. TSO/E User's Guide. z/os. Version 2 Release 3 SA

z/os Version 2 Release 3 TSO/E User's Guide IBM SA

Appendix B WORKSHOP. SYS-ED/ Computer Education Techniques, Inc.

ISPF at EI&O UFIT. UF Information Technology. EI&O Document ID: D0040 Last Updated: 06/28/2002

ISPF Users Boot Camp - Part 2 of 2

6/3/2011 TSO Tutorial. TSO Tutorial

Performance Objectives

Uni Hamburg Mainframe Summit z/os The Mainframe Operating. Part 2 TSO, ISPF und Unix Shell. Introduction to the new mainframe

Chapter 1 RUNNING A SIMPLE JOB. SYS-ED/ Computer Education Techniques, Inc.

Appendix TSO COMMAND SUMMARY SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC.

IBM. MVS Interactive Problem Control System (IPCS) User's Guide. z/os. Version 2 Release 3 SA

z/os Learning Center: Introduction to ISPF Unit 1: The Basics of ISPF and Data Sets Module 3: ISPF Data Set Basics

* Parameter... 1:18. B Backward References... 5:8 Blocksize: Choosing... 3:19

INTRODUCTION. José Luis Calva 1. José Luis Calva Martínez

z/os Basic Skills Information Center: ISPF Course Module Module 1: Main Features of ISPF

z/os Introduction and Workshop Data Sets

IBM. OMEGAVIEW and OMEGAVIEW II for the Enterprise. Configuring OMEGAVIEW and OMEGAVIEW II for the Enterprise. Tivoli. Version 3.1.

IBM System z Fast Track

RA/2 RACF CLI Version 1 - Release 1

USING EXISTING DATASETS

CA File Master Plus. ISPF User Guide. Release

//JOBNAME JOB //STEPNAME EXEC //DDNAME DD //* comment - upper or lower case /*...end of JCL stream

COMP 3400 Mainframe Administration 1

Achieving Higher Levels of Productivity with IBM ISPF Productivity Tool for z/os IBM Redbooks Solution Guide

TSO/ISPF TIPS By:

IBM InfoSphere Optim for z/os Version 7 Release 2. Batch Utilities

EDITPAGE and SDSFPAGE User Reference Guide

LMS. Laret Melsch Systems

eft213 NetEx/eFT for IBM z/os Systems Release Memo To Users June 2018 MTU-eFT213-R5.4.7

CA Software Change Manager for Mainframe

Functions and CALL Routines

Chapter 2 SYSTEM OVERVIEW. SYS-ED/ Computer Education Techniques, Inc.

CustomPac FTPCSI Utility User Guide

Windows and Commands CHAPTER 19

COMPUTER EDUCATION TECHNIQUES, INC. (JCL ) SA:

In mainframe environment, programs can be executed in batch and online modes. JCL is used for submitting a program for execution in batch mode.

IBM Tivoli Advanced Reporting for DFSMShsm. User s Guide. Version 1 Release 1 SC

IBM System z Fast Track

z/os and DB2 Basics for DB2 for z/os DBA Beginners

CALL CLICK FAX MAIL P.O. Box 1213, New York, NY 10156

IBM. Documentation. IBM Sterling Connect:Direct Process Language. Version 5.3

In This Issue. The Enhanced Editor in QMF 11.2: Highlights. 1st Quarter 2016 Edition

Compute (Bridgend) Ltd

JCL Syntax Running a Simple Job

Interactive System Productivity Facility (ISPF)

Dino Explorer. MVS Data Collector for Mainframe Assessment

Uni Hamburg Mainframe Summit z/os The Mainframe Operating. Part 3 z/os data sets. Introduction to the new mainframe. Chapter 5: Working with data sets

IBM. Candle OMEGAMON Platform. Configuring IBM Tivoli Candle Management Server on z/os. Tivoli. Version 360 GC

IBM. TSO/E REXX User's Guide. z/os. Version 2 Release 3 SA

z/os Learning Center: Introduction to ISPF Unit 1: The Basics of ISPF and data sets Module 4: Working with data sets

Version 2 Release 3. IBM IMS Configuration Manager for z/os User's Guide IBM SC

CustomPac Installation Dialog Message Book Dialog Level:27

Chapter 1 GETTING STARTED. SYS-ED/ Computer Education Techniques, Inc.

Workflow Manager Endevor Attachment

Workflow Manager - ENDEVOR Attachment

IBM. TSO/E System Programming Command Reference. z/os. Version 2 Release 3 SA

Uni Hamburg Mainframe Summit 2010 z/os The Mainframe Operating. Part 6 z/os Concepts

Compute (Bridgend) Ltd

z/os Learning Center: Introduction to ISPF Unit 1: The Basics of ISPF and Data Sets Module 2: The ISPF PDF Primary Options Menu

JCL MOCK TEST JCL MOCK TEST III

CustomPac FTPCSI Utility User Guide


Transporting files between MVS and MVS or between MVS and a Workstation

Product Launch Point (PLP) The Dynamic ISPF Menu Tool

SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (File-AID ) IDX: Page 1

z/os Basic Skills: Introduction to ISPF Unit 3: Using the ISPF utilities Module 3: Using the ISPF move/copy utility

CustomPac FTPCSI Utility User Guide

IBM. DFSMS Using the Interactive Storage Management Facility. z/os. Version 2 Release 3 SC

z/os CSI International 8120 State Route 138 Williamsport, OH

Enterprise Computing Hands On! (ECHO!)

2010/04/19 11:38. Describing a unique product that shows the mainframe in a completely different way.

JCL Utilities. A Access Method Services... 4:8 Alternate Indexes and Paths... 4:5 AMS Commands... 4:8 anyname DD Statement... 9:5

Introduction. Chapter 1: Objectives

Chapter 1 INTRODUCTION. SYS-ED/ Computer Education Techniques, Inc.

Getting Started with Xpediter/Eclipse

IBM. Program Directory for. IBM z Systems Development and Test Environment Tools. V Program Number 5725-G39 FMID HALMB00.

CA OPS/MVS Event Management and Automation

CA Compress Data Compression

Program Directory for IBM z Systems Development and Test Environment Tools

Migrating to Tivoli Decision Support for z/os (TDSz) Version 1.8.2

INNOVATION TECHSUPPORT

Data Center Management Systems

MVS/QuickRef - Tailoring QW

IBM Tivoli Advanced Allocation Management for z/os. User's Guide. Version 3 Release 1 SC

RUNC Easy Commands for the ISPF Edit User

Db2 Query Management Facility Version 12 Release 2. Installing and Managing Db2 QMF for TSO and CICS IBM GC

CA JCLCheck Workload Automation CA RS 1404 Service List

VSAM Management. Overview. z/os. CSI International 8120 State Route 138 Williamsport, OH

Chapter 2 ACCESS METHOD SERVICES. SYS-ED/ Computer Education Techniques, Inc.

Infoprint Server Update for z/os 2.2

Debug Tool: Introduction. Performance Objectives

CA Panvalet. Installation Guide. r14.6. Third Edition

COMP 3400 Mainframe Administration 1

Remote Development Development of a remote applications using Rational Developer for System z V7.5.

STEPLIBs, ISPF, and JES Spool Management: Solving Problems You Thought Were Impossible

The Web Version of this chapter is split into 4 pages - this is page 2 - page contents are as follows:

IBM Student Mainframe Challenge Part Two

IBM InfoSphere Optim for DB2 for z/os Version 7 Release 2. Move Introduction

zsc40 Beyond Legacy Security Paul R. Robichaux NewEra Software, Inc. Thursday, May 9th at 9:00 10:15 am Session Number - zsc40 Location Melrose

Oracle Tuxedo Mainframe Adapter for TCP

Transcription:

Chapter 2 TSO COMMANDS SYS-ED/ Computer Education Techniques, Inc.

Objectives You will learn: Executing TSO commands in READY mode or ISPF. The format of a TSO command - syntax and usage. Allocating a dataset based upon another dataset. Commonly used TSO commands. TSO commands - summary list. SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (TSO/ISPF - 11.3) Ch 2: Page i

1 TSO/E Commands Commands and derivative forms of commands are used for communicating with and managing through TSO/E. TSO/E line mode commands consist of the command name, with optional operands. The command is typically the word which describes the purpose and functionality of the command. Operands provide specific information. Commands can have two kinds of operands: positional keyword With ISPF screens, commands are entered in a different form by selecting options and entering information in fields. ISPF screens also have their own commands, such as the PF key commands and keys. SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (TSO/ISPF - 11.3) Ch 2: Page 1

1.1 Positional Commands The RENAME command changes the name of a dataset. The operands are the old dataset name and the new dataset name. When a command has positional operands, they will need to be specified with the command. Positional operands must follow the command in a certain order. With the RENAME command, the old dataset name must be positioned first and the new dataset name must be positioned second. RENAME FILE1.DATA FILE2.DATA FILE1.DATA FILE2.DATA operand1 operand2 1.2 Keyword Commands Keyword operands are names or symbols that have a specific meaning to the system. They can be in any order, but cannot appear before positional operands. The ALLOC command can utilize the DATASET keyword. The word DATASET is a keyword that is followed by the name of the dataset enclosed within parentheses. ALLOC DATASET(ABC.DATA) SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (TSO/ISPF - 11.3) Ch 2: Page 2

The syntax rules for TSO commands are: The command name must always be first. 2 Syntax and Usage Rules Positional operands must follow next after the command. o If there is more than one positional operand, the operands must be in a particular order. Keyword operands, when utilized, can be in any order after positional operands. o If more than one item is within the parentheses following a keyword, the items must be separated by a comma or a space. TSO/E commands can be entered: After the READY message. From the ISPF COMMAND option: option 6. 2.1 Entering Commands On any ISPF/PDF panel by typing the TSO/E command on the COMMAND or OPTION line preceded by TSO. SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (TSO/ISPF - 11.3) Ch 2: Page 3

3 Dataset - Types TSO/E utilizes and manages both sequential datasets and partitioned datasets. The content of a sequential dataset resides in a single file in sequential order. These files can have one or more names separated by periods such as BILLS, or CURRENT.BILLS, or MY.CURRENT.BILLS. This listing is an example of a dataset. 00001 1/04 Groceries $42.21 Paid 00002 1/05 Gasoline $18.00 Paid 00003 1/13 Towing charge $25.00 Unpaid 00004 1/14 Snow tires $70.95 Unpaid 00005 1/16 Groceries $67.14 Paid 00006 1/16 Gas and electric $112.52 Unpaid 00007 1/17 Telephone $80.05 Unpaid When the file for bills becomes large and difficult to find information, it can be organized into subcategories. The bills in this file can be divided into 'paid' and 'unpaid'. Two new folders can be created with the new category names. Both folders will remain part of the general category 'bills'. TSO/E manages subdivided files with partitioned datasets, which are referred to as a PDS or a library. A PDS can contain one or more members. As with a sequential dataset, the content is arranged in sequence. Partitioned datasets generally have three names separated by periods and a member name in parentheses. MY.CURRENT.BILLS(PAID) MY.CURRENT.BILLS(UNPAID) SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (TSO/ISPF - 11.3) Ch 2: Page 4

4 Dataset Naming - Rules An IBM z/os mainframe operating system imposes rules for naming datasets. The following rules apply to naming TSO/E datasets: A dataset name consists of one or more parts connected by periods. o Each part is called a qualifier. o Each qualifier must begin with an alphabetic character (A to Z) or the special character @, #, or $. o The remaining characters in each qualifier can be alphabetic, special, or numeric (0 to 9) characters. o Each qualifier must be 1 to 8 characters in length. The maximum length of a complete dataset name before specifying a member name is 44 characters, including the periods. 4.1 Dataset Naming Conventions In addition to the rules, there are naming conventions for defining a dataset to ISPF/PDF. Conventions provide standards that make it easier to use TSO/E whether in ISPF/PDF or in line mode TSO/E. Both sequential and partitioned dataset names should consist of three qualifiers. First qualifier PROJECT Is the prefix as specified by the PROFILE command? Sometimes a prefix will be a TSO/E user ID. Second qualifier GROUP Can be any meaningful name. Third qualifier TYPE Description of the type of information in the dataset such as data, text, or the name of a programming language. An ISPF/PDF dataset with a member: PROJECT ===> myid GROUP ===> claims TYPE ===> data MEMBER ===> feb SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (TSO/ISPF - 11.3) Ch 2: Page 5

5 Dataset Allocation - Based on an Existing Dataset The syntax of the ALLOCATE command provides for specifying a large number of dataset attributes. Accordingly, allocating a dataset based upon an existing dataset is convenient and useful. A dataset can be created and named PREFIX.NEWTEST.DATA with the same attributes as the one named PREFIX.TEST.DATA. After the READY message enter: ALLOCATE DATASET(newtest.data) LIKE(test.data) The word prefix has not been included as the first qualifier. TSO/E assumes that the prefix is the first qualifier unless the dataset is placed within single quotes. After the READY message enter: ALLOCATE DATASET('prefix.newtest.data') LIKE('prefix.test.data') This syntax is also correct and will create the identical dataset. SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (TSO/ISPF - 11.3) Ch 2: Page 6

6 Commands 6.1 LISTCAT Command It is a common practice to examine datasets. The datasets will have the user's prefix as the first qualifier. The LISTCAT command is used to display a list of datasets: LISTCAT The LISTCAT command provides functionality comparable to the DIR command used in Microsoft Windows on Intel-based microcomputers. 6.2 DELETE Command The DELETE command is used for deleting one or more dataset entries or one or more members of a partitioned dataset. The catalog entry for a partitioned dataset is removed only when the entire partitioned dataset is deleted. The system deletes a member of a partitioned dataset by removing the member name from the directory of the partitioned dataset. The command should be used with caution. The syntax of the command is: DELETE dsname Depending on the installation, there may be a prompt as part of performing the delete operation. DELETE MYDATA.DATA or DELETE MYID.MYDATA.DATA SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (TSO/ISPF - 11.3) Ch 2: Page 7

6.3 LISTDS Command The LISTDS command is used to display the attributes of specified datasets at a terminal. Depending upon whether the dataset is VSAM or non-vsam, the LISTDS command will work differently. Entering the LISTDS command without operands will indicate whether a dataset is VSAM or non-vsam. A VSAM dataset causes the LISTDS command to display only the dataset organization, DSORG, which is VSAM. The LISTCAT command is used to obtain more information about a VSAM dataset. The following information can be obtained about non-vsam datasets: The volume serial number of the DASD volume on which the dataset resides. The LRECL: logical record length. The BLKSIZE block size. The RECFM record format. The DSORG dataset organization - o o o o o o PS for sequential PO for partitioned IS for indexed sequential DA for direct access VSAM for VSAM data entries ** for unspecified SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (TSO/ISPF - 11.3) Ch 2: Page 8

6.4 SEND Command The SEND command or the SEND subcommand of EDIT can be used for sending a message to anyone at the following destinations: One or more users. An operator specified by route code. An operator console specified by name. SEND can be used to send a message from one user to another user. By default, when the SEND command is issued with the NOW operand, the message is displayed on the recipient's screen if he or she is logged on and receiving messages. If the receiver is not logged on or is not receiving messages, the message is deleted and a message is generated stating why the message has not been displayed. The syntax of the command is: SEND message USER(userid) SEND HELLO WORLD USER(B300) SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (TSO/ISPF - 11.3) Ch 2: Page 9

6.5 TSO E/Commands - Summary Command ALLOCATE ALTLIB ATTRIB CALL CANCEL DELETE EDIT END EXEC EXECUTIL FREE HELP LINK LISTALC LISTBC LISTCAT LISTDS LOADGO LOGOFF LOGON OUTDES OUTPUT PRINTDS PROFILE PROTECT RECEIVE RENAME RUN SEND SMCOPY SMFIND SMPUT STATUS SUBMIT Function Dynamically allocates datasets. Defines alternative application-level libraries of REXX EXECs or CLISTs. Builds a list of attributes for non-vsam datasets. Loads and executes a program. Ends the processing of batch jobs submitted at a terminal. Deletes dataset entries or members of a partitioned dataset. Creates, modifies, stores, submits, retrieves, and deletes datasets. There are also EDIT subcommands. Ends a CLIST. Executes a CLIST or REXX exec. Changes various characteristics that control how REXX execs run in the TSO/E address space only. Releases previously allocated datasets, changes the output of a SYSOUT dataset, deletes attribute lists, or changes dataset disposition. Provides information about the function, syntax, and operands of commands and subcommands and information about certain messages. Invokes the linkage editor service program. Lists datasets that are currently allocated to the TSO/E session. Displays messages of general interest. Lists entries from a catalog by name or entry type. Displays attributes of datasets. Loads a compiled or assembled program into real storage and begins execution. Ends the terminal session. Starts a terminal session. Creates or reuses dynamic output descriptors. Directs output from a job at a terminal or to a specific dataset; deletes the output, changes output class, routes output to a remote workstation, or releases the output for a job for printing by the subsystem. Formats and prints datasets on any printer defined to JES. Changes or lists a user profile. Prevents unauthorized access to non-vsam datasets. Retrieves transmitted files and restores them to their original format. Changes the name of a non-vsam cataloged dataset, changes the member name of a partitioned dataset, or creates an alias for a partitioned dataset member. Compiles, loads, and executes the source statements in a dataset. Sends a message to another terminal user or to the system operator. Copies all or part of a stream or dataset to another stream or dataset. Locates a string of characters in a stream. Places a string of characters in a stream. Displays the status of a job. Submits one or more batch jobs for processing. SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (TSO/ISPF - 11.3) Ch 2: Page 10

Command TERMINAL TEST TIME TRANSMIT TSOEXEC TSOLIB WHEN Function Lists or changes operating characteristics of the terminal. Tests a program or command processor written in Assembler language. Displays CPU and session time, total service units used, local time of day and date. Sends information, such as a message or a copy of information in a dataset, to another user in the network. Invokes an authorized command from an unauthorized environment. Dynamically links to different versions of load module libraries from within a user's TSO/E session. Tests return codes from programs invoked from an immediately preceding CALL or LOADGO command, and to take prescribed action if the return code meets a specified condition. SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (TSO/ISPF - 11.3) Ch 2: Page 11