Professional Documents
Culture Documents
Reference Manual
Release 7.2
ii XPEDITER/TSO and XPEDITER/IMS Reference Manual
This document and the product referenced in it are subject to the following legends:
Copyright 1996-2003 Compuware Corporation. All rights reserved. Unpublished rights reserved under the
Copyright Laws of the United States.
This product contains confidential information and trade secrets of Compuware Corporation. Use,
disclosure, or reproduction is prohibited without the prior express written permission of Compuware
Corporation. Access is limited to authorized users. Use of this product is subject to the terms and
conditions of the user's License Agreement with Compuware Corporation.
XPEDITER, Code Coverage, File-AID, Abend-AID, FrontLine, and Compuware Shared Services are
trademarks or registered trademarks of Compuware Corporation.
IBM, CICS, and DB2 are trademarks of International Business Machines Corporation.
CA-MIM, CA-ROSCOE, ENDEVOR, LIBRARIAN, PANEXEC, and PANVALET are trademarks or registered
trademarks of Computer Associates International, Inc.
Adobe ® Acrobat ® Reader copyright © 1987-2002 Adobe Systems Incorporated. All rights reserved.
Adobe and Acrobat are trademarks of Adobe Systems Incorporated.
All other company and product names are trademarks or registered trademarks of their respective owners.
Doc. CWXTRX7C
December 27, 2002
iii
Contents
Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Summary of Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xiii
What’s New in Release 7.2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xiii
What’s New in Release 7.1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Accessing Other Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
About This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Notation Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Common Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
Reading the Syntax Diagrams. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
Related Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
Documentation Availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii
FrontLine Support Web Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii
Online Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii
World Wide Web . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii
Getting Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–3
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–4
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–6
ALLOCATE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–7
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–7
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–8
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–8
AT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–9
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–9
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–9
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–9
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–10
BEFORE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–10
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–10
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–10
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–11
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–13
BOTTOM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–14
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–14
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–14
BROWSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–14
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–14
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–14
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–15
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–15
CCHILITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–15
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–15
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–16
CONNECT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–18
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–18
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–18
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–19
COUNT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–19
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–19
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–19
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–20
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–21
COVER. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–22
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–22
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–22
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–22
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–23
DOWN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–6
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–6
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–7
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–7
DRIGHT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–7
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–7
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–8
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–8
DROP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–9
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–9
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–9
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–9
END. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–11
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–11
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–11
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–11
EXCLUDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–12
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–12
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–12
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–13
EXIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–13
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–13
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–13
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–14
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–20
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–21
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–22
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–22
GOBACK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–23
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–23
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–23
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–23
GOTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–23
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–23
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–23
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–23
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–24
GPREGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–25
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–25
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–25
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–25
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–25
HELP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–27
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–27
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–27
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–27
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–17
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–17
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–17
REVERSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–17
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–17
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–18
Steps in Using REVERSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–18
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–18
RIGHT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–19
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–19
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–19
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–20
RUN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–20
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–20
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–20
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–20
SCRNSAVE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–21
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–21
SET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–21
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–21
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–35
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–35
SHOW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–36
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–36
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–36
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–39
SKIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–46
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–46
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–46
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–47
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–48
SOURCE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–48
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–48
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–48
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–49
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–49
STATUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–50
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–50
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–50
T (Template) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–51
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–51
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–52
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–52
TEST. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–52
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–52
Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–52
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–53
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–2
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–2
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–3
TSO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–4
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–4
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–4
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–4
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–4
UP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–5
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–5
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–5
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–5
USE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–6
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–6
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–6
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–7
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–7
USING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–7
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–7
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–7
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–8
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–8
VERIFY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–10
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–10
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–10
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–11
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–11
WHEN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–12
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–12
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–13
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–13
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–14
WHEREIS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–15
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–15
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–15
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–15
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–16
WS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–16
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–16
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–16
XCHANGE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–17
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–17
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–17
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–17
XPED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–18
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–18
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–18
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–18
: (Colon) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–19
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–19
Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–19
Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–19
x XPEDITER/TSO and XPEDITER/IMS Reference Manual
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . G–1
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .I–1
xi
Figures
2-1. The EDIT File List 1 Screen ...................................................................................... 2–8
2-2. Repository Record Selection Screen #1.................................................................. 2–17
2-3. Repository Record Selection Screen #2.................................................................. 2–17
2-4. XPEDITER/TSO Code Coverage Source Display Screen ........................................ 2–18
3-1. Entering the DROP and MEMORY Commands .................................................... 3–10
3-2. Memory Display at Established Address................................................................ 3–10
3-3. Restoring the Original DSECT Address.................................................................. 3–11
4-1. Using the F Line Command to Reshow Excluded Lines ......................................... 4–1
4-2. Result of Entering the F Line Command................................................................. 4–2
4-3. File-AID for DB2 Primary Option Menu.................................................................. 4–4
4-4. Using the FADB2 EXPLAIN Line Command ........................................................... 4–6
4-5. SQL Source Analysis Screen ..................................................................................... 4–7
4-6. Using the FADB2 EXPLAIN Line Command ........................................................... 4–7
4-7. SQL Source Analysis Screen ..................................................................................... 4–8
4-8. Result of Finding the Data-Name SUBS................................................................. 4–14
4-9. Result of Finding String B010 IN PARAGRAPH..................................................... 4–14
4-10. Expanding an EXEC Statement Using the G Line Command .............................. 4–17
4-11. Result of Entering the G Line Command.............................................................. 4–17
4-12. Entering GEN as a Line Command ....................................................................... 4–17
4-13. Result of Expanding Macros Using the GEN Command ...................................... 4–18
4-14. Entering the GETMAIN Command ....................................................................... 4–20
4-15. Result of Executing the GETMAIN Command...................................................... 4–20
4-16. Example of Typing Over the Contents of a Register ............................................. 4–26
4-17. Result of Typing Over Contents of Register 12 with Register 6 ............................ 4–26
4-18. Entering a Decimal Number into a Register.......................................................... 4–26
4-19. Doubling the Value of a Register........................................................................... 4–27
5-1. Entering an IF Conditional Expression in a COBOL Program ................................ 5–2
5-2. Entering an IF Conditional Expression in a PL/I Program...................................... 5–2
5-3. Entering an IF Conditional Expression in an Assembler Program.......................... 5–2
5-4. Entering an IF Conditional Expression in a C Language Program ......................... 5–3
5-5. Result of Entering the I Line Command ................................................................. 5–7
5-6. Inserting a Program Fix ........................................................................................... 5–7
5-7. Intercepting TRITSTA and Showing Breaks........................................................... 5–14
5-8. Keeping Labeled Dependent USINGs .................................................................... 5–19
5-9. Example of Keeping a Table Sub-element ............................................................. 5–21
5-10. Displaying a Table in the Keep Window............................................................... 5–23
5-11. Example of Keeping an Array Element.................................................................. 5–24
5-12. Using the L Line Command to Reshow Excluded Lines ....................................... 5–26
5-13. Result of Entering the L Line Command .............................................................. 5–26
5-14. LINE OFFSET Format on the Source Screen .......................................................... 5–30
5-15. LINE 24 Format on the Memory Screen................................................................ 5–30
5-16. Result of Entering the MEMORY Command......................................................... 5–35
5-17. Memory Screen Showing Pointer Qualification.................................................... 5–36
6-1. COBOL Example of Inserted Code Using PAUSE.................................................... 6–2
6-2. Result of Creating a Breakpoint Using PAUSE in Inserted Code ............................ 6–2
6-3. PL/I Example of Inserted Code Using PAUSE.......................................................... 6–3
6-4. Result of Creating a Breakpoint Using PAUSE in Inserted Code ............................ 6–3
6-5. Assembler Example of Inserted Code Using PAUSE................................................ 6–3
6-6. Result of Creating a Breakpoint Using PAUSE in Inserted Code ............................ 6–4
6-7. C Language Example of Inserted Code Using PAUSE ............................................. 6–4
6-8. Result of Creating a Breakpoint Using PAUSE in Inserted Code ............................ 6–5
6-9. Source for PEEK Examples ....................................................................................... 6–6
6-10. Result of Entering PEEK on a GROUP-ITEM ........................................................... 6–7
6-11. Example of Entering PEEKE on a GROUP-ITEM ..................................................... 6–7
6-12. Result of Entering PEEK ELEMENT-2 or PEEKE ELEMENT-2 .................................. 6–7
6-13. Source for E Line Command Example .................................................................... 6–7
xii XPEDITER/TSO and XPEDITER/IMS Reference Manual
XPEDITER is a testing and debugging tool for COBOL, Assembler, PL/I, and C programs
that run in TSO (both interactive and batch), IMS, CICS, and ROSCOE environments.
XPEDITER simplifies the tasks of testing and debugging by giving programmers complete
control over the execution of their programs at the source code level without requiring
source or object code changes.
Summary of Changes
This section includes brief descriptions of the changes to XPEDITER/TSO and
XPEDITER/IMS for Release 7.2. For those updating directly from Release 7.0, changes
made for Release 7.1 are also summarized.
Additional Enhancements
IMS/VS Quickstart for DLI
XPEDITER will read your JCL’s IMS PARM string for APARM information and pass it to the
test, unless overridden in XPEDITER’s IMS setup panel. If the DLI test includes DB2,
XPEDITER can obtain the DB2 plan name and system name from the DDITV02 file.
C Language KEEPE/PEEKE
XPEDITER’s KEEPE and PEEKE commands have been extended to C programs, making it
easier to navigate variable content.
SMP/E Delivery
Delivery and maintenance of XPEDITER/TSO and XPEDITER/IMS is now performed using
IBM’s System Modification Program Extended (SMP/E).
Additional Features:
Direct Access to File-AID/IMS:
Compuware’s powerful File-AID/IMS product is now directly accessible with a new
Primary Menu selection.
Introduction I nt ro
Intended Audience
This manual is written for application programmers engaged in program development
and maintenance. A working knowledge of COBOL, Assembler, PL/I, C language, and
your local system environment is assumed.
Notation Rules
• Uppercase characters are used in text for commands, keywords, and function keys.
• Screen titles appear in text with initial capitals.
• Information that the user enters is shown in boldface.
• Screen information quoted in the text is shown in boldface.
• Occasional dataset and library member names are shown in boldface type for
emphasis.
• Valid abbreviated forms of primary commands and keywords follow a general rule.
– Long abbreviations consist of the first three characters, except where a longer
abbreviation is more meaningful. For example, the abbreviation of the keyword
STATEMENT is STATE.
– Short abbreviations consist of the first character, except where another character
better represents the word. For example, the short abbreviation of the primary
command EXCLUDE is X.
xviii XPEDITER/TSO and XPEDITER/IMS Reference Manual
– Where the single character abbreviation would be the same for two commands,
the less frequently used command has only a long abbreviated form.
• Commands are not case sensitive; they can be typed in all lowercase in the command
area.
VisualAge PL/I:
The compiler for VisualAge PL/I is somewhat different in the way it handles certain
aspects of the language. One such difference involves the method by which statements
are identified. Traditionally, each PL/I statement was given a unique statement number
for identification in the various elements of the compiler output. Under VisualAge PL/I
compilation, however, the identification is less finite, with only the file and line number
being used to discern between language constructs.
Because this mechanism is somewhat awkward when using XPEDITER, the Compuware
Language Processor instead associates each file and line number combination with a
single sequential line number. It is this generated line number which is used by
XPEDITER with VisualAge PL/I programs as the replacement notation for statement
number under previous PL/I compilers.
Common Parameters
location
A place where breakpoints can be set or deleted. You can specify a valid location list
separated by spaces or commas, or a range; e.g., statement-number THRU statement-
number. THRU is a required keyword when a range is specified.
Valid locations are:
COBOL
statement-number paragraph-name program-name
module-name ALL STATE ALL PARA
ALL PROG
PL/1
statement-number label-name procedure-name
module-name ALL STATE ALL LABELS
ALL PROC
Assembler
statement-number address +/- offset address-
expression module-name label-name
ALL STATE ALL LABELS
C Language
line-number label-name function-name
module-name ALL STATE ALL LABELS
ALL FUNC
statement-number
A program statement number.
Introduction xix
line-number
A SEQNBR of a line in the compile listing.
label-name
The entry in the name field of an Assembler or PL/I language statement.
label-name
The entry in the name field of a C language line.
paragraph-name
A COBOL paragraph name in the current module.
CSECT-name
An Assembler CSECT name in the current module. A colon (:) is used to delimit
procedure names.
procedure-name
A PL/I procedure name in the current module.
function-name
A C language function name in the current module.
data
A COBOL data-name or data item.
An Assembler data-label or register (Rn).
A PL/I variable.
An IBM C variable-name.
CSR
The cursor. When valid, put the cursor on a data-item variable, data-label, or register
and press an assigned PF key, or type the command on the command line.
literal
Signed or unsigned integer or floating point number, alphanumeric string (' '),
hexadecimal string (X' '), or figurative constant (spaces, zeros, high-values, or low-
values).
program-name
The name of the module or the subroutine to be tested.
module-name
The name of a module or CSECT. If you are calling a module in the current load
module, enter the module-name followed by a single colon (:). If the called module is
not in the current load module, the module-name must be preceded by the load
module name and double colons (::) and followed by a single colon (:). For example:
BEFORE TRIMAIN::TRISUB:
address
A 24- or 31-bit address.
+ offset
An area in storage relative to the beginning of the area. The plus (+) sign must be
followed by a valid hexadecimal number.
address-expression
A symbolic address, +/- calc, or absolute address.
xx XPEDITER/TSO and XPEDITER/IMS Reference Manual
symbolic address
An address expressed by Rn? or Rn% indirect addressing.
conditional-expression
Any valid XPEDITER/TSO-supported expression that compares the relationship of
two items, tests the truth value of a specified condition, or checks when a program
variable changes value. Subsequent action of the program is dependent on the result.
The following standard operators are valid:
Rn
A general-purpose register, where n is a positive integer.
percent sign (%)
Indirect addressing in 24-bit mode. It is indicated by the general-purpose register
number followed by the percent (%) sign; e.g., AFTER R10%.
question mark (?)
Indirect addressing in 31-bit mode. It is indicated by the general-purpose register
number followed by the question mark (?); e.g., AFTER R11?.
+/- calc
Relative addressing. This feature can be used with any valid hexadecimal offset,
register, and the Rn? or Rn% indirect addressing feature; e.g., AFTER R12%+3E.
• All KEYWORDs are shown in uppercase characters and must be spelled exactly as
shown. You cannot substitute another value. If any part of a KEYWORD is shown in
lowercase characters, that part is optional.
• Variables are user-specified values and are printed in lowercase italics. For example,
dataset-name indicates you are to substitute a value.
The syntax for commands is described in diagrams that help you visualize parameter use.
The following example shows a command and a parameter:
COMMAND parameter
Read the diagrams from left to right and from top to bottom. These symbols help you
follow the path of the syntax:
Required parameters appear on the horizontal line (the main path). Optional parameters
appear below the main path. Default parameters appear above the main path and are
optional. The command will execute the same whether the default parameter is included
or not.
DEFAULT-KEYWORD
COMMAND REQUIRED-KEYWORD
optional-variable
Vertically stacked parameters are mutually exclusive. If you must choose a parameter, one
item of the stack appears on the main path. If the parameters are optional, the entire
stack appears below the main path. If a parameter in a stack is the default, it appears
above the main path.
DEFAULT-KEYWORD1 default-var1
COMMAND
OPTIONAL-KEYWORD2 optional-var2
OPTIONAL-KEYWORD3 optional-var3
If the same parameters are used with several commands their syntax may be documented
in a separate diagram. In the command syntax, these common parameters are indicated
with separators before and after the parameter name.
COMMAND common-parameter
An arrow returning to the left indicates a repeatable item. If the arrow contains a comma,
separate the repeated items with a comma.
,
COMMAND required-var
Related Publications
The following Compuware documents are also available for use with the XPEDITER/TSO
and XPEDITER/IMS product:
Documentation Availability
FrontLine Support Web Site
You can access online technical support for Compuware products via our FrontLine
support web site. You can read or download documentation, frequently asked questions,
and product fixes, or directly e-mail Compuware with questions or comments. To access
FrontLine, you must first register and obtain a password at
http://frontline.compuware.com.
Online Documentation
Documentation for this product is provided on CD-ROM in several electronic formats.
PDF files can be viewed with the free Adobe Acrobat Reader, available at
http://www.adobe.com. HTML files can be viewed with any standard web browser.
BookManager softcopy files can be viewed with any version of IBM BookManager READ
or the IBM Softcopy Reader. To learn more about BookManager or download the free
Softcopy Reader, go to http://www.ibm.com.
Introduction xxiii
Getting Help
At Compuware, we strive to make our products and documentation the best in the
industry. Feedback from our customers helps us to maintain our quality standards.
For problems encountered before bringing up your program (front end problems):
Chapter 1.
Overview C ha p 1
XPEDITER/TSO commands are used to interactively test and debug your programs and to
perform other functions associated with your test session.
Some XPEDITER/TSO commands are primary commands that must be entered on the
command line. Many of these primary commands will also have a corresponding line
command that can be entered in the designated line command area on a screen.
In this manual, primary commands are combined with their corresponding line
commands and discussed together. There are, however, several line commands without
corresponding primary commands. All commands are listed alphabetically.
Command Categories
Debugging commands can be categorized as follows (some commands fit within more
than one category):
Breakpoint Commands
Utility Commands
Command Processing
In interactive mode, the results of command execution are immediately visible on the
source display.
The primary command area can be extended up to three lines by using the SET CMDSIZE
command. The previous primary command can be recalled by entering a question mark
(?).
Overview 1-3
You can also type more than one breakpoint line command on a single line.
Combinations can include the A (AFTER), B (BEFORE), C (COUNT), and T (TRACE)
commands. For example, you can enter BCA to set before, count, and after breakpoints
on a single line, or TAC to set trace, after, and count breakpoints on that line.
Combine the D (DELETE) line command with a qualifying operand to reset a specific
function or delete an existing breakpoint. For example, enter DK to delete a keep display,
DA to delete an after breakpoint, or DAB to delete both after and before breakpoints.
If the S (SKIP) line command is entered on the same line with other line commands, only
the S command will be processed. The other commands will be ignored.
If you enter some other invalid combination of line commands, XPEDITER/TSO will issue
an error message.
XPEDITER/TSO records the line command in the log in the same manner as the primary
command. The line command area is interpreted as follows:
• XPEDITER/TSO scans the line command area from left to right looking for the first
character that differs from the original line number. If it finds one, it then scans from
the right (if there are characters that have not been scanned), looking for the
rightmost character that is not a blank and different from the original line number.
Next, the modified characters in between are examined for validity.
• The line command must precede any operands.
• The command is parsed until another (different) line command or a blank is
encountered.
• Any number following a line command is interpreted as an operand.
Be careful when using operands with line commands. Some numbers entered in the line
command area may be ignored. Only typed over characters that are different from the
original prefix are interpreted as part of the line command. To avoid ambiguity, follow
the line command operand with a blank.
If a line command is entered incorrectly, the cursor is positioned on the line containing
the error, and the message
If the block form of a line command is used and the paired block is not specified before
pressing Enter, the message
is displayed, and the command is considered to be pending. This means XPEDITER has
detected a line command but not yet processed it. For example, if the block line
command CC is entered on just one line, it will be pending until the matching CC
command is entered on another line. A line command could also be pending if some
other line command entered at the same time has caused an error that must be resolved
before continuing.
PL/I
BEFORE 24
BEFORE TRITSTP:15
Note: See “Load Module Qualification” for information about qualifying procedure
names that are not unique.
You can make an external procedure the qualified procedure using the SOURCE
command. For example, if the qualified external procedure is TRIMAINP and you enter:
SOURCE TRITSTP
TRITSTP becomes the qualified external procedure. You can then set breakpoints and
perform debugging functions in TRITSTP. Alternatively, you can enter:
to make TRITSTP the qualified external procedure with a before breakpoint set at
statement 15 and a Keep window opened for the variable TST_REC in TRITSTP.
The SOURCE command allows you to refer to an external procedure by the CSECT name,
external procedure name, or entry point name if the program is already loaded. You can
also refer to an external procedure by the name of the load module.
For example, to set a before module breakpoint in the external procedure TRIRPTP in
load module MAINPGM, use a combination of load module qualification (::) and module
(external procedure) qualification (:) as shown below:
BEFORE MAINPGM::TRIRPTP:
Load module qualification must also be used when a nonqualified external procedure
name is identical to a nested procedure name in the qualified external procedure.
Overview 1-5
Data Qualification
The following are examples of qualifying variable names when entering XPEDITER/TSO
commands. For example, entering:
KEEP TOTAL_COUNT
KEEP CUST_REC.TOTAL_COUNT
Note that procedure qualification may be necessary if there is a duplicate data name in a
nested procedure.
Entering:
KEEP TRIPROC:CUST_REC.TOTAL_COUNT
KEEP PCB_PTR->IO_AREA
KEEP EDIT_DATA:CUST_REC
KEEP PROCESS_INPUT:EDIT_DATA:CUST_REC
sets a keep at the variable CUST_REC declared in procedure EDIT_DATA that is contained
within procedure PROCESS_INPUT.
COBOL
BEFORE 24
1-6 XPEDITER/TSO and XPEDITER/IMS Reference Manual
BEFORE TRITST:15
Note: See “Load Module Qualification” below for information about qualifying program
names that are not unique.
You can make a separately compiled program the qualified program using the SOURCE
command. For example, if the qualified program is TRIMAIN and you enter:
SOURCE TRITST
TRITST becomes the qualified program. You can then set breakpoints and perform
debugging functions in TRITST. Alternatively, you can enter:
to make TRITST the qualified program with a before breakpoint set at statement 15 and a
Keep window opened for the variable TST-REC in TRITST.
The SOURCE command allows you to refer to a separately compiled program by the
CSECT name or entry name if the program is already loaded. Otherwise, you must refer
to a separately compiled program by the name of the load module.
For example, to set a before module breakpoint in the separately compiled program
TRIRPT in load module MAINPGM, use a combination of load module qualification (::)
and module (program) qualification (:) as shown below:
BEFORE MAINPGM::TRIRPT:
Load module qualification must also be used to refer to a separately compiled program
whose name is identical to a nested program name in the qualified program.
Data Qualification
The following are examples of qualifying data when entering XPEDITER/TSO commands.
For example, entering:
KEEP SIDE-A
sets a keep on the data item SIDE-A in the qualified program. If duplicate variable names
exist in the program, XPEDITER/TSO displays a message, and you will need to qualify the
variable name using data qualification syntax. For example, entering:
Nested program qualification may be necessary if there is a duplicate data name across
nested programs. For example, entering:
KEEP PROCESS-INPUT:EDIT-DATA:WORK-REC
sets a keep at the variable WORK-REC in the program EDIT-DATA that is contained
within the program PROCESS-INPUT.
The following entries are the rules for Assembler, beginning with Module Qualification.
Assembler
BEFORE +21C+E
To use XPEDITER/TSO commands in a module that is not the qualified module, you must
use a single colon (:) to explicitly qualify the module name. For example, if the qualified
module is TRIMAINA and you want to set a before breakpoint to stop before label ZEROIT
in module TRITSTA, the following would be entered:
BEFORE TRITSTA:ZEROIT
You can make a module the qualified module using the SOURCE command. For example,
if the qualified module is TRIMAINA and you enter:
SOURCE TRITSTA
TRITSTA becomes the qualified module. You can then set breakpoints and perform
debugging functions in TRITSTA.
TRITSTA becomes the qualified module with a before breakpoint set at the label ADDIT
and a Keep window opened for the data label TSTREC.
The SOURCE command allows you to refer to a module by the CSECT name or entry
name if the module is already loaded. You can also refer to a module by the name of the
load module if the module is the link-edited entry point in the load module.
For example, to set a before module breakpoint in the TRIRPTA in load module
MAINPGM, use a combination of load module qualification (::) and module qualification
(:) as shown below:
BEFORE MAINPGM::TRIRPTA:
1-8 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Label Qualification
High Level Assembler uses the period (.) notation to refer to a uniquely qualified DSECT
label based on different registers. For example, CUSTOMER.LASTNAME refers to a field,
EMPLOYEE.LASTNAME refers to another field, and both fields use the same DSECT.
The following entries are the rules for C Language, beginning with Module (External
Program) Qualification.
C Language
BEFORE 24
BEFORE TRITSTC:15
Note: Refer to "Load Module Qualification" below for information about qualifying
program names that are not unique.
You can make a separately compiled program the qualified program using the SOURCE
command. For example, if the qualified program is TRIMAINC and you enter:
SOURCE TRITSTC
TRITSTC becomes the qualified program. You can then set breakpoints and perform
debugging functions in TRITSTC. Alternatively, you can enter:
to make TRITSTC the qualified program with a before breakpoint set at line 15 and a Keep
window opened for the variable tst_rec in TRITSTC.
The SOURCE command allows you to refer to a separately compiled program by the
CSECT name or entry name if the program is already loaded. Otherwise, you must refer
to a separately compiled program by the name of the load module.
For example, to set a before module breakpoint in the external function TRIRPTC in load
module MAINPGM, use a combination of load module qualification (::) and module
(external function) qualification (:) as shown below:
BEFORE MAINPGM::TRIRPTC:
Overview 1-9
Load module qualification must also be used when a non-qualified external function
name is identical to a function name in the qualified program.
Data Qualification
The following are examples of qualifying variable names when entering XPEDITER/TSO
commands. For example, entering:
KEEP TOTAL_COUNT
sets a keep at the variable TOTAL_COUNT in the qualified program. If duplicate variable
names exist in the external program, XPEDITER/TSO displays a message and you will
need to qualify the variable name using data qualification syntax.
KEEP CUST_REC.TOTAL_COUNT
Entering:
KEEP TRIFUNC:CUST_REC.TOTAL_COUNT
KEEP PCB_PTR->IO_AREA
KEEP EDIT_DATA:CUST_REC
Chapter 2.
XPEDITER/TSO Commands (AA SNAP - COVER) C ha p 2
AA SNAP
COBOL PL/I Assembler C Language
Description
The AA SNAP command displays an Abend-AID Snapshot report containing context
sensitive diagnostic information about an abend.
This command is valid only if you have OS Abend-AID release 7.0.2 (COBOL and
Assembler) or 8.0.4 (PL/I and C) or above installed at your site.
Note: In order to properly view a Snapshot report, the Abend-AID product must have
been installed with LANGTYP=USAUC on the GLOBAL table. For additional
information, refer to the MVS Abend-AID Reference Manual.
Input
AA SNAP
Usage Notes
ALL Languages
1. The Snapshot report is formatted according to your terminal size (80 or 133) and
written to a temporary dataset called ABENDAID DD. If you want to save the abend
information for printing, you must allocate the ABENDAID DD to a permanent
dataset.
2. When you have finished viewing the Snapshot report, press PF3 or enter END to
return to the source display. Enter BROWSE ABENDAID on the command line of any
run-time screen to redisplay the Snapshot report.
3. Browse the report using the PF7 and PF8 keys to scroll up and down, or view specific
sections of the report using the FIND command.
Examples
ALL Languages
2-2 XPEDITER/TSO and XPEDITER/IMS Reference Manual
1. To display a Snapshot report, enter AA SNAP on the command line of any run-time
screen.
2. You can bypass the Header page and go directly to a specific report section from the
source display. For example, to go directly to the Diagnostic section, enter the
following on the Source screen:
ACCEPT
COBOL
Description
The ACCEPT command assigns a value, retrieved from a preallocated file, to the specified
data item.
Input
ACCEPT identifier
FROM ddname
identifier
A data name defined in the program.
FROM
Required keyword before entering a ddname.
ddname
The preallocated file from which the data item receives its value. The file must be
sequential, a PDS member, or the terminal, and either fixed or variable blocked. The
default is SYSIN.
Usage Notes
1. Each time an ACCEPT command is issued, the next record within the file is retrieved
and assigned to the data item. However, the last record is repeatedly assigned if
ACCEPT commands are issued for the same ddname in excess of the records in the
file.
2. If FROM ddname is omitted, XPEDITER/TSO assumes the default ddname of SYSIN. If
the ddname is allocated to the terminal, XPEDITER prompts the user for input.
3. The file allocated to the ddname identifier cannot be used by a READ or WRITE
statement in the same program.
4. If the length of the data assigned is less than that of the alphanumeric data item, the
data is left-justified.
If the length of the data assigned is less than that of the numeric data item, the data
is right-justified and padded with zeros.
5. The value of identifier can specify a relative displacement and length modifier; that is,
it can be a substring of a data item.
XPEDITER/TSO Commands (AA SNAP - COVER) 2-3
6. All files opened by XPEDITER/TSO when ACCEPT commands are issued are closed
with either a RETEST or EXIT command.
Examples
1. To assign a value to the data item WORK-REC from the file allocated to the ddname
INITFILE, enter the following on the command line:
2. To assign a value to the data item WORK-REC when the ddname defaults to SYSIN,
enter the following on the command line:
ACCEPT WORK-REC
AFTER
COBOL PL/I Assembler C Language
Description
The AFTER command sets a breakpoint to pause after the execution of an instruction. The
breakpoint is indicated by an A in column 9 on the Source screen. If the line command
area is expanded for 31-bit mode addressing, the breakpoint indicator is displayed in
column 11 on the source screen.
In an unattended batch test, a record of the AFTER command is written to the log, but
execution is not suspended.
Input
AFTER location
AFT
A
location
A place where breakpoints can be set or deleted. Valid locations are: statement-
number, paragraph-name, ALL STATE, ALL PARA, ALL FUNC, or ALL PROG. You can
2-4 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Usage Notes
ALL Languages
COBOL
1. After a statement means XPEDITER/TSO pauses before execution of the next logical
statement in the same module.
The actual occurrence of the AFTER breakpoint depends on the keyword used:
a. For nonbranching verbs such as MOVE and COMPUTE, execution stops before
the next physical instruction unless the statement is the last one in the
paragraph.
b. For branching verbs, execution stops as follows:
CALL Pauses before the next logical statement in the current module. At a
call to an external program, execution stops after completing the
call. On a call to a nested program, execution pauses on the first
statement of the nested program.
2. After a paragraph means the breakpoint is set after the paragraph name and before the
first instruction in the paragraph. It does not pause after executing all the statements
in the paragraph or section.
XPEDITER/TSO Commands (AA SNAP - COVER) 2-5
3. After a module means the breakpoint is set on all of the GOBACK, EXIT, STOP RUN, or
EXIT PROGRAM statements in the outer or main program, and execution pauses
before control is given back to the calling module. Module names are qualified with
terminating colons.
PL/I
1. An after breakpoint set at a call to an external procedure stops after completing the
call. An after breakpoint set at a call to an internal procedure stops before executing
the first statement in the procedure.
2. Breakpoints can be set only on code lines, not data lines.
3. XPEDITER/TSO sets the breakpoint on the first code statement on the line.
Breakpoints cannot be set at other statements on the same line. Use a GO 1 to stop at
every statement on a line.
4. AFTER PROC_A: (with colon qualification) sets an after module breakpoint at
procedure PROC_A; i.e., the breakpoint is set at the END procedure name and/or
RETURN statement of the procedure.
AFTER PROC_A (without colon) sets an after breakpoint at label PROC_A in the
currently qualified module (external procedure).
5. AFTER LOADMA::PROC_A: sets an after module breakpoint in external procedure
PROC_A in load module LOADMA, whereas, AFTER LOADMB::PROC_A: sets an after
module breakpoint in external procedure PROC_A of load module LOADMB.
Assembler
C Language
1. An after breakpoint set at a call to an external module stops after completing the call.
An after breakpoint set at a call to an internal function stops after executing the first
line in the function.
2-6 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Examples
COBOL
1. To stop after statements 45, 49, 51, 52, and 53 in the current module and after the
paragraph DETERMINE-TYPE in module TRITST, enter:
2. To stop after the paragraph DETERMINE-TYPE in the module TRITST, when TRITST is
contained in more than one load module, you must qualify the module with the load
module if it is not the current one. For example:
AFTER TRISUB::TRITST:DETERMINE-TYPE
AFTER NESTSUB:
PL/I
1. A series of breakpoints can be specified by delimiting each entry with one blank
space and qualifying module names and procedure names with colons. For example,
to stop after statements 30, 32, 36, 37, and 38 in the current module and after
procedure VALIDATE_TRIANGLE: in module TRITSTP, enter:
2. From the current module TRIMAINP, to stop after the procedure DETERMINE_TYPE:
in the module TRITSTP, enter:
AFTER TRITSTP:DETERMINE_TYPE:
AFTER TRISUB::TRITSTP:DETERMINE_TYPE:
AFTER TRIRPTP:
DELETE AFTER
Assembler
XPEDITER/TSO Commands (AA SNAP - COVER) 2-7
1. To stop after the 24-bit address pointed to by the address contained in register 6
(indirect addressing), enter:
AFTER R6%
AFTER TRIRPTA:GOBACK
3. To stop after the GOBACK label in module TRIRPTA, when TRIRPTA is contained in
more than one load module, you must qualify the module with the load module if it
is not the current one. For example:
AFTER TRISUBA::TRIRPTA:GOBACK
DELETE AFTER
5. To stop after offset 0E from the label AGAIN (relative addressing), enter:
AFTER AGAIN+0E
C Language
1. A series of breakpoints can be specified by delimiting each entry with one blank
space and qualifying module names and function names with colons. For example,
to stop after lines 30, 32, 36, 37, and 38 in the current module and after function
VALIDATE_TRIANGLE: in module TRITSTC, enter the following:
2. From the current module TRIMAINC, to stop after the function DETERMINE_TYPE:
in the module TRITSTC, enter the following:
AFTER TRITSTC:DETERMINE_TYPE:
3. To stop after the function DETERMINE_TYPE: in the module TRITSTC, when TRITSTC
is contained in more than one load module, you must qualify the module with the
load module if it is not the current one.
For example:
AFTER TRISUB::TRITSTC:DETERMINE_TYPE:
AFTER TRIRPTC:
5. To remove all after breakpoints in the currently qualified module, enter the
following:
DELETE AFTER
ALLOCATE
COBOL PL/I Assembler C Language
Description
The ALLOCATE command dynamically accesses the file allocation utility (FAU) from the
debugging session. When XPEDITER/TSO detects missing files, you can enter the
2-8 XPEDITER/TSO and XPEDITER/IMS Reference Manual
ALLOCATE command to transfer control to the FAU, allocate the missing files, and then
return directly to the Source screen.
Input
ALLOCATE
ALLOC dsname
dsname
The dataset name of an existing file allocation list. ALLOCATE dsname automatically
accesses the named dataset. If the dataset contains a file list and the allocations are
successful, you will not see any FAU facilities.
If the dataset contains JCL, the FAU is accessed and the JCL dataset is displayed on
the Select DDNAME screen. On this screen, you can select the DD statements to be
copied to the file list.
Usage Notes
ALL Languages
1. If an error occurs during allocation, the Edit File List screen is displayed with an error
message. Correct the problem and enter END to allocate the files.
2. A screen similar to the one illustrated in Figure 2-1 is displayed when you enter the
ALLOCATE command from the Source screen.
See the XPEDITER/TSO and XPEDITER/IMS User’s Guide for detailed information about
the file allocation utility.
Assembler
XPEDITER/TSO Commands (AA SNAP - COVER) 2-9
1. XPEDITER/TSO does not intercept I/Os for Assembler programs. If a file was not
preallocated during the test session, XPEDITER/TSO does not suspend execution or
issue a warning message. Instead, you receive the following system message if TSO
PROFILE WTPMSG is turned on.
2. If input files were allocated to the terminal, XPEDITER/TSO does not prompt you
with the following message:
*** ENTER INPUT RECORD OR /* (AT END) FOR DDNAME XXXXXXXX ***
AT
COBOL PL/I Assembler C Language
Description
The AT command sets a before breakpoint on a sourceless main program or subprogram
(COBOL and Assembler) or a main or fetched procedure (PL/I). This command lets you
test and debug programs that do not have a source listing available, such as old modules
and third party packages.
The AT command can be entered from the Source, Log, Memory, and Show screens. The
AT command is not valid in an unattended batch test.
Input
AT location
location
A place where breakpoints can be set or deleted. See “Common Parameters” on page
xviii for details about location.
Usage Notes
ALL Languages
1. When the AT breakpoint is reached, the AT Display screen shows your program in
dump format. Reissue the AT command to set additional breakpoints.
a. Use the DELETE command to remove specific breakpoints.
b. The AT command can be entered in an initial or post test script.
COBOL
Examples
ALL Languages
AT SAMPLE:
DELETE AT SAMPLE:+3e
3. To set a breakpoint at offset +60 in the subprogram TRITSTA, enter the following:
AT TRITSTA:+60
DELETE AT 45a09e8
BEFORE
COBOL PL/I Assembler C Language
Description
The BEFORE command sets a breakpoint to pause before execution of an instruction. The
breakpoint is indicated by a B in column 9 on the Source screen. If the line command
area is expanded for 31-bit mode addressing, the breakpoint indicator is displayed in
column 11 on the Source screen.
Before breakpoints are automatically set at the PROCEDURE DIVISION (COBOL), each
external function definition (C language), or PROCEDURE (PL/I), and at one or more
ENTRY statements in the main program before a debugging session starts. These
automatic before breakpoints are interpreted as before module breakpoints. All other
before breakpoints are interpreted as before statement breakpoints.
In an unattended batch test, a record of the BEFORE command is written to the log, but
execution is not suspended.
Input
BEFORE location
BEF
B
location
A place where breakpoints can be set or deleted. Valid locations are: statement-
number, paragraph-name, ALL STATE, ALL PARA, ALL FUNC, or ALL PROG. You can
specify a list separated by spaces or commas, or by a range; e.g., statement-number
THRU statement-number. THRU is a required keyword when a range is specified. For
additional information on these parameters, refer to “Notation Rules” on page xvii.
If the primary command line is too small to list breakpoints or to stack commands,
use the SET CMDSIZE command to expand the command line up to three lines.
Usage Notes
ALL Languages
1. Qualification must be used with the BEFORE command when applicable. Refer to
“Command Qualification Rules” on page 1-4.
2. The DELETE command or DB line command is used to remove a before breakpoint.
3. The use of ALL and its keywords sets before breakpoints in the qualified module.
BEFORE ALL with no object keyword defaults to BEFORE ALL STATE. In COBOL,
BEFORE ALL PROG sets the before module breakpoint at every PROCEDURE
DIVISION and ENTRY statement in the current source. In PL/I, BEFORE ALL PROC
sets the before module breakpoint at every procedure within the current external
procedure. In C language, BEFORE ALL FUNC sets a before module breakpoint at
every function within the current, qualified program.
4. When a before breakpoint is encountered, an execution arrow (=====>) is displayed
and the line is highlighted.
5. When a before breakpoint is encountered, all currently kept lines (see “KEEP” on
page 5-14) are updated before control is returned to the terminal. Also, the Keep
window automatically displays the variables on the current line.
6. When a before breakpoint is set, a message reports the number of primary and line
commands successfully completed. However, if an error is encountered, the message
is not displayed until after the error is corrected.
7. The before breakpoint can be set with any or all of the other breakpoint commands
except the SKIP command. When a before breakpoint is set on a line that contains a
skip, the S (Skip) is removed and replaced with a B (Before).
8. When you enter before and after breakpoints on the same statement to pause before
and after the execution of a section of program code, an @ appears in column 9 as an
indicator.
COBOL
2. A series of breakpoints can be specified by delimiting each entry with one blank
space and qualifying module names with colons. For example, entering:
PL/I
1. Before breakpoints can be set only on code lines, not data lines.
2. XPEDITER/TSO sets the breakpoint on the first code statement on the line.
Breakpoints cannot be set at other statements on the same line. Use a GO 1 to stop at
every statement on a line.
3. BEFORE PROC_A: (with colon qualification) sets a before module breakpoint at
procedure PROC_A; i.e., the breakpoint is set at the PROC statement and one or more
ENTRY statements in PROC_A.
BEFORE PROC_A (without colon) sets a before breakpoint at label PROC_A in the
currently qualified module (external procedure).
4. BEFORE LOADMA::PROC_A: sets a before module breakpoint in external procedure
PROC_A in load module LOADMA, whereas, BEFORE LOADMB::PROC_A: sets a
before module breakpoint in external procedure PROC_A of load module LOADMB.
Assembler
1. When an Assembler program is loaded at the start of a test session, a default before
CSECT breakpoint is placed at the link-edited entry or at all unique CSECTs
containing code.
2. B (Before) line commands entered on lines containing the CSECT or START directive
are interpreted as before CSECT breakpoints. B (Before) line commands entered on
lines containing the L R13, 4(R13) instruction followed by the BR R14 instruction are
interpreted as after CSECT breakpoints. The RETURN macro, the CEETERM macro,
and the PR Assembler instruction are also interpreted as after CSECT breakpoints. All
other B line commands are interpreted as before statement breakpoints.
3. If a breakpoint is set within an unexpanded macro (not on the first or last line), a
dollar sign ($) appears in column 9 to indicate a breakpoint. The macro is expanded
for viewing when execution reaches the breakpoint.
4. Relative addressing (+/- calculation factor) and indirect addressing (Rn%/Rn?) are
supported with the BEFORE command.
5. The B line command is valid on any Assembler instruction except the object of an EX
instruction.
6. The B line command cannot be entered on the same line at the same time with any
other line commands except A.
C Language
Examples
COBOL
1. To stop before statements 45, 49, 51, 52, and 53 in the current module, enter the
following:
BEFORE 45 49 51 THRU 53
2. To stop before the paragraph DETERMINE-TYPE in the module TRISUB, enter the
following:
BEFORE TRISUB:DETERMINE-TYPE
3. To set a before breakpoint on all statements in a nested program, enter the following:
BEFORE NESTSUB:ALL
Assembler
1. To stop before offset +21C+E in the current module (relative addressing), enter:
BEFORE +21C+E
BEFORE TRICSECT
BEFORE TRITSTA:VALIDATE
PL/I
1. From the current module TRIMAINP, to stop before the procedure DETERMINE_TYPE:
in the module TRITSTP, enter the following:
BEFORE TRITSTP:DETERMINE_TYPE:
BEFORE TRISUB::TRITSTP:DETERMINE_TYPE:
DELETE BEFORE
C Language
1. From the current module TRIMAINC, to stop before the function DETERMINE_TYPE:,
in the module TRITSTC, enter the following:
BEFORE TRITSTC:DETERMINE_TYPE:
with the load module if it is not the current one. For example, you may enter the
following:
BEFORE TRISUB::TRITSTC:DETERMINE_TYPE:
DELETE BEFORE
BOTTOM
COBOL PL/I Assembler C Language
Description
The BOTTOM command scrolls to the end of the data currently displayed on the screen.
XPEDITER/TSO displays the last available line of data as the second to last line in the
data area. A *** BOTTOM OF MODULE *** indicator appears in the last line of the data
area. This command is the same as the DOWN MAX command. See “DOWN” on page 3-6
for information on the DOWN command.
Input
BOTTOM
BOT
BROWSE
COBOL PL/I Assembler C Language
Description
The BROWSE command displays sequential and PDS files or datasets.
Input
BROWSE ddname
BRO 'dsname'
ddname
The name of a preallocated file. The file must be sequential or a PDS member, and
either fixed or variable blocked.
'dsname'
A fully qualified dataset name enclosed in single quotation marks. XPEDITER/TSO
uses the initial quote to distinguish it from a ddname.
XPEDITER/TSO Commands (AA SNAP - COVER) 2-15
Usage Notes
ALL Languages
END
LOCATE *
SOURCE
Examples
ALL Languages
BROWSE 'TESTCAS1.DATA'
2. To browse a file allocated to the ddname OUTFILE, enter the following on the
command line:
BROWSE OUTFILE
CCHILITE
COBOL PL/I* Assembler
Description
The CCHILITE command is only valid when XPEDITER/Code Coverage is active for the
test. It provides a visual aid via annotation and a high-intensity background to indicate
which lines have or have not been executed. This highlighting can apply to either the
executed or the unexecuted lines of code. In some programming languages (such as
2-16 XPEDITER/TSO and XPEDITER/IMS Reference Manual
COBOL), a statement may occupy more than one source line. Only the executable
portion will be highlighted/annotated.
Input
CCHILITE option
ON
Highlighting is based only on the current execution data. All unexecuted verbs will
be highlighted and annotated with the letter U. Executed verbs will be annotated
with the letter E, but not highlighted. This will affect all current modules for which
there is source at the time CCHILITE is issued.
OFF
Turns off all Code Coverage highlighting.
TOGGLE
The current setting for highlighting, and the corresponding annotation, will be
reversed. If unexecuted verbs had been highlighted and annotated with the letter U
(so executed verbs were lowlighted and annotated with the letter E), then after the
CCHILITE TOGGLE command is issued, all executed verbs will be highlighted and
annotated with the letter E (so unexecuted verbs will be lowlighted and annotated
with the letter U). Note that TOGGLE cannot be issued until highlighting is
activated.
REP
Indicates a request to highlight based on prior XPEDITER/Code Coverage data stored
in the Repository being used for this test. The REP option of CCHILITE requires a
Repository created with XPEDITER/Code Coverage 2.0 or greater. A selection panel
similar to that shown in Figure 2-2 is displayed. You can type in search arguments or
blank out a field to indicate that it should not participate in selection (so all values
for that field are considered matches).
XPEDITER/TSO Commands (AA SNAP - COVER) 2-17
SELECTION CRITERIA:
The SYSTEM name, TESTID, and USERID are initialized to the values from the current
test. You can change them or blank them out on the Repository Record Selection screen
as shown in Figure 2-2. Upon pressing Enter, the Repository is searched for records that
match your search criteria. (The PROGRAM, MODULE, COMPILE DATE, and COMPILE
TIME are taken from the current source and cannot be changed). The records that match
(if any) are returned in a display similar to the one shown in Figure 2-3.
From this screen (Figure 2-3), you may select the Repository records that are to be used to
apply the highlighting/annotation. This will affect the currently displayed Source
Module. (All other modules for which there is source at the time CCHILITE is issued will
be treated as though CCHILITE ON had been issued.)
Note: When highlighting is active, the source display will contain indicators in the title
bar.
2-18 XPEDITER/TSO and XPEDITER/IMS Reference Manual
For an example of active highlighting, refer to the screen shown in Figure 2-4.
In the preceding example shown in Figure 2-4, the title line indicates that the mode is
CODECOVER. This is followed by up to 3 indicator bytes. The first is U (if Unexecuted
lines are highlighted), or E (if Executed lines are highlighted). This indicator will not be
displayed if the source is from an optimized program. The second is H (to indicate that
CCHILITE is on). The third is R if Repository data has been used to apply the
highlighting/annotation for the displayed source.
CONNECT
COBOL PL/I Assembler C Language
Description
The CONNECT command connects a VTAM terminal to a job submitted through
XPEDITER/TSO’s Batch Connect facility. This command lets you monitor a complete job
with multiple steps or a single step job that is not yet ready to be attached.
Use the DISCONNECT command to disconnect the VTAM terminal from the batch job.
Note: The CONNECT command can be entered on any screen except the Source screen
and any screen accessed from the source (Memory, Browse, Log).
Input
CONNECT
nodename NODE
jobname
(jobid)
(jobid)
nodename
The node name associated with the APPLID of the batch job.
NODE
Required keyword following the node name.
XPEDITER/TSO Commands (AA SNAP - COVER) 2-19
jobname
The name of the job to connect to. If jobid is also specified, it must be contained
within parentheses.
(jobid)
The ID of the job to connect to. The jobid must be contained within parentheses.
Usage Notes
ALL Languages
1. If the CONNECT command is entered with no parameters, you will connect to the
next available job that is ready for connection.
2. When a nodename is entered, a single attempt is made to connect to the named node.
(NODE is required.) If the attempt fails or the connection is broken, the command is
terminated.
3. When a jobname is entered without a jobid, all jobs with the specified name are
searched. If there is only one active job with the specified name, a connection is
made. If there is more than one active job with that name, no connection is made
and the command is terminated.
4. When a jobname is entered with a jobid, the specific job is connected if that job is
currently executing or waiting to be executed. The jobid must be contained within
parentheses.
5. When a jobid is specified, the specific job is connected if that job is currently
executing or waiting to be executed. Again, the jobid must be contained within
parentheses.
COUNT
COBOL PL/I Assembler C Language
Description
The COUNT command monitors program execution and reports the number of times a
specified statement or range of statements has been executed. You can also set a
condition to pause execution when the execution count reaches the specified limit. The
count is indicated by a 7-digit counter starting in column 74 on the Source screen.
Input
COUNT location
COU MAX n
C
location
A place where breakpoints can be set or deleted. Valid locations are: statement
number, paragraph name, ALL STATE, ALL PARA, ALL FUNC, or ALL PROG. You can
specify a list separated by spaces or commas, or specify a range; e.g., statement-
number THRU statement-number. THRU is a required keyword when a range is
specified. For additional information on these parameters, refer to “Notation Rules”
on page xvii.
MAX n
Sets a limit on the number of times a statement can be executed, where n is a positive
integer.
Usage Notes
ALL Languages
COBOL
PERFORMs are subject to these compiler paths. The focus of the COUNT command
output should be the execution counts for all statements between the PERFORM and
the END-PERFORM.
PL/I C Language
Assembler
1. A count breakpoint set on an unexpanded macro is incremented each time the first
instruction in the macro is executed.
2. COUNT module-name is not valid.
3. Relative addressing (+/- calculation factor) and indirect addressing (Rn%/Rn?) are
supported with the COUNT command.
4. The C line command is valid on any type of Assembler instruction except the object
of an EX instruction.
5. The C line command cannot be entered on the same line at the same time with any
other line commands.
Examples
ALL Languages
COUNT 42 54 56
2. To maintain counts for all statements in a range, enter the following on the
command line:
COUNT 45 THRU 53
3. To maintain counts for all statements in the current module/procedure, enter the
following on the command line:
COBOL
1. To count all paragraphs in a nested program, enter the following on the command
line:
Assembler
COUNT TRIMAINA:AGAIN
2-22 XPEDITER/TSO and XPEDITER/IMS Reference Manual
COUNT 06AE2
PL/I
COUNT ANALYZE_NEXT_REC:
C Language
1. To maintain a count for the function analyze_next_rec, enter the following on the
command line:
COUNT analyze_next_rec
COVER
COBOL PL/I* Assembler
Description
The COVER command is used in the input command stream (XPIN DD) to activate Code
Coverage for the current test. It is also used to denote a System Name with which to
associate all Code Coverage results recorded during an execution.
Input
system name
A 15-character field used as a “grouping” tag associated with the Code Coverage
results produced during this run. The name may contain embedded blanks, but
cannot be entirely blank.
test ID
A 15-character field used as a secondary “grouping” tag associated with the Code
Coverage results produced during this run. The name may contain embedded blanks,
but cannot be entirely blank.
Usage Notes
1. Code Coverage is activated by entering a Y (Yes) in the Code Coverage Test? field on
the ISPF test panel. This will result in the COVER command being placed in the XPIN
dataset.
XPEDITER/TSO Commands (AA SNAP - COVER) 2-23
2. The COVER command should be placed after the XPED command, but before any
breakpoint commands.
3. If multiple COVER commands are issued, the System Name/Test ID on the last
command is used.
4. The COVER command and all associated parameters are recorded in the log.
Examples
COVER DEPARTMENT 27
2-24 XPEDITER/TSO and XPEDITER/IMS Reference Manual
3-1
Chapter 3.
XPEDITER/TSO Commands (DELETE - EXIT) C ha p 3
DELETE
COBOL PL/I Assembler C Language
Description
The DELETE command turns off the effect of other XPEDITER/TSO commands. Usage
differs for interactive and unattended batch tests.
In an interactive test, the DELETE command without a command keyword removes all
pending line commands. You must enter a keyword to delete a specific command.
In an unattended batch test, you cannot use the DELETE command without a command
keyword.
Input
DELETE
DEL ALL
D AFTer
location
AT
location
BEFore
location
COUnt
location
EXCLude
statement-number
GEN
statement-number
INSert
INTercept
program-name
module-name
Keep
data
CSR
MONitor
module-name
ALL
NOLines
Peek
data
CSR
Skip
location
TRAce
location
VERIFY
location
WHEN
data
conditional-expression
ALL
A keyword that turns off all breakpoints and commands in a module.
location
A place where breakpoints are deleted. Valid locations on breakpoints set by the
AFTER, BEFORE, COUNT, SKIP, TRACE, and VERIFY (Assembler only) commands for
each language are described in “Common Parameters” on page xviii.
You can specify a list separated by spaces or commas, or by a range; e.g., statement-
number THRU statement-number. THRU is a required keyword when a range is
specified. For additional information on these parameters, refer to “Notation Rules”
on page xvii.
statement-number
A valid statement number. You can specify a list of statements separated by spaces or
commas, or by a range; e.g., statement-number THRU statement-number. THRU is a
required keyword when a range is specified.
program-name
The COBOL module or subroutine name. In PL/I or C language, the load module
name or any control section (CSECT) name in the program.
data
A data name, data-item, variable, data-label, or register (Rn).
CSR
The cursor. Deletes a data-item or variable where the cursor is positioned.
module-name
The COBOL or Assembler module being monitored. The name must be followed by a
colon (:). In COBOL, the DELETE MONITOR ALL command deletes the monitoring of
all modules.
conditional-expression
Any valid expression supported by XPEDITER/TSO that compares the relationship of
two items, such as less than or not equal.
Usage Notes
ALL Languages
1. When you remove all breakpoints (including the default breakpoints) and execute a
program, XPEDITER/TSO displays the log and issues the message TEST COMPLETED.
2. When using the DELETE command, qualification must be used when applicable.
Refer to “Command Qualification Rules” on page 1-4 for information.
DLEFT
COBOL PL/I Assembler C Language
Description
The DLEFT command scrolls the data in a Keep or Peek window to the left by the
specified scroll amount. DLEFT is a convenient way to scroll data instead of source while
the cursor is positioned on the command line.
3-4 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Input
DLEFT
n
Data
Half
Max
Page
n
The number of columns to be scrolled. The value can be 1 to 9999.
Data
Scrolls 29 or 79 bytes, depending on screen size.
Half
Scrolls by a half page.
Max
Scrolls completely to the left, so that column one of the data is shown.
Page
Scrolls by one page, 30 or 80 bytes, depending on screen size.
Usage Notes
ALL Languages
1. If the DLEFT command is entered without an operand, the value in the scroll amount
field is used. The contents of the scroll amount field can be changed by typing over
the displayed value. Any value other than Max is remembered until it is changed
again.
2. You can use PF22 and PF23 to scroll the data display field left and right, respectively.
3. Use the LEFT command to scroll the source to the left.
4. The line commands cannot be used to scroll source lines. They only scroll displayed
data either in a Keep window or on the source screen.
5. If the scroll amount is not specified as part of the line command, the value of 1 is
used.
6. The DLEFT command is usually assigned to PF22.
XPEDITER/TSO Commands (DELETE - EXIT) 3-5
DLI
COBOL PL/I Assembler C Language
Description
The DLI command, in the IMS/DB and IMS/DC environments, issues calls to IMS using
the standard IBM CBLTDLI (COBOL), ASMTDLI (Assembler), or Data Language One (DL/I,
for PL/I only) interface. This command can be used to dynamically invoke IMS DB/DC
functions that would normally be coded as CBLTDLI (COBOL), ASMTDLI (Assembler), or
DL/I (PL/I) calls in the application program.
Input
function-code
One of the following codes:
CHKP GU PURG
CHNG GHN REPL
DLET GHU ROLB
GN ISRT SYNC
PCB-n
Program communication block, where n is an integer.
IOPCB
I/O program communication block.
ALTPCB-n
Alternate IOPCB, where n is an integer.
dbdname-n
Database descriptor name, where n is an integer.
parameters
Any of the CBLTDLI (COBOL), ASMTDLI (Assembler), or DL/I (PL/I) parameters.
Usage Notes
ALL Languages
1. If PCB-n is specified, XPEDITER/TSO uses the value to identify the nth database PCB
in the list of PCBs normally passed to the main program as defined by the
application program specification block (PSB).
2. If IOPCB is specified, XPEDITER/TSO uses the message queue PCB.
3. ALTPCB and ALTPCB-1 are equivalent.
3-6 XPEDITER/TSO and XPEDITER/IMS Reference Manual
4. If dbdname-n is specified, XPEDITER/TSO searches the current list of PCBs for the nth
occurrence of the dbdname to be assigned to the identifier. The -n suffix is not
required for the first occurrence of a database in the PSB.
5. XPEDITER/TSO constructs a CBLTDLI (COBOL), ASMTDLI (Assembler), or DL/I (PL/I)
parameter list using the function code, the database or message queue PCB, and any
additional parameters specified with the command. XPEDITER/TSO does not check
to see if the resulting parameter list is semantically correct, but passes your request
directly to IMS. The return code from IMS is displayed in the message area when the
command has been executed.
6. XPEDITER/TSO supports the basic CHKP, but does not support the symbolic CHKP
call.
Examples
ALL Languages
1. To get the next record from the database, enter the following on the command line:
2. To get the next message for this transaction code, enter the following on the
command line:
3. To roll back the databases updated during the session, enter the following on the
command line:
DOWN
COBOL PL/I Assembler C Language
Description
The DOWN command scrolls toward the end of your file or screen display. Scrolling
down rolls the displayed lines upward, bringing the next section of the file into view.
Input
DOWN
n
Csr
Data
Half
Max
Page
n
A number from 1 to 9999 that specifies the number of lines to be scrolled.
Csr
Scrolls based on the current position of the cursor. The line indicated by the cursor is
moved to the top of the screen. If the cursor is not in the body of the data, or if it is
already positioned at the top, a full page scroll occurs.
Data
Scrolls by one logical page less one line. That is, the last line of the previous screen is
presented as the first line of the newly displayed screen.
Half
Scrolls by a half page.
Max
Scrolls to the bottom of the file so that the last full page is displayed.
Page
Scrolls by one full screen.
Usage Notes
ALL Languages
1. If the DOWN command is entered without an operand, the value in the scroll
amount field is used. The contents of the scroll amount field can be changed by
typing over the displayed value. Any value other than Max is remembered until it is
changed again.
2. DOWN is usually assigned to PF8/20.
DRIGHT
COBOL PL/I Assembler C Language
Description
The DRIGHT command scrolls the data in the Keep or Peek window to the right by the
specified scroll amount. DRIGHT is a convenient way to scroll data instead of source
while the cursor is positioned on the command line.
3-8 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Input
DRIGHT
n
Data
Half
Max
Page
n
The number of columns to be scrolled. The value can be 1 to 9999.
Data
Scrolls 29 or 79 bytes, depending on screen size.
Half
Scrolls by a half page.
Max
Scrolls completely to the right, showing the last byte of the data.
Page
Scrolls by one page, 30 or 80 bytes, depending on screen size.
Usage Notes
ALL Languages
1. If the DRIGHT command is entered without an operand, the value in the scroll
amount field is used. The contents of the scroll amount field can be changed by
typing over the displayed value. Any value other than Max is remembered until it is
changed again.
2. You can use PF22 and PF23 to scroll the display field left and right, respectively.
3. Use the RIGHT command to scroll the source to the right.
4. The line commands cannot be used to scroll source lines. They only scroll displayed
data either in a Keep window or on the Source screen.
5. If the scroll amount is not specified as part of the line command, the value of 1 is
used.
6. Scrolling commands are not recorded in the log.
7. The DRIGHT command is usually assigned to PF23.
XPEDITER/TSO Commands (DELETE - EXIT) 3-9
DROP
Assembler
Description
The DROP command releases addressability from a DSECT that was established with the
XPEDITER/TSO USING command. See “USING” on page 7-7 for a description of the
USING command.
Input
DROP
address
dsect-name Rn
Rn
address
The 24- or 31-bit address of a DSECT.
dsect-name
The name of a DSECT.
Rn
The general-purpose register that contains the address used to establish
addressability to the specified DSECT. The permissible values are R0 through R15.
Examples
Examples of valid forms of the DROP command are listed below:
DROP B77418
Figure 3-1 shows an example of entering a DROP command after reassigning the DSECT
address with the USING command.
3-10 XPEDITER/TSO and XPEDITER/IMS Reference Manual
The Keep window shows 0555 in DSECT TSTREC being read from address 00067309 in
register 6. By dropping this DSECT address, TSTREC uses the original address, R2,
established by the source code USING TSTREC,R2.
Figure 3-2 shows the memory display for register 2 at location 67301 as a result of the
MEMORY command entered in Figure 3-1.
The Memory screen shows 0345 at address 00067301 contained in register 2 and 0555 at
address 00067309 contained in register 6.
Figure 3-3 shows the result of entering the DROP TSTREC R6 in Figure 3-1. The original
starting address for DSECT TSTREC is restored.
XPEDITER/TSO Commands (DELETE - EXIT) 3-11
END
COBOL PL/I Assembler C Language
Input
END
Description
The END command terminates the current function and returns to the Source display
screen.
Usage Notes
ALL Languages
EXCLUDE
COBOL PL/I Assembler C Language
The EXCLUDE command suppresses the display of a line or range of lines from the
Source screen. A record of the command is written to the log.
Input
EXCLUDE ALL
EX address1
X THRU address2
offset1
THRU offset2
statement#
THRU statement#
ALL
Keyword used to exclude all statement lines.
address (Assembler)
Address for the range of lines when the line command area indicates 24- or 31-bit
addressing.
offset (Assembler)
Offset for the range of lines when the line command area is offset. Offset is a valid
hexadecimal number preceded by a plus (+) sign.
statement#
A valid statement number. You can also specify a list or a range of statement
numbers.
THRU
Required keyword when excluding a range of statements.
Usage Notes
ALL Languages
1. Excluded lines are replaced on the screen by a single broken line. A message is
displayed noting how many lines were omitted. For example:
Use the NOLINES command to suppress the xx LINES NOT DISPLAYED message.
XPEDITER/TSO Commands (DELETE - EXIT) 3-13
2. The only valid line commands on excluded lines are D (Delete), F (First), Fn, L (Last),
and Ln.
3. Excluded lines can be restored using one of the methods listed below:
– Use the DELETE or RESET command with the EXCLUDE keyword or the END
command to restore all excluded lines throughout the program.
– A pause or trace breakpoint at an excluded line restores that line.
– The FIND, LOCATE, and PEEK commands restore the excluded lines that meet
the search criteria.
– The D line command can be used to restore a block of excluded lines. The Fn or
Ln line commands can be used to restore the first or last n lines from a block of
excluded lines.
4. Use EXCLUDE in the Keep window to show additional kept items or to reduce the
size of the Keep window.
PL/I
1. Use the THRU keyword or the X and XX line commands to reach lines that do not
have statement numbers associated with them.
Examples
1. To remove lines 45 through 55 from the display, enter the following:
EXCLUDE 45 THRU 55
EXIT
COBOL PL/I Assembler C Language
Description
The EXIT command terminates the current test session, closes all files, and returns you to
the appropriate test screen. It is allowed from any screen and from any point in a test. A
record of the command is written to the log.
If the EXIT command is omitted when testing in unattended batch mode, XPEDITER/TSO
determines the end of the test by recognizing either a new TEST or INTERCEPT command
in the BTS environment. When the job consists of a single test and the EXIT command is
omitted, the last XPEDITER/TSO command determines the end of the test.
Input
EXIT
ABEND Unnnn
Snnn
LAST
ABEND
Allows you to request that the step terminate with a particular abend code. If you
specify Unnnn, a USER ABEND nnnn code will be used. If Snnn is specified, a SYSTEM
ABEND nnn code will be used.
3-14 XPEDITER/TSO and XPEDITER/IMS Reference Manual
LAST
Allows you to request that the step completion code reflect the last abend condition
intercepted by XPEDITER during a test session. This will occur even if you corrected
the error condition and permitted the test to run to a normal termination. If the
command is issued outside of an abend script without a prior abend having occurred,
the command will be rejected with the following error message:
NO PRIOR ABEND
The EXIT LAST command is only available in batch. This command is only successful
if a prior abend has occurred.
Usage Notes
ALL Languages
See the section on ISPF support in any of the XPEDITER/TSO and XPEDITER/IMS User
Guides for further details regarding the disposition of log and script datasets.
3. Use the RETEST command within a test session instead of the EXIT command to load
a fresh copy of the load module before starting the next test. Refer to “RETEST” on
page 6-16 for information on the use of the RETEST command in interactive testing.
4. Unlike other databases, DB2 databases tested in the IMS/DB environment are not
committed when the EXIT command is issued. To commit these DB2 databases on
test completion, use the GO command.
5. Terminating a stored procedure test session with the EXIT command will result in an
abend.
COBOL
1. Terminating a test session with the EXIT command while INTERNAL SORT is active
can result in a system abend. To prevent this problem, sort activities must be
terminated before you exit the user program. To terminate a SORT, complete the
following:
MOVE 16 TO SORT-RETURN
GO 1
GOTO <RELEASE statement number> or GOTO <RETURN statement number>
(depending on whether the SORT is active in the INPUT procedure or
the OUTPUT procedure)
GO 1 (Enter GO 1 until you are out of the INPUT or OUTPUT procedure
depending on where the SORT is active. You should be at the
statement after the SORT.)
Assembler
1. If the EXIT command is entered following the execution of a Branch and Stack
(BAKR) instruction without executing a corresponding Program Return (PR)
instruction, an abend will occur during termination processing.
4-1
Chapter 4.
XPEDITER/TSO Commands (FIRST - HELP) C ha p 4
F (First)
COBOL PL/I Assembler C Language
Description
The F (FIRST) line command reshows lines from a block of excluded lines starting with
the first excluded line.
Input
F Line Command Syntax
F - Reshow the first line from a block of excluded lines
Fn - Reshow the first n lines from a block of excluded lines
Usage Note
ALL Languages
1. The F line command is valid only in the line command area on the dashed line that
represents an excluded block of lines. Figure 4-1 shows an example of entering the F
line command. Figure 4-2 shows the result.
000030 01 WORK-REC.
000031 05 SIDE-A PIC 9.
000032 05 SIDE-B PIC 9.
000033 05 SIDE-C PIC 9.
F4 - - - - - - - - - - - - - - - - - 11 LINES NOT DISPLAYED
000045 ANALYZE-NEXT-REC.
000046 READ INFILE INTO WORK-REC
000047 AT END
4-2 XPEDITER/TSO and XPEDITER/IMS Reference Manual
000030 01 WORK-REC.
000031 05 SIDE-A PIC 9.
000032 05 SIDE-B PIC 9.
000033 05 SIDE-C PIC 9.
000034 PROCEDURE DIVISION.
000035 MAIN-PARA.
000036 PERFORM INIT-PARA.
000037 PERFORM ANALYZE-NEXT-REC
- - - - - - - - - - - - - - - - - - - - 7 LINES NOT DISPLAYED
000045 ANALYZE-NEXT-REC.
000046 READ INFILE INTO WORK-REC
000047 AT END
FADB2
COBOL PL/I Assembler C Language
Description
The FADB2 command accesses File-AID for DB2. FADB2 is valid only if XPEDITER for DB2
Extension and File-AID for DB2 release 3.5 or above are installed.
The FADB2 command can be entered with the keyword or one-character number or letter
shown below. Abbreviations are not allowed.
Refer to the File-AID for DB2 Reference Manual for information about using File-AID for DB2.
Input
FADB2
PARMS
0
BROWSE
1
EDIT
2
UTILITY
3
ANALYSIS
4
TUTORIAL
T
EXPLAIN statement-number
HELP
0/PARMS
Displays the User PARMS menu, allowing you to specify the parameters you want to
modify.
1/BROWSE
Lets you display a table or view, either in its entirety or by selected rows.
2/EDIT
Lets you make changes to a table or view.
3/UTILITY
Provides access to various utilities that let you create, populate, authorize, drop,
alter, and obtain information about DB2 objects.
4/ANALYSIS
An interactive tool for SQL source development and analysis, SQL plan analysis, Plan
Table maintenance, and review or printing of a DB2 Explain report.
T/TUTORIAL
Provides online information about File-AID for DB2.
EXPLAIN statement-number (COBOL and PL/I)
Displays and collects information about the execution of SQL statements in your
program. It can be used for SQL statements that contain the DECLARE CURSOR,
DELETE, INSERT, SELECT, or UPDATE verbs. The XP line command performs the
same functions and can also be used for PL/I.
When the FADB2 EXPLAIN command is entered, an SQL EXPLAIN call is executed for
the specified statement and the Explain report is displayed at your terminal.
Note: Only the XP line command can be used for inserted EXEC SQL statements.
The Explain data is also stored in a DB2 table called xyz.Plan_Table, where xyz is the
authorization ID. You can generate reports with this data, using the File-AID for DB2
Reports facility, or view the xyz.Plan_Table with the File-AID for DB2 Browse facility.
Note: The Plan_Table must exist before you use the FADB2 EXPLAIN command or
XP line command.
HELP
Provides online help for negative SQL return codes and messages from XPEDITER for
DB2 Extension.
– Create, Drop, Alter DB2 Objects: Allows you to create and drop six different
DB2 object types: tables, tablespaces, indexes, views, synonyms, and aliases.
Tables, tablespaces, and indexes can be altered. Synonyms and aliases can be
modified.
– Copy Rows Between Tables: Allows you to copy data between tables. All rows
and columns can be copied, or selected rows and columns can be copied.
– Object List: Lets you display object lists and perform functions such as Browse
and Edit.
– SQL Command Manager: Lets you connect with IBM’s SPUFI without leaving
File-AID for DB2.
– Display, Grant, Revoke, or Modify DB2 Privileges: You can easily display,
grant, revoke, or modify privileges for tables, views, plans, and tablespaces by
entering simple mnemonics on a screen.
– Extract and Load Tables: You can extract a table, alias, or view to a dataset, or
load a dataset to a table, alias, or view. Optionally, you can also extract data in
delimited file format. Both ONLINE and BATCH processing are available.
– DBA-XPERT Column Impact Analysis: You can view or print a batch report that
helps you determine the impact of dropping or modifying a column by
identifying views, aliases, synonyms, indexes, plans/packages, and referentially
related columns.
SQL ANALYSIS
The SQL ANALYSIS option is an interactive tool for SQL source development and
analysis. It also serves as an interactive tool for SQL plan analysis, Plan Table
maintenance, and review or printing of a DB2 Explain report.
With the SQL Development and Analysis feature, you can:
– Dynamically execute SQL statements
– Browse and edit the DB2 results table
– Obtain Explain information about how SQL statements will perform
– Obtain help information for any SQL coding errors.
With SQL Plan Analysis, you can explain a plan, DBRM, collection ID, or package. A
rules-based analysis of the Explain is available in plain language. Predicates can be
analyzed to determine if they are indexable, stage I, or both. Based upon the analysis,
recommendations for improving the performance of the SQL are provided.
The print option allows you to review or print a DB2 Explain report from a specified
plan table. The report gives you vital information about the execution of selected
SQL statements in your application program. The DB2 Explain report is also available
when compiling with XPEDITER and Abend-AID.
Plan Table maintenance allows you to delete rows from a plan table.
In addition to ISPF, File-AID for DB2 provides an interface to both CA-Panvalet and
CA-Librarian. The SQL Source Analysis and Development facility can be used to
analyze members stored in either CA-Panvalet or CA-Librarian without the need to
copy the member into a sequential or partitioned dataset.
PRINT
The PRINT option on the Primary Option Menu allows you to print selected data
from a DB2 table or an audit trail dataset. If the audit trail facility is enabled, an audit
trail dataset is created each time an object is edited with File-AID for DB2.
FILE-AID/RDX
The File-AID/RDX (File-AID/Related Data XPERT) option lets you easily extract and
load a complete subset of related DB2 and MVS data. You can copy data related by
referential integrity or application-defined relationships within the DB2 and MVS
environments with full support for all relational constraints.
4-6 XPEDITER/TSO and XPEDITER/IMS Reference Manual
File-AID/RDX gives programmers ISPF-like facilities to create and populate test tables
and datasets that accurately reflect production relationships, yet contain only a
portion of the data, without coding SQL or writing programs. DBAs can migrate
related sets of data from one DB2 subsystem and/or MVS environment to another,
maintaining all parent/child data relationships without extensive manual
procedures.
Relationships defined to File-AID/RDX can be shared with File-AID for DB2’s Related
Table Edit function.
Usage Notes
1. The FADB2 EXPLAIN command can be entered as follows:
– On the primary command line, enter FADB2 EXPLAIN with the SQL statement
number.
– Enter the XP line command on the first line of the SQL statement to be
explained.
2. In the case of a DECLARE statement, the command is performed on the SELECT
portion of the DECLARE statement. If the DECLARE statement is hard coded in
working storage, the XP line command cannot be used. Instead, use the FADB2
EXPLAIN primary command with the statement number.
3. If the UPDATE statement contains a WHERE CURRENT OF clause, the UPDATE
statement will not be explained. It is more meaningful to issue the FADB2 EXPLAIN
command or XP line command on the corresponding DECLARE statement.
4. The FADB2 EXPLAIN command is not supported for the C language.
Examples
1. In Figure 4-4, the XP line command is entered on the EXEC SQL INSERT statement
number 579.
000570 END-EXEC
XP 579 EXEC SQL INSERT INTO VTRIDB2
000580 (SSNR,LASTNAME,FIRSTNAME,STREETADR,CITY,STATE,ZIPCODE,
When the XP line command is entered, File-AID for DB2 is accessed and the SQL
Source Analysis screen shown in Figure 4-5 is displayed.
XPEDITER/TSO Commands (FIRST - HELP) 4-7
Line Commands:
T - Table Information I - Index Information F - Formatted Display
Qblk Plan Access Match Index TS SortN SortC Table Pre Col Mix
CMD No No Method Type Cols Only Lock UJOG UJOG No Fetch Eval Seg
- 1 0 0 0 N IX NNNN NNNN 1 0
Access Access Join Join Table: FLGJXY1.VTRIDB2
Degree Pgroup ID Degree Pgroup ID Index: <NONE>
N/A N/A N/A N/A
******************************* BOTTOM OF DATA *****************************
2. In Figure 4-6, the XP line command is entered on the EXEC SQL DECLARE CURSOR
line.
------
------ /***$$$
XP --- EXEC SQL DECLARE DIRECTORY CURSOR FOR
------ SELECT *
------ FROM VTRIDB2
------ WHERE LASTNAME LIKE :LNAME_WORK
------ AND FIRSTNAME LIKE :FNAME_WORK
When the XP line command is entered, File-AID for DB2 is accessed, and the SQL
Source Analysis screen shown in Figure 4-7 is displayed.
4-8 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Line Commands:
T - Table Information I - Index Information F - Formatted Display
Qblk Plan Access Match Index TS SortN SortC Table Pre Col Mix
CMD No No Method Type Cols Only Lock UJOG UJOG No Fetch Eval Seg
- 1 1 0 R 0 N IS NNNN NNNN 1 S 0
Access Access Join Join Table: FLGJXY1.VTRIDB2
Degree Pgroup ID Degree Pgroup ID Index: <NONE>
N/A N/A N/A N/A
******************************* BOTTOM OF DATA *****************************
FIND
PL/I Assembler C Language
Description
Note: The FIND command for COBOL is described in “FIND” on page 4-10.
The FIND command searches for character and hexadecimal strings in the Source screen
and on other screens during a test session. The FIND command without a keyword
searches for the next occurrence of the string, beginning with the current cursor
location. If the cursor is not in the source display area, scanning begins at the first
displayed line.
Input
NEXT
FIND string
F CSR ALL EXclude
FIRST NOLines
LAST
PREV
string
Any valid character or hexadecimal string. A hexadecimal string must be enclosed in
single quotes and preceded by an X.
CSR
Allows a FIND command to be issued on a string under the cursor position.
XPEDITER/TSO Commands (FIRST - HELP) 4-9
NEXT
The scan starts at the current cursor location and proceeds forward to find the next
occurrence of the target string. This is the default.
ALL
Starting at the top of the data, the scan moves forward to find all occurrences of the
target string. The number of times this string is found is displayed in the message
area.
FIRST
The scan starts at the top of the source code and moves forward to find the first
occurrence of the target string.
LAST
The scan starts at the bottom of the source code and proceeds backwards to find the
last occurrence of the string.
PREV
The scan starts at the current cursor location and proceeds backwards to find the
previous occurrence of the string.
EXclude
Excludes from view all lines not meeting the search criteria.
NOLines
Used with the EXclude keyword, this keyword removes the xx LINES NOT
DISPLAYED message line.
Usage Notes
1. The valid delimiters for character string literals within XPEDITER/TSO are shown
below:
FIND USG
FIND 'US G'
FIND "US G"
FIND X'C1C4E2'
FIND ==USG==
2. The FIND command is supported on the Source, Log, Show, Memory, and Abend-AID
Snapshot report screens.
3. If this command is entered without an operand, the most recent FIND command is
reexecuted. The ISPF RFIND command is not valid during the XPEDITER/TSO test
session.
4. The FIND command is assigned to PF5. FIND CSR is assigned to PF14.
Examples
FIND X'00A3'
4-10 XPEDITER/TSO and XPEDITER/IMS Reference Manual
4. To find all occurrences of INREC and exclude all lines in the current module enter:
FIND
COBOL
Description
The FIND command searches for three data types: strings, data names, and COBOL-
structures. Searching strings lets you search for character strings, searching data names
and their relationships lets you trace data flow, and searching COBOL-structures lets you
capture the underlying logical structure of your program. If the SET LOG FIND ON
command is issued, the results of all data name and COBOL-structure finds will be
written to the log.
Because the FIND command is used to examine COBOL programs, a large number of
COBOL-structure keywords can be used with the command to locate various source lines.
Refer to Appendix A, “COBOL-Structure Keywords” for a list of the COBOL reserved
words associated with each COBOL-structure keyword that can be used with the FIND
command.
Input
COBOL FIND Syntax (Format 1)
FIND string
F data name IN COBOL-structure-keyword ALL
CSR FIRST
NEXT
LAST
PREV
SUBset EXclude
NOLines
XPEDITER/TSO Commands (FIRST - HELP) 4-11
SUBset EXclude
NOLines
ALL
FIND COBOL-structure-keyword
F FIRST SUBset
NEXT
LAST
PREV
EXclude
NOLines
FIND INDirect
F
string
Any character string. The string can be delimited by single quotes, double quotes, or
double equal signs. A delimiter is required when a space is part of the string or if the
string matches any reserved word. A reserved word consists of a keyword of the FIND
command including COBOL-structure keywords.
data name
Any specified data item (that must never be enclosed in quotes) in a program.
CSR
Allows a FIND to be issued on a data name or string under the cursor position. If the
data name contains a qualification(s), the qualification is picked up automatically.
Basically, this is a FIND CSR function similar to the XPEDITER/TSO PEEK CSR
function. The FIND CSR command is usually assigned to PF14.
COBOL-structure-keyword
One of the following keywords: ALTER, BRANCH, CONDITION, CALL, CICS, DLI,
INPUT, IO, OUTPUT, PARAGRAPH, or SQL. See Appendix A, “COBOL-Structure
Keywords” for the source lines to which each keyword refers.
IN COBOL-structure-keyword
Restricts the lines to be searched to source code statements that are defined as part of
the COBOL-structure. The keywords are listed above in COBOL-structure-keyword
and in Appendix A, “COBOL-Structure Keywords”.
4-12 XPEDITER/TSO and XPEDITER/IMS Reference Manual
REFerence
Includes all source code statements referenced by the DEFINE, USE, and MODIFY
keywords.
USE
The source code statements in the Procedure Division that reference the data name,
but do not change its value.
MODify
The source code statements in the Procedure Division that could potentially change
the value of the data name.
DEFine
The Data Division source code statements that reserve storage for the data name. If
ALIAS is also in effect, all storage areas that redefine the data name are included.
ALIas
Includes in the search any other data name that refers to the same storage location,
such as a redefined or group level data name. Note that FILLER is not considered an
alias.
NORedefine
Same search as ALIAS, but does not include redefined data names.
NOAlias
Confines the search to just the data name specified.
DIRect
Finds only those source code lines that directly reference the data name.
INDirect
Indicates, at each entry of the command, the data name, its aliases (if chosen), and
all possible places a data value is passed to or from the data name and its aliases.
Also, directs XPEDITER/TSO to find the next level of indirection—repeat FIND
INDIRECT.
ALL, FIRST, NEXT, LAST, PREV
These keywords specify the direction and starting location of the search and are valid
on any FIND. They can appear in any position in the command, not just at the end.
SUBset
Limits a search to non-excluded lines only. This keyword is valid on any FIND.
EXclude
Excludes from view all lines not meeting the search criteria. This keyword is valid on
any FIND.
NOLines
Used with the EXclude keyword, this keyword removes the xx LINES NOT
DISPLAYED message line. It is valid on any FIND.
Usage Notes
COBOL
XPEDITER/TSO Commands (FIRST - HELP) 4-13
1. FIND is valid without any keywords. The default action is to repeat the previously
entered FIND function. The first string reached is highlighted and the display scrolls
to that line. Subsequent strings are found with the FIND command or with PF5.
2. Only a string FIND command can be used in nested programs.
3. The syntax for the string follows the general conventions for literals discussed
throughout this documentation, with one exception: character strings without
imbedded blanks need not be enclosed in quotes. For example:
FIND USG
FIND 'US G'
FIND "US' G"
FIND X'C1C4E2'
FIND ==USG==
4. If the string is not found anywhere in the scanned data area, a message indicating
this is displayed.
5. When FIND SQL is issued, the EXEC SQL WHENEVER and EXEC SQL DECLARE
statements are currently not highlighted or counted.
6. When FIND data name is used, the data name is highlighted in the line where it
occurs. Periods or parentheses surrounding the data name without intervening
spaces are also highlighted. The message on the message line says:
where n DATA REFS is the total number of references, and n DEF etc. refers to the
number of occurrences of each type of reference. If a particular type of reference is
not found, it is not included in the message. FIND data name does not find data
names that are part of comments. See Figure 4-8 on page 4-14 for an example.
7. When either a data name or a COBOL-structure keyword is entered, the default is
ALL, meaning to find all occurrences. If FIND is entered with a string, the default is
NEXT.
8. The keywords REF, USE, MOD, DEF, ALI, NOA, DIR, and IND are valid only with a
data name.
9. A FILLER data name is not an ALIAS.
10. The keywords REF, USE, MOD, and DEF are mutually exclusive. Only one of the four
can be entered at a time. The keywords ALI, NOR, and NOA are mutually exclusive, as
are DIR and IND. The default for each group, as indicated in the syntax diagram, is
operative on every FIND entered, unless a keyword from each of the three groups is
entered instead.
11. When FIND is issued with the EXCLUDE keyword, the appropriate message is
displayed and the cursor is positioned in the command area. When FIND is issued
without the EXCLUDE keyword, the cursor is positioned on the first data name,
string, or verb.
12. Calls to specific modules can be defined as INPUT, OUTPUT, or IO. If the site installer
or user lists the names of modules that are used for IO purposes on the Primary
Menu, then the only CALL statements found with a FIND IO command will be calls
to the modules listed. FIND INPUT, FIND OUTPUT, and FIND IO only find the CALL
modules listed in the INPUT/OUTPUT Module Definition screen completed at
installation time.
13. Use the SET DATAFIND command to indicate whether the next or all data names are
to be found on the FIND data-name command.
14. The FIND command is assigned to PF5. FIND CSR is assigned to PF14. FIND IND is
assigned to PF17.
4-14 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Examples
COBOL
1. To locate the data name SUBS, enter the following on the command line:
FIND SUBS
The message area indicates the number of times SUBS is referenced in the program.
The data name SUBS is highlighted and the message DEF appears on the right of the
screen.
To find the next occurrence of SUBS, you can press PF5 (repeat FIND), or type FIND
on the command line, move the cursor down past the line in which SUBS is defined,
then press Enter.
2. To locate all references and aliases of the data name N-CNTR, enter the following on
the command line:
3. To locate the string B010 in a paragraph name, enter the following on the command
line:
See Figure 4-9. The FIND string IN COBOL-structure-keyword command lets you focus
on the statement that is of concern, rather than issue several repeat FIND commands.
GEN
COBOL Assembler
Description
When debugging COBOL programs, using the GEN command selectively expands EXEC
DLI and EXEC SQL statements and displays translator-generated statements.
When debugging Assembler programs, use the GEN command to expand macro
instructions.
Input
GEN
address
label-name
offset
statement-number
THRU statement-number
address (Assembler)
The destination for the GEN command when the line command area indicates 24- or
31-bit addressing.
label-name (Assembler)
The entry in the name field of an Assembler language statement.
offset (Assembler)
The destination of the GEN command when the line command area is offset. Offset is
a valid hexadecimal number preceded by a plus (+) sign.
statement-number
Any valid assembler or COBOL EXEC statement number.
You can specify a list separated by spaces or commas, or a range; e.g., statement-
number THRU statement-number. THRU is a required keyword when a range is
specified.
THRU
A required keyword when a range of statements is requested.
4-16 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Usage Notes
COBOL
1. When a GEN command is issued for a statement, the statement appears on the source
code display as code that is commented out. The expanded code generated by the
translator is then displayed on the screen. Any breakpoints on the EXEC statement
appear in the expanded code. After expansion, breakpoints on the commented code
are not allowed, but breakpoints on the expanded code are allowed.
2. If the expanded code is removed with the DELETE command, all breakpoints are reset
to the EXEC statement, which then appears uncommented. The expanded code is no
longer displayed.
3. The G line command must be entered on the line at the start of an EXEC statement.
4. The GG block command must begin and end on the first lines of EXEC statements.
5. The DG line command removes the effects of the G or GG line command.
6. By using SET GEN ON, you can globally expand translated code, but you must enter
it before you load the module in which the statements reside.
Assembler
1. If GEN is entered as a primary command, the statement number or label must point
to the start of a macro instruction. GEN with no parameters expands all macros.
2. If SET GEN is ON prior to loading a program, all macros in the program are
expanded. If you only want to see certain macros, turn SET GEN OFF (default), then
use the GEN command to selectively expand the macro(s).
3. If a DELETE GEN, DELETE GEN keyword, or DG line command is issued, the entire
macro is collapsed. That is, the text defined by this macro or its nested macros is no
longer displayed.
4. If execution is paused in expanded macro code and DELETE GEN is entered, the
expanded lines collapse. The execution status message still points to the nonvisible
instruction. Any breakpoint set within the macro (not on the first or last line) is
indicated in column 9 (or 11 if 31-bit address) with a dollar sign ($). If the macro is
later expanded for viewing, the breakpoint reappears.
5. The G line command is valid only on statements that contain a macro.
6. A block GG command is recorded in the log as:
Examples
COBOL
2. To display a range of EXEC statements, the first at line 55 and the last at 255, enter:
3. To display a single EXEC starting on line 55 in TRITST (a module other than the
current one), enter:
GEN TRITST:55
Assembler
GEN 2287
2. To display a range of statements in TRITSTA (a module other than the current one),
enter:
GEN READLOOP
Figure 4-12 shows an example of entering the GEN command in the line command area
and Figure 4-13 shows the resulting expansion.
GETMAIN
Assembler
Description
The GETMAIN command invokes the GETMAIN macro and allocates virtual storage. At
least one parameter (n, nK, LA= length address, LV= length value) must be specified with the
GETMAIN command. Then, any number of optional parameters can be specified. The
address will be stored in register 1 if no address parameter is specified, and the return
code is stored in register 15. A record of the command is written to the log.
Input
GETMAIN n
nK R1
LA=length address A=
LV=length value address
DBLWD
BNDRY=
PAGE
00
INIT=
character
BELOW
LOC=
ABOVE
ANY
0
SP=
subpool number
n
The length in number of bytes.
nK
The length in number of bytes times 4096.
XPEDITER/TSO Commands (FIRST - HELP) 4-19
LA=length address
The address or general-purpose register number containing the address of a fullword
length.
LV=length value
The length in number of bytes.
A=
The address, label, or general purpose register number containing the starting address
of the acquired storage. If address is not specified with the A= parameter, the default is
register 1.
BNDRY=
Alignment of the acquired storage. DBLWD is the default.
INIT=
The initialization of the acquired storage. Valid values for character are 00 - 99 and a -
z. The default is 00.
LOC=
Location of the acquired storage with reference to the 16MB line. BELOW is the
default.
SP=
A subpool number from 0 - 127. The default is 0.
Usage Notes
1. The RETEST command, or restarting a test session after terminating with the EXIT
command, does not free storage when the default subpool number 0 is used. You
must return to the TEST panel, enter END or press PF3, and go back to the test screen
again to free storage that is acquired through the GETMAIN command.
2. Registers 1 and 15 in the GPREGS or Keep window are updated as the GETMAIN
command is executed.
3. SHOW REGION does not display the updated storage information until a page
boundary (4096K) is met, even after the GETMAIN command is issued.
Examples
1. To acquire 198 bytes of storage above the line using subpool 2, enter:
2. To acquire 4096 bytes of storage below the line and initialize with character “z”,
enter:
GETMAIN 1K INIT=Z
3. To acquire storage with the length in register 9 and return the acquired storage
location in register 3, enter:
Figure 4-14 shows an example of entering the GETMAIN command to acquire storage.
4-20 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Figure 4-15 on page 4-20 shows the result of entering the GETMAIN command. The
starting address of the acquired storage is stored in register 1 and the return code is
stored in register 15.
GO
COBOL PL/I Assembler C Language
Description
The GO command begins execution or resumes execution following a pause. A record of
the command is written to the log.
XPEDITER/TSO Commands (FIRST - HELP) 4-21
GO used in the batch input stream starts execution. If additional commands follow GO,
they are executed after the test has been completed and before the post scripts, if any
have been specified.
Input
GO
STATE
n FUNC TRace
LABEL
PARA
PROC
PROG
Half
n
A positive value indicating the number of statements, labels, paragraphs, procedures,
functions, or programs to execute. Valid values are 1 through 999999. Not valid in
unattended batch mode.
STATE
Executes until the next statement is reached, or when used with n, until the next n
statements are reached. STATE is the default when GO n is entered without a
keyword.
FUNC (C Language)
Executes until the next function is reached, or when used with n, until the next n
functions are reached. Not valid in unattended batch mode.
LABEL (Assembler)
Executes until the next label is reached, or when used with n, until the next n labels
are reached.
PARA (COBOL)
Executes until the next paragraph is reached, or when used with n, until the next n
paragraphs are reached. Not valid in unattended batch mode.
PROC (PL/I)
Executes until the next procedure is reached (when PL/I nested procedures are being
tested), or when used with n, until the next n procedures are reached.
PROG (COBOL)
Executes until the next program is reached (when COBOL nested programs are being
tested), or when used with n, until the next n programs are reached.
TRace
Executes and traces the next n statements, paragraphs, labeled statements, programs,
functions, or procedures.
Half
Executes a half step.
4-22 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Usage Notes
ALL Languages
1. The GO command entered without operands resumes execution from the current
location and proceeds until one of the following occurs:
– A breakpoint is reached
– The end of the program is reached
– An abend is detected.
2. GO n executes the next n statements, issues the message n Statements Executed, and
suspends execution.
3. GO 1 executes the next instruction and suspends execution. This is an efficient way
to single step through code. GO 1 is not valid in an unattended batch test.
4. GO Half issued at a before breakpoint steps to an after breakpoint on the same
statement. GO Half issued at an after breakpoint steps to a before breakpoint on the
next statement.
5. GO is usually assigned to PF12/24. GO 1 is usually assigned to PF9/21.
Assembler
1. When using GO 1 to single-step through code, you are not returned to the next
instruction following a GET macro if end-of-file is detected or if an error occurs and
an error return is indicated on the DCB. Instead, execution resumes at the beginning
of the routine designated by the EODAD parameter of the DCB macro.
2. A conflict can occur between Language Environment (LE) abend handling in the
CEEENTRY macro and XPEDITER’s breakpoint and stepping functions. For this
reason, you should not set an initial breakpoint on the CEEENTRY macro or enter a
GO 1, GO n, or breakpoint command from within it.
Examples
ALL Languages
GO 6 or GO 6 STATE
GO 6 PARA TRACE
GO 6 LABEL TRACE
XPEDITER/TSO Commands (FIRST - HELP) 4-23
GOBACK
COBOL
Description
Use the GOBACK command in the current module to return to the next higher level
module, which includes a nested program. If the current module is the top-level module,
the test is completed. A record of the command is written to the log.
Input
GOBACK
Usage Notes
1. The GOBACK command is not supported if the nested program is optimized by the
compiler or if it does not contain a GOBACK verb.
2. If the current module is called by a module written in a language that does not
follow COBOL linkage conventions, return will be to the calling module.
3. Any statements following a GOBACK will not be executed.
GOTO
COBOL PL/I Assembler C Language
Description
The GOTO command changes the logic of your program and repositions the current
execution pointer.
Input
GOTO location
location
A place where breakpoints can be set or deleted. Refer to “Common Parameters” on
page xviii for details about location.
Usage Notes
ALL Languages
4-24 XPEDITER/TSO and XPEDITER/IMS Reference Manual
1. The GOTO primary command does not resume execution. It only changes the
execution pointer. Use the GO command to resume execution from this point.
Note that an inserted GOTO command will resume execution.
2. When the target of a GOTO command is reached, a message EXECUTION RESUMES
HERE is displayed and a highlighted arrow points to the line where execution will
resume.
Note: Caution should be taken when using the GOTO command. There are some
usage risks when the logical flow of a program is changed. Program abends
(S0C4 or S0C7) could occur, or you could run off the end of your program,
yielding unpredictable results.
3. When GOTO is entered, the target location must be a valid location within the active
module or nested program.
4. If multiple GT line commands are entered, the commands are processed sequentially
from top to bottom with the execution arrow positioned on the last command
entered. No processing takes place if one invalid command is detected.
5. You cannot use a GT line command on the current line.
PL/I
Examples
COBOL
1. To place the execution pointer at statement 512 in the current module enter:
GOTO 512
GOTO ANALYZE-NEXT-REC
Assembler
GOTO AGAIN
GOTO B4177
PL/I
GOTO CMAIPLI:86
C Language
GOTO 94
2. To place the execution pointer at label proc1 in the current function, enter:
GOTO proc1
XPEDITER/TSO Commands (FIRST - HELP) 4-25
GPREGS
COBOL PL/I Assembler C Language
Description
The GPREGS command displays the contents of the general-purpose registers at the
bottom of the Source screen.
Input
ON
GPREGS
OFF
LOG
ON
Opens a window at the bottom of your screen and displays the contents of the
general-purpose registers for the duration of the test session or until GPREGS OFF is
entered. ON is the default value.
OFF
Removes the GPREGS window.
LOG
Records the contents of the general-purpose registers in the log.
Usage Notes
ALL Languages
1. The register values in the GPREGS window are modifiable. You can type over the
displayed register values, copy other register values, or use the MOVE command
(COBOL and Assembler only).
2. To copy the contents of one displayed register to another, type over the register with
Rn, where n represents the number of the register to be copied. Only one blank space
is required after the Rn string.
3. You can enter a decimal value, rather than the normal hexadecimal value, by
preceding the value with an apostrophe ('). See Figure 4-18 on page 4-26.
4. You can modify the value in a register by preceding the value with an arithmetic
operation: add (+), subtract (-), multiply (*), divide (/). See Figure 4-19 on page 4-27.
Examples
COBOL
4-26 XPEDITER/TSO and XPEDITER/IMS Reference Manual
1. In Figure 4-16, the contents of register 12 have been typed over with the term R6.
Figure 4-17 shows the result.
000045 ANALYZE-NEXT-REC.
000046 READ INFILE INTO WORK-REC
000047 AT END
000048 MOVE ’Y’ TO OUT-OF-RECS.
000049 IF OUT-OF-RECS = ’N’
000050 MOVE ZERO TO TRIANGLE-TYPE
GPREGS R0 ==> 00000000 R1 ==> 50083FCA R2 ==> 00038010 R3 ==> 00083BE0
R4 ==> 00083E86 R5 ==> 50083FAE R6 ==> 000837B8 R7 ==> 00000000
R8 ==> 00083B68 R9 ==> 00083F50 R10 ==> 00083718 R11 ==> 00083718
R12 ==> R6 R13 ==> 00083958 R14 ==> 00083C44 R15 ==> 000945DE
000045 ANALYZE-NEXT-REC.
000046 READ INFILE INTO WORK-REC
000047 AT END
000048 MOVE ’Y’ TO OUT-OF-RECS.
000049 IF OUT-OF-RECS = ’N’
000050 MOVE ZERO TO TRIANGLE-TYPE
GPREGS R0 ==> 00000000 R1 ==> 50083FCA R2 ==> 00038010 R3 ==> 00083BE0
R4 ==> 00083E86 R5 ==> 50083FAE R6 ==> 000837B8 R7 ==> 00000000
R8 ==> 00083B68 R9 ==> 00083F50 R10 ==> 00083718 R11 ==> 00083718
R12 ==> 000837B8 R13 ==> 00083958 R14 ==> 00083C44 R15 ==> 000945DE
PL/I
Assembler
HELP
COBOL PL/I Assembler C Language
Description
The HELP command invokes the XPEDITER/TSO tutorial or Help functions for command
reference and messages. XPEDITER/TSO does not use the standard ISPF HELP function.
Input
MENU
HELP
H *
INDEX
keyword
MENU
Displays a subject list itemizing subjects in topical fashion, similar to a table of
contents. MENU is the default.
*
Redisplays the most recently browsed help file.
INDEX
Displays a subject list itemizing subjects in alphabetical order, similar to a typical
index.
keyword
Displays a valid help topic; e.g., commands, batchcon, S0C1.
Usage Notes
ALL Languages
4. If you enter HELP from within the Help function, the first Help file is closed and the
new HELP command is executed.
5. The END, LOCATE *, and SOURCE commands terminate this function and return to
the previous panel.
6. The HELP command is usually assigned to PF1/13 by default.
5-1
Chapter 5.
XPEDITER/TSO Commands (IF - MOVE) C ha p 5
IF
COBOL PL/I Assembler C Language
Description
The IF command establishes a conditional expression in your program. The IF command
can only be entered within a block of inserted lines created with the INSERT command.
Refer to “INSERT” on page 5-5 for more information.
Input
IF Primary Command Syntax
IF conditional-expression
. . .
XPEDITER/TSO commands
. . .
[ELSE
. . .
XPEDITER/TSO commands]
END-IF
conditional-expression
Any valid expressions supported by XPEDITER/TSO that test logical relationships.
The following standard operators are valid:
Usage Notes
ALL Languages
IF A = 1 OR 2 OR 3
5-2 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Examples
1. In the following examples, a conditional IF is established in a block of inserted lines.
COBOL
PL/I
Assembler
C Language
INCLUDE
COBOL PL/I Assembler C Language
Description
The INCLUDE command executes a predefined test script member. The command stream
in the test script is executed as the commands are read in, just as if they had been entered
serially. INCLUDE test scripts can be nested without limit.
Input
INCLUDE test-script-name
INC
test-script-name
A member of the test script library (LRECL=80) specified in the XINCLUDE DD Setup
screen, or the site-wide PDS, if defined.
Usage Notes
ALL Languages
Example
ALL Languages
KEEP INREC
GPREGS
MOVE '345' TO INREC
INCLUDE TEST1
COBOL
Note: AA SNAP, AT, BROWSE, DLI, EXCLUDE, and MONITOR cannot be used in
unattended batch.
Assembler
Note: AA SNAP, AT, BROWSE, and EXCLUDE cannot be used in unattended batch.
DROP and DELETE cannot be used in an initial test script.
PL/I C Language
Note: AA SNAP, AT, BROWSE, and EXCLUDE cannot be used in unattended batch.
INSERT
COBOL PL/I Assembler C Language
Description
The INSERT command is used to temporarily insert XPEDITER/TSO commands in the
program. Only one inserted command per line is permitted and the inserted line must be
less than 61 characters in length. XPEDITER/TSO interprets the inserted code and
executes it as if it were part of your source code. With the INSERT command, you can try
out several source code fixes before you actually modify and recompile the source code.
5-6 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Inserted code is executed following the statement indicated in the command. Inserted
lines do not update the actual source code. The inserted lines drop out when a DELETE
command is issued or the test session ends.
Note: If your site has XPEDITER for DB2 Extension installed, you can also use the
INSERT command to insert SQL statements in your program.
You can enter the I (Insert) line command on a statement containing an executable verb
and enter XPEDITER/TSO commands following the statement.
When commands are embedded at the end of a conditional structure that is delimited by
a period or a scope terminator, the inserted statements will be executed when the code
above them is reached. If you want the inserted statements to be executed only when the
true path is taken, place the insert anywhere inside the true path. If you want the
inserted statements to be executed only when the false path is taken, place the insert
anywhere inside the false path.
Note: The primary command syntax outlined below can be used only in an unattended
batch test or in an INCLUDE test script. The I line command can be used
interactively to open a window in your code for manual insertion of commands.
Input
INSERT Primary Command Syntax
INSert statement-number
.
.
.
Any number of XPEDITER/TSO commands or statements
.
.
.
END-INS
statement-number
A valid statement number.
Usage Notes
ALL Languages
3. You can only insert at a line that has a statement number. No insertion is allowed at
a line with dashes (------).
Placing the I line command on branching verbs is not permitted. A message INSERT
NOT PERMITTED FOLLOWING verb is issued when you attempt to do so. If you
want to execute statements following the return from the actual performed
paragraph, insert the statement after the last executable code in the out-of-line
paragraph.
Examples
ALL Languages
1. Figure 5-5 is the result of entering the I2 line command on statement 42 during an
interactive test session.
2. Figure 5-6 completes the previous line command example, showing the insertion of a
program patch interactively. The two added MOVE statements are used to correct a
logic error.
3. To insert extra code after line 44, create a member in your INCLUDE dataset
containing the following test script. Then enter this command sequence with the
command, INCLUDE test-script-name:
5-8 XPEDITER/TSO and XPEDITER/IMS Reference Manual
INSERT 44
IF SIDE_A NOT NUMERIC
MOVE 'INVALID DATA' TO TRIANGLE_TYPE
END-IF
END-INS
COBOL
The following XPEDITER/TSO commands can be used within the INSERT command:
Assembler
The following XPEDITER/TSO commands can be used within the INSERT command:
Note: The KEEP and PEEK line commands cannot be used on lines of inserted code
in Assembler.
PL/I C Language
The following XPEDITER/TSO commands can be used within the INSERT command:
XPEDITER/TSO Commands (IF - MOVE) 5-9
Note: The KEEP and PEEK line commands cannot be used on lines of inserted code
in PL/I and C.
COBOL PL/I
If you have XPEDITER for DB2 Extension and File-AID for DB2 installed at your site, you
can dynamically insert SQL statements in your source. Each inserted SQL statement must
be prefixed by EXEC SQL and suffixed by END-EXEC. Otherwise, XPEDITER/TSO issues a
syntax error message. Any data entered after the END-EXEC statement (on the same line)
is ignored.
Note: Inserted SQL statements are not supported in DB2 CAF (Call Attach Facility).
The following SQL statements can be inserted in your source and are valid in a test:
ALTER INDEX
Changes the description of an index.
ALTER STOGROUP
Changes the description of a storage group.
ALTER TABLE
Changes the description of a table.
ALTER TABLESPACE
Changes the description of a table space.
BEGIN DECLARE
Marks the beginning of a host variable declaration section.
CLOSE
Closes a cursor.
COMMENT ON
Replaces or adds a comment to the description of a table, view, or column.
COMMIT
Terminates a unit of recovery and commits the database changes made by that unit
of recovery.
5-10 XPEDITER/TSO and XPEDITER/IMS Reference Manual
CREATE DATABASE
Defines a database.
CREATE INDEX
Creates an index on a table.
CREATE STOGROUP
Defines a storage group or set of volumes, controlled by a VSAM catalog, on which
storage can later be allocated for table spaces and indexes.
CREATE SYNONYM
Defines an alternate name for a table or view.
CREATE TABLE
Creates a table.
CREATE TABLESPACE
Allocates and formats table spaces.
CREATE VIEW
Defines a view of one or more tables.
DECLARE CURSOR
Defines an SQL cursor.
DECLARE STATEMENT
Declares a statement for dynamic SQL.
DECLARE TABLE
Declares a table.
DELETE
Deletes one or more rows from a table.
DESCRIBE
Provides a description of the columns in a table or view.
DROP
Removes an object and its description from the DB2 catalog.
END DECLARE
Marks the ending of a host variable declaration section.
EXECUTE
Executes a prepared SQL statement.
EXECUTE IMMEDIATE
Prepares and executes an SQL statement.
EXPLAIN
Obtains information about how an SQL statement will be executed.
FETCH
Positions the cursor on the next row of the result table and assigns the values of that
row to host variables.
GRANT
Grants privileges.
XPEDITER/TSO Commands (IF - MOVE) 5-11
INSERT
Inserts rows into a table or view.
LABEL ON
Adds or replaces labels in the catalog descriptions of tables, views, columns, or sets of
columns.
LOCK TABLE
Acquires a shared or exclusive lock on a table.
OPEN
Opens a cursor so that it can be used to fetch rows from the result table.
PREPARE
Dynamically prepares an SQL statement for execution.
REVOKE
Revokes privileges.
ROLLBACK
Terminates a unit of recovery and backs out database changes made by that unit of
recovery.
SELECT
Specifies a result table and selects rows to view.
SET
Changes the value of the authorization ID.
UPDATE
Updates the values of specified columns in rows of a table or view.
INTERCEPT
COBOL PL/I Assembler C Language
Description
The INTERCEPT command is used in interactive mode to load the program and set before
and after breakpoints. When testing interactively in BTS or dialog, the INTERCEPT
command is generated automatically by XPEDITER/TSO.
When testing in BTS batch mode, the only commands allowed in the command stream
are the INTERCEPT command, the START, MAX, TRANCODE, INITSCR, and POSTSCR
parameters, and the XPED command.
General qualification rules for the double colon and single colon cannot be applied.
Input
Note: The entry-script will not execute if the INTERCEPT program-name is the same
as the program name being tested. Any initial/entry script processing to be
done for the program tested must be part of the initial script specified in the
test startup.
Usage Notes
ALL Languages
1. When the program to be tested is a BTS or Dialog Manager program, the INTERCEPT
command is used to specify and set up the program to be tested.
Assembler
Examples
Assembler
KEEP
COBOL PL/I Assembler C Language
Description
The KEEP command will continuously display the value of program variables or selected
data areas in a Keep window. The displayed values are updated as breakpoints are
encountered and are denoted by a K in column 9 of the Keep window.
XPEDITER/TSO automatically keeps the values of data items referenced by the current
execution line whenever execution halts. These values are either displayed at the bottom
of the Keep window (default) or, optionally, in an Automatic Keep window at the bottom
of the screen. Refer to “SET” on page 6-21 for additional information.
The results of KEEP commands and automatic keeps are written to the log unless they are
suppressed by the SET LOG KEEP OFF and SET LOG AUTOKEEP OFF commands.
Input
KEEP data
K LINKAGE
KeepE LOCAL-STORAGE
KeepH WORKING-STORAGE
CSR
XPEDITER/TSO Commands (IF - MOVE) 5-15
K line commands will display the nth variable on a line as follows: K or K1 displays
the first variable on the line, K2 displays the second variable, K3 the third variable,
and so forth. K* is used when you want to display all the variables on the line. Kn and
K* line commands treat a qualified data name as a unit.
Note: The K line commands cannot be used on lines of inserted code in Assembler,
PL/I, or C.
KEEP
Displays data areas in EBCDIC format if defined as character (C); in decimal format if
defined as decimal (P,Z,F,H); in hexadecimal format if defined as hexadecimal (X),
binary (B), or address (Y,A,S,V,Q).
KeepE
Expands a group item or structure to its subordinate items and displays the value of
each elementary item without showing the value of the group item or structure. The
result is the same for a KEEPE command or a KEEP command when issued for an
elementary item.
Note: The KEEPE primary command and equivalent line commands are not valid in
Assembler.
KeepH
Displays the hexadecimal value of the specified data item in a Keep window. You can
type over either the hexadecimal digits or the display digits. If you type over both
fields, the hexadecimal digits take precedence.
You cannot type over the hexadecimal digits unless all lines (column template,
EBCDIC display, and hexadecimal display) are shown on the screen. Typing over is
not permitted if the display occurs at the bottom of the screen and vertical
truncation occurs.
data
A data-name, variable, data-label, or register (Rn).
LINKAGE (COBOL only)
The linkage section of the active source program.
LOCAL-STORAGE (COBOL only)
The local-storage section of the active source program.
5-16 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Usage Notes
ALL Languages
1. Usage notes related to tables and/or arrays can be located under the topics “Keeping
Tables” or “Keeping Arrays”. Related information is also located under the topic
“Understanding the OCCURS Field”.
2. E, EE, H, and HH should only be entered on a line in the Keep window. If entered on
a source line, the result is a PEEK command.
3. Kept items are updated at each interrupt until they are removed by the DELETE
command. An interrupt occurs:
– At an after, before, when, or trace breakpoint.
– At a dynamic pause occurring when a GO or maximum count limit is reached.
When a maximum count limit is reached in batch mode testing, the kept
variables are updated in the log. Execution resumes following the log update as if
the COUNT command had been reset.
– At an abend.
4. Kept items are displayed in the log immediately after the breakpoint message and
any error messages. If the value of the item changes, the new value is recorded in the
log along with a message to that effect. Any kept data names that have not changed
value are also reported.
5. Items are displayed in the order that they were kept; i.e., the first item kept is
displayed first, and so forth. Explicit keeps are always displayed before automatic
keeps.
6. The Keep window is both scrollable and adjustable in size. If the data exceeds the size
of the window, move the cursor to the window and use the PF7 (UP) and PF8
(DOWN) keys to scroll the data vertically. Scroll the window horizontally by using
the PF22 (DRIGHT) and PF23 (DLEFT) keys.
Note: The Keep window is cursor sensitive. To keep the cursor in the window while
continuously scrolling up and down, put the cursor on the dashed line that
separates the window from the source.
You can also set the size of the Keep and Source windows by using the SET WINDOW
KEEP and SET WINDOW SOURCE commands. Refer to “SET” on page 6-21 for
information on sizing the Automatic Keep, Keep, and Source windows.
7. When the cursor is in the Home position, use the LEFT (PF10) and RIGHT (PF11)
commands to scroll the source and the DLEFT (PF22) and DRIGHT (PF23) commands
to scroll the data in the Keep window.
8. The SHOW KEEPs command can be used to show all items that have been kept.
9. When testing interactively, kept lines are displayed immediately below the message
area of the source display. The line command area for each kept data name can be
typed over with any applicable line commands. The value field can be typed over in
the same manner as with the PEEK command. A dashed line separates the fixed or
kept area from the source area below it.
XPEDITER/TSO Commands (IF - MOVE) 5-17
10. A column template is displayed above the data areas that are defined as character (C).
The column template corresponds to the length of the data area. Data areas defined
as hexadecimal (X), address (A,Y,S,V,Q), binary (B), fixed-point (H,F), floating-point
(E,D,L), or decimal (P,Z) are displayed without a column template. The length of a
numeric field is a function of its internal representation.
11. Nonrepresentable characters are displayed as periods (.) and invalid numeric values
are displayed as question marks (?). XPEDITER/TSO displays lowercase data as is. If
your terminal cannot display lowercase characters, you can have XPEDITER/TSO
display lowercase characters as nonrepresentable characters by entering the
command:
To restore the default of displaying lowercase characters as is, enter the command:
Note that the period (.) is the default for nonrepresentable characters. You can
change it using the SET NONDISP command. However, the default for invalid
numeric values (?) cannot be changed.
12. The KEEP line commands automatically resolve data qualification. When using the
KEEP primary command, you must specify the appropriate qualification. Refer to
“Command Qualification Rules” on page 1-4.
13. You can reference any data area that is not in protected storage and alter its contents
by typing over the displayed data (implicit move) or by using the MOVE command.
14. The K line commands are taken as KEEP data area commands. The nth variable is
determined as follows: K or K1 would keep the first data area on a line, K2 would
keep the second data area, K3 the third data area, and so forth. K* is used when you
want to display all the data areas on the line.
Note: The K line commands cannot be used on lines of inserted code in Assembler,
PL/I, or C.
15. Use the DELETE command or D line command to remove kept items from the Keep
window.
16. A different item list is maintained for each program. Each program’s kept items are
displayed whenever that program is active. In this case, “active” means that a
breakpoint occurred in that program, or a SOURCE command was issued for that
module. Nested programs share a common keep list if they are part of the same
module.
1. A variable contains invalid data if it is an elementary numeric item and the contents
of the variable do not conform to its defined usage.
XPEDITER/TSO displays a numeric field containing invalid data as question marks
(?). A flag indicating the invalid data type is displayed to the right of each numeric
field.
PL/I C Language
1. Kept items that are defined as bit strings are kept in bit format, and a B is displayed
on the right side of the Keep window. You cannot request a hexadecimal display on a
bit string. Use the MEMORY command to see the hexadecimal values.
2. Keeps on based variables will show the item and the address it is based on. Note that
K line commands can be entered on lines with no statement numbers.
5-18 XPEDITER/TSO and XPEDITER/IMS Reference Manual
3. Using the primary KEEP command, based variables can be kept in the format:
The default base will be picked up if none is specified. To keep the variable G_REC
based on the pointer ZPTR_3, enter the following:
4. When addressability has not been established for a variable, the Keep window
displays the message NO ADDR. The message disappears when addressability is
established. This may happen for an automatic variable if the procedure it is declared
in is not active; for a controlled variable if it has not been allocated; or for a based
variable if the base has no addressability.
5. KEEP does not support automatic adjustable arrays or structures with an unknown
length at compile-time.
6. Extended floating-point data (16 bytes) is formatted using just the first doubleword.
Assembler
1. Data areas outside the program (reentrant), or data areas for which addressability has
not been established, are not displayed.
2. Data areas defined as graphic (G) are supported by the KEEP command.
3. Data names longer than 32 bytes are fully scrollable in the Keep window, and the full
data name can be displayed when the source is scrolled to the left.
Examples
COBOL
1. To display the contents of EOF-SW at every pause breakpoint in the current module,
enter:
KEEP EOF-SW
2. To keep SIDE-A of WORK-REC when duplicate variable names exist in the active
program, qualify the variable as follows:
Assembler
1. Figure 5-8 shows an example of keeping variables using the High-Level Assembler
qualification syntax. These variables are made addressable by the labeled dependent
USING instructions. See “USING” on page 7-7.
XPEDITER/TSO Commands (IF - MOVE) 5-19
An associated occurrence value for a displayed array element is one in which the
occurrence value is dependant upon the related subscript or index variable that was
specified in the PEEK or KEEP command. Thus, the occurrence value in the OCCURS field
will be dynamically updated during program execution whenever the underlying variable
changes.
A disassociated occurrence value for a displayed array element is one in which the PEEK or
KEEP command was entered using a numeric literal for the related subscript or index
value. That specific occurrence value is not associated with a variable and must therefore
be overtyped or otherwise modified to address a different element.
One or more of the occurrence values can be disassociated from its underlying variable
by blanking out the entire value (S=n or I=n) and replacing it with the numeric value
representing the desired element position in the array. Once disassociated, an OCCURS
position cannot be converted back. To reestablish the display of the desired element with
associated occurrence value(s), a new KEEP, PEEK, K, or P command must be used,
including variables for all of the subscript or index positions affected.
An OCCURS field containing multiple occurrence values may contain a mix of associated
and disassociated occurrence values.
S=2,S=4,S=1,S=3 OCCURS
5-20 XPEDITER/TSO and XPEDITER/IMS Reference Manual
and you replace the S=4 with a 1 and the S=3 with a 2, then press Enter, the OCCURS
field will be changed to
S=2,1,S=1,2 OCCURS
The first and third occurrence values are still associated with their underlying variables.
The second and fourth occurrence values, however, are now disassociated from their
underlying variables.
If an element group of a table or array is selected with the KEEP or PEEK command
without specifying any occurrence values, the first element in that group is displayed
using disassociated occurrences. All (meaning one or more) of the occurrence values are
set to a default value of one. Each element of the group can then be referenced
individually by overtyping any or all of the appropriate occurrence values.
Keeping Tables
Note: Before reading this section, familiarize yourself with “Understanding the
OCCURS Field” on page 5-19.
The XPEDITER/TSO KEEP command can be used to display the contents of COBOL tables.
The XPEDITER/TSO Keep window will display any occurrence of a group or elementary
item at any level of the table.
1. To concurrently display two occurrences of a table element in the Keep window, first
duplicate the kept item by entering a K line command on the kept item. Then, if
necessary, disassociate all of the occurrence fields that you plan to modify. Finally,
overtype the disassociated occurrence field(s) with valid subscript or index value(s) to
display the desired occurrence of the element.
Optionally, even more occurrences of the same item can be concurrently displayed
using the same procedure. Each occurrence of the kept item can be independently
incremented or decremented to keep some preceding or following occurrence in the
Keep window.
If a request is entered to keep an indexed or subscripted data name and the
occurrence number is not specified, the first occurrence of that item is kept.
When any table sub-element is kept, XPEDITER/TSO inserts an occurrence field
above the element as shown in Figure 5-9.
A disassociated occurrence field can be overtyped with a valid subscript(s) to specify
the next occurrence to be displayed.
XPEDITER/TSO Commands (IF - MOVE) 5-21
XPEDITER/TSO will display occurrence 3,4,6. The occurrence field will now display
When you press Enter again, occurrence 3,4,7+1 will be displayed and so on. When
the maximum occurrence for that level is reached, the subscript returns to the first
occurrence. XPEDITER/TSO automatically increments to the next higher level
subscript.
This technique can be applied at any level and at more than one level at a time. This
means
The table can also be kept with a data name as the index value. Whenever the Keep
window is updated, the value of the data name is computed and the corresponding
entry in the table is displayed. In this case, the occurrence field cannot be typed over.
To see another value, do an explicit MOVE command to move a new index value to
the data name.
If a table element is kept with its index or subscript name, the display of the value in
the log also reports the value of the index or subscript.
5. XPEDITER/TSO possesses another helpful feature. When you want to keep a data
name that is indexed, you can name the index in the command, as follows:
Then XPEDITER/TSO displays the value in the occurrence field. When the value of the
index changes, the Keep window reflects the current value and displays the contents
of the current table entry.
To manually change an index value, blank out the applicable I= indicator and
overtype that occurrence field with a new value. This disassociates the element
display from the variable that I= represented.
6. KEEP line commands (K, K*, etc.) set at an indexed data-name, referenced by a
statement, pick up the current occurrence and issue a KEEP data-name (index-name)
internally. For example, entering the K line commands:
Entering GO shows the value of the current occurrence using TX as the index.
Typing over the occurrence field I=3 with 3 (blanking out the I=3) and pressing Enter
disassociates the index TX from the display of the data name N_CNTR.
When the index is disassociated from the data name, the index will not change even
if the table index (TX) changes.
Example
Assembler
Keeping Arrays
Note: Before reading this section, familiarize yourself with “Understanding the
OCCURS Field” on page 5-19.
The XPEDITER/TSO KEEP command can be used to display the contents of PL/I arrays.
The XPEDITER/TSO Keep window will display any occurrence of an element of the array
at any dimension combination.
1. To concurrently display two elements of an array in the Keep window, first duplicate
the kept item by entering a K line command on the kept item. Then, if necessary,
disassociate all of the occurrence fields that you plan to modify. Finally, overtype the
disassociated occurrence field(s) with valid subscript value(s) to display the desired
occurrence of the element.
If a request is entered to keep an array and the subscript number is not specified, the
first element of that array is kept.
When any array element is kept, XPEDITER/TSO inserts an occurrence field above the
element as shown in Figure 5-11.
A disassociated occurrence field can be overtyped with a valid subscript to specify the
next occurrence to be displayed. Note that in Figure 5-11, the Keep window has been
expanded using the SET command, allowing all data values to be displayed.
5-24 XPEDITER/TSO and XPEDITER/IMS Reference Manual
XPEDITER/TSO will display occurrence 3,4,6. The occurrence field will now display
When you press Enter again, occurrence 3,4,7+1 will be displayed and so on. When
the maximum occurrence for that dimension is reached, the subscript returns to the
first occurrence. XPEDITER/TSO automatically increments to the next higher level
subscript.
This technique can be applied at any dimension and at more than one dimension at
a time. This means
Then XPEDITER/TSO displays the value in the occurrence field. When the value of
the subscript changes, the Keep window reflects the current value and displays the
contents of the current array entry.
To manually change a subscript value, blank out the applicable S= indicator and
overtype that occurrence field with a new value. This disassociates the element
display from the variable that S= represented.
6. KEEP line commands (K, K*, etc.) set at a subscripted array referenced by a statement
pick up the current occurrence and issue a KEEP array-name (subscript-name) internally.
For example, entering the K line commands:
k 0030 TX = TRIANGLE_TYPE;
k 0031 N_CNTR(TX) = N_CNTR(TX) + 1;
Entering GO shows the value of the current occurrence using TX as the subscript.
Typing over the occurrence field S=2 with 2 (blank out the S=2) and pressing Enter
disassociates the subscript TX from the array N_CNTR.
When the subscript is disassociated from the array, the subscript will not change
even if the array subscript (TX) changes.
L (Last)
COBOL PL/I Assembler C Language
Description
The L (LAST) line command reshows lines from a block of excluded lines starting with
the last line.
Input
L Line Command Syntax
L - Reshow the last line from a block of excluded lines
Ln - Reshow the last n lines from a block of excluded lines
Usage Notes
ALL Languages
1. This command is valid only in the line command area of the dashed line that
represents the excluded block of lines.
Figure 5-12 is an example of entering the L command, and Figure 5-13 is the result.
LEFT
COBOL PL/I Assembler C Language
Description
The LEFT command scrolls the source listing to the left by the specified scroll amount.
After stopping at the default margin position, scrolling further to the left shows the
following for each language:
COBOL
The line numbers in the source and the COBOL II nesting levels. The default margin
position is column 7.
Assembler
The location counters and the object code generated at assembly time. The default
margin position is column 7.
PL/I
The PL/I nesting levels and the compiler generated statement numbers. The default
left margin is determined by the MARGIN compiler option.
C Language
The LINE and STMT numbers in the source. The default left margin is determined by
the MARGIN compiler option.
If the cursor is in the Keep window or on displayed data, the LEFT command is treated as
a DLEFT command.
Use the DLEFT command to scroll the data values in a Keep or Peek window while the
cursor is in the Home position or in the source area.
Input
LEFT
n
Data
Half
Max
Page
n
The number of columns to be scrolled. The value can be 1 to 9999.
Data
Scrolls one less than the width of the scrollable source.
Half
Scrolls by a half page.
Max
Scrolls completely to the left, so that column 1 of the data is shown.
Page
Scrolls by the width of the scrollable source.
Usage Notes
ALL Languages
1. Left and right arrowheads (<>) are shown at the right of the execution status line,
indicating that the source can be scrolled to the left and right.
2. If the LEFT command is entered without an operand, the value in the scroll amount
field is used. The contents of the scroll amount field can be changed by typing over
the displayed value. Any value other than Max is remembered until it is changed
again.
3. The count fields are not scrolled when the source is scrolled. They overlay the source
in a fixed position while the data underneath scrolls horizontally.
4. You can use PF10 and PF11 to scroll the source left and right, respectively.
5. The LEFT command is usually assigned to PF10.
LINE
COBOL PL/I Assembler C Language
Description
The LINE command allows you to select whether the line command area displays
statement numbers, offsets, or addresses. It affects the source and memory displays for
the duration of a test session.
Input
STATE
LINE
LI 24
31
OFFset
XPEDITER/TSO Commands (IF - MOVE) 5-29
STATE
The line command area, which is six characters long, displays the assembler-
generated statement numbers. STATE is the default format for the line command area
on the Source screen.
STATE is not valid on the Memory screen, and when used, the Memory screen returns
to the offset or default format.
24
The line command area displays the hexadecimal address of each instruction. The
entire line command area is six characters long to represent 24-bit addressing. If your
program actually uses 31-bit addressing, only the low-order three bytes of the address
are displayed.
31
The line command area displays the hexadecimal address of each instruction. The
entire line command area is eight characters long to represent 31-bit addressing. If an
Assembler program is actually using 24-bit addressing, the high-order byte of the
address is displayed as 00.
OFFset
The six characters in the line command area display a hexadecimal offset relative to
the beginning of the module. If the source module contains multiple CSECTs, the
offsets in the line command area may not be contiguous. OFFSET is the default
format for the line command area on the Memory screen if the source display is set
to Line Statement.
Usage Notes
ALL Languages
1. Any time the LINE command is entered on the Source screen and the line command
area format changes, the execution status message and the log/script record of
breakpoints also change format.
2. Breakpoint indicators are displayed in column 9 of the Source screen when 24-bit
addressing is active and in column 11 when 31-bit addressing is active.
1. The LINE command zeros out the offsets and addresses (24-bit and 31-bit) of the
COBOL Data Division lines, PL/I, or C language data lines (DCLs).
Examples
ALL Languages
1. The result of entering the LINE OFFSET command is shown in Figure 5-14. The six-
character line command area now displays the hexadecimal offset for each
statement. The line command area contains a dashed line if a statement does not
have a listing offset associated with it.
5-30 XPEDITER/TSO and XPEDITER/IMS Reference Manual
2. If the LINE 24 command is entered on the command line and M is entered in the line
command area to display memory from the specified location, the result will be as
shown in Figure 5-15. 24-bit addressing is used to display the hexadecimal address of
the memory display starting at the specified location. The line command area is still
six characters long.
3. When the LINE 31 command is entered on the command line, the line command
area is expanded to eight characters. For example:
0845BCBA
XPEDITER/TSO Commands (IF - MOVE) 5-31
LOAD
COBOL PL/I Assembler C Language
Description
Use the LOAD command in interactive mode to dynamically load a module, no matter
where it resides. If no DDNAME or DSNAME is specified, the module is loaded with the
default DDNAME XTASKLIB.
Input
DDNAME XTASKLIB
LOAD module-name
DDNAME ddname
DSNAME dsname
module-name
The name of the module to be loaded.
DDNAME
Data definition name. The ddname defaults to XTASKLIB.
DSNAME
Dataset name. The dsname must be fully qualified. Enclosure in quotation marks is
optional.
Usage Notes
ALL Languages
LOCATE
COBOL PL/I Assembler C Language
Description
The LOCATE command scrolls the source display to a particular line number in the
current program.
Input
LOCATE statement-number
LOC *
L offset
address
statement-number
A valid statement number in the current program. LOCATE positions the statement
at the top of the screen.
*
The statement where execution is suspended within the active source file. LOCATE *
is usually assigned to PF6/18.
offset
The destination of the LOCATE command when the line command area is offset.
Offset is a valid hexadecimal number preceded by a plus(+) sign.
address
A destination when the line command area is using 24- or 31-bit addressing.
Examples
ALL Languages
LOCATE 512
LOG
COBOL PL/I Assembler C Language
Description
The LOG command browses the session log. The session log contains a record of the
commands entered during the test session and the responses to them.
Input
LOG
Usage Notes
ALL Languages
1. If the log size is 80, only 80 columns of data are written. The SET LOGSIZE 132
command extends the log size to 132 columns. The log display is scrollable to the left
and right.
2. XPEDITER/TSO displays the log at the start and at the end of the test session if there
is no source listing member available for the driver program. You can enter
XPEDITER/TSO commands from the primary command line to continue testing your
program.
3. The LOG command transfers you to the last page of the log.
4. To exit the log file, enter END, LOCATE *, or SOURCE.
MEMORY
COBOL PL/I Assembler C Language
Description
The MEMORY command is used to view an area in memory. The Memory screen is
displayed showing the specified area in dump format. Each Memory screen is written to
the log unless suppressed by the SET LOG MEMORY OFF command.
Input
MEMORY
MEM location
5-34 XPEDITER/TSO and XPEDITER/IMS Reference Manual
location
A specified place where the memory display is to start. See “Common Parameters” on
page xviii for details about location.
Usage Notes
ALL Languages
1. When specifying a storage location, an offset is indicated by a plus (+) sign followed
by a valid hexadecimal number. A statement number or address is indicated without
the plus sign.
2. If you are requesting memory on a module name, you must use the qualification
syntax. Refer to “Command Qualification Rules” on page 1-4 for additional
information.
3. If the referenced location does not contain a valid address, XPEDITER/TSO does not
display memory and issues one of the following messages: EITHER OFFSET OR
STARTING ADDRESS IS INVALID or STORAGE IS PROTECTED - MAY BE 24 BIT
ADDRESS TRY %.
4. If a wide terminal (132 columns) is used, the Memory screen displays 32 bytes of data
per line instead of the 16 bytes displayed on an 80-column terminal.
5. The Memory screen is scrollable. UP MAX or TOP displays memory from the start of
the module, and DOWN MAX or BOTTOM displays memory to the end of the
module. You can scroll further up from the **** TOP OF DATA **** or down from the
**** BOTTOM OF DATA ****.
6. The Memory screen shows the base address of the program on the left side of the
column template and displays the line command area in offsets rather than in
statement numbers. You can change the format of the line command area by
entering LINE 24 (24-bit mode addresses), LINE 31 (31-bit mode addresses), or the
default value LINE OFFSET.
7. Line commands supported in the Memory screen are X (Exclude), T (Template), F
(First), L (Last), and D (Delete). These commands are listed alphabetically in this
manual, with X appearing with the EXCLUDE command. The Fn and Ln line
commands are not supported.
8. The Memory screen contains both hexadecimal and character format. Any
unprotected hexadecimal and character values can be typed over to change their
values.
Note: A character value that is overtyped with the XPEDITER non-display character
will not be changed.
9. Use the END, LOCATE *, or SOURCE command to return to the source display screen,
or the GO command to resume execution.
Assembler
1. MEMORY Rn displays the register content, whereas MEMORY Rn? (31-bit mode) or
Rn% (24-bit mode) displays memory starting from the address contained in register n.
XPEDITER/TSO Commands (IF - MOVE) 5-35
The register contents reflect the value of the register at the time of the most recent
breakpoint.
2. If the label is part of a DSECT for which addressability has not been established,
XPEDITER/TSO does not display memory and issues a message:
PL/I C Language
1. The PL/I variable’s offset and address base depends on the storage class. For example:
– An automatic variable is based on the DSA.
– A static variable is based on the static CSECT generated by PL/I.
– A controlled variable is based on a register and a PL/I descriptor.
– A based variable is based on the pointer or an address of another variable.
Examples
ALL Languages
1. The MEMORY command entered on the primary command line causes the contents
of the storage area located at the start of the program to be displayed, as shown in
Figure 5-16.
The fifth line on the Memory screen contains a column template that starts with zero
and continues to E, skipping every other digit and replacing the digit with a dash (-).
The first data line contains the address being pointed to.
2. In PL/I, pointer (->) qualification can be used for data items, if needed. For example,
MONITOR
COBOL
Description
The MONITOR and REVERSE commands are used to activate review mode. Review mode
enables you to record and then review the execution path by reversing the direction of
program execution.
Use the MONITOR command before executing your program to record execution. Then
use the REVERSE command to review the execution history by tracing through the
recorded history in the reverse direction. You can see the execution path and the
changing data values as you review program execution.
MONITOR records the program’s execution in a buffer. The default buffer size is 1M.
XPEDITER/TSO wraps and overwrites the existing data when the buffer is filled. Use the
SET REVSIZE command to increase or decrease the buffer size.
Review mode can be used with OS/VS COBOL, COBOL II, and CA-OPTIMIZER. However,
ANSI COBOL 68 is not supported. Review mode is not valid in an unattended batch test.
Input
MONITOR
MON module-name
module-list
ALL
RESET
module-name
The name of the module where execution is located.
module-list
A list of module names.
XPEDITER/TSO Commands (IF - MOVE) 5-37
ALL
A keyword used to review the execution of all COBOL modules with a source listing
member.
RESET
A keyword used to reset the monitor mode.
Usage Notes
1. MONITOR without a module name records history for the current module which is
not necessarily the active module where execution is located, but the module
indicated by the PROGRAM field on the third header line.
2. Use a list of module names to monitor the execution path that spans multiple called
COBOL modules.
3. Use the DELETE command to stop recording the execution history.
4. The REVERSE and RESUME commands are valid only if MONITOR has first been
turned on.
5. Issuing a MONITOR ALL command in an initial script or at the beginning of the test
session allows you to review the execution of all COBOL statements.
MOVE
COBOL PL/I Assembler C Language
Description
The MOVE command changes the contents of program variables, program storage areas,
or general purpose registers.
Input
COBOL, PL/I, and C Syntax
Assembler Syntax
data
A data-name, variable, or data-label.
5-38 XPEDITER/TSO and XPEDITER/IMS Reference Manual
literal
Signed or unsigned integer or floating point number, alphanumeric string enclosed
in single quotes (' '), hexadecimal string enclosed in single quotes (X' '), or figurative
constant (spaces, zeros, high-values, or low-values).
TO
Required keyword when moving the contents of a data-item or a literal to a specified
location.
offset
An area in storage relative to the beginning of the area. Offset is a valid hexadecimal
number preceded by a plus (+) sign.
address
A 24- or 31-bit address.
address-expression
A symbolic address, +/- calc, or absolute address.
Usage Notes
1. Program storage areas can be displayed and modified by using the PEEK, MEMORY, or
KEEP command. General-purpose register contents can be displayed and modified by
using the KEEP or GPREGS command.
2. Typing over a value displayed by a PEEK or KEEP command is an implicit move.
If the displayed data item is greater than the screen size (30 or 80 bytes), the target of
the MOVE command entered in the log has a relative displacement and length
modifier.
3. The literal field must not extend across more than one line when the MOVE
command is used in an INSERT or INCLUDE in batch mode.
4. You can enter non-numeric data into a numeric item for testing; i.e., to test a
program edit function, force an abend, or test exception logic or error routines.
5. When testing in full screen interactive mode, in order to type over displayed
hexadecimal values (an implicit MOVE command), all displayed lines must be
present on the screen. If the display occurs at the bottom or top of the screen and
vertical truncation occurs (that is, if any of the lines are lost), typing over is not
permitted.
6. Moving a variable or literal to a variable field in full screen interactive mode is
lowercase sensitive. XPEDITER/TSO cannot determine if the terminal or printer you
are using can display or print lowercase characters. For that reason, XPEDITER/TSO
displays lowercase characters as nonrepresentable characters. If your terminal or
printer can display lowercase characters, use the following commands:
This displays lowercase as is. The entry of both commands is necessary. If SET CAPS
ON is in effect, XPEDITER/TSO converts the lowercase entry to uppercase, and it is
represented in memory as uppercase.
The reverse command, SET LOWCASE CONVERT, is the default. It displays lowercase
as nonrepresentable characters.
XPEDITER/TSO Commands (IF - MOVE) 5-39
7. The moved value of a hexadecimal literal is left-justified and padded with blanks.
Assembler
Examples
or
4. For an example of using displacement and length, move 'ADAMS' to the LASTNAME
field starting at the second character as follows:
This overlays the LASTNAME field starting at the second character for the length of
5.
Assembler
Chapter 6.
XPEDITER/TSO Commands (NOLINES - TEST) C ha p 6
NOLINES
COBOL PL/I Assembler C Language
Description
The NOLINES command suppresses the following message lines that appear in the source
display after an EXCLUDE command or keyword has been issued:
Input
NOLINES
NOL
Usage Notes
ALL Languages
PAUSE
COBOL PL/I Assembler C Language
Description
The PAUSE command sets a breakpoint within a block of inserted XPEDITER/TSO
commands. When the pause breakpoint is encountered, XPEDITER/TSO temporarily
suspends execution of your program, issues a message, and returns control to you.
In an unattended batch test, a record of the PAUSE command is written to the log, but
execution is not suspended.
6-2 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Input
PAUSE
Examples
COBOL
1. Figure 6-1 shows an example of using the PAUSE command within inserted code to
cause an interrupt if a bad data record is encountered. In the result shown in Figure
6-2, note the use of the KEEP command to automatically display the invalid record
on the screen.
PL/I
1. Figure 6-3 on page 6-3 shows an example of using the PAUSE command within
inserted code to cause an interrupt if a certain condition is true. In the result shown
in Figure 6-4 on page 6-3, note the use of the KEEP command to automatically
display the record on the screen.
XPEDITER/TSO Commands (NOLINES - TEST) 6-3
Assembler
1. Figure 6-5 shows an example of using the PAUSE command within inserted code to
cause an interrupt if a bad data record is encountered. In the result shown in Figure
6-6 on page 6-4, note the use of the KEEP command to automatically display the
invalid record on the screen.
C Language
1. Figure 6-7 shows an example of using the PAUSE command within inserted code to
cause an interrupt if a certain condition is true. In the result shown in Figure 6-8 on
page 6-5, note the use of the KEEP command to automatically display the record on
the screen.
PEEK
COBOL PL/I Assembler C Language
Description
The PEEK command is used to view the contents of program variables. PEEK scrolls to the
data area, displays the data values next to the variable, and inserts a P in column 9 of the
source. You can alter the variable content by typing over the displayed value. The PEEK
display is temporary and is deleted when execution resumes.
The results of PEEK commands are recorded in the log unless suppressed by the SET LOG
PEEK OFF command.
Input
PEEK data
P LINKAGE
PeekE LOCAL-STORAGE
PeekH WORKING-STORAGE
PSW
CSR
Note: Displaying elementary items for a variable with the PEEKE primary command and
equivalent line commands is not valid in Assembler.
data
A data-name, variable, data-label, or register (Rn).
LINKAGE (COBOL)
The linkage section of the active source program.
LOCAL-STORAGE (COBOL)
The local-storage section of the active source program.
WORKING-STORAGE (COBOL)
The working-storage section of the active source program.
CSR
Displays the data area indicated by the cursor position. The CSR keyword is not valid
in an unattended batch test. The PEEK CSR command is usually assigned to PF2.
PSW (Assembler)
The program status word.
Usage Notes
ALL Languages
Usage notes related to tables and/or arrays can be found under “Understanding the
OCCURS Field” on page 5-19, “Keeping Tables” on page 5-20, and “Keeping Arrays” on
page 5-23. These sections are under the KEEP command, but are equally applicable to the
PEEK command.
COBOL
1. When the PEEK command is entered on a 01 level data item (see Figure 6-9),
XPEDITER/TSO shows the value of the group item unexpanded, as shown in Figure 6-
10. Use PEEKE to exhibit the values of elementary items subordinate to the group
item without showing the group item itself, as seen in Figure 6-11. For an elementary
item, the result of a PEEK and PEEKE is the same, as seen in Figure 6-12.
000061 01 GROUP-ITEM.
000062 05 ELEMENT-1 PIC X(3).
000063 05 ELEMENT-2 PIC X(17).
XPEDITER/TSO Commands (NOLINES - TEST) 6-7
----+----1----+----2
000061 P 01 GROUP-ITEM. > 123ABCDEFGHIJKLMNOPQ
000061 01 GROUP-ITEM.
---
000062 P 05 ELEMENT-1 > 123
----+----1----+--
000063 P 05 ELEMENT-2 > ABCDEFGHIJKLMNOPQ
----+----1----+--
000063 P 05 ELEMENT-2 > ABCDEFGHIJKLMNOPQ
2. A column template is displayed above the nonnumeric data item. The length of the
column template corresponds to the variable length defined in the picture clause.
Numeric items are displayed without a column template. The length of a numeric
field in bytes is a function of the field’s internal representation. XPEDITER/TSO
converts all numeric items to display format. The usage (BINARY, PACKED,
HALFWORD, etc.) is displayed to the right of each numeric field. Figure 6-14 uses the
following source as an example:
000081 01 NUM-REC.
000082 P 05 UNSIGNED-FLD PIC 9(3)V99.
000083 P 05 BINARY-FLD PIC S9(3) COMP.
000084 P 05 FULLW-FLD PIC S9(8) COMP.
000085 P 05 FLOAT1-FLD COMP-1.
000086 P 05 FLOAT2-FLD COMP-2.
000087 P 05 PACKED-FLD PIC S9(5)V99 COMP-3.
000081 01 NUM-REC
000082 P 05 UNSIGNED-FLD > 453.22 DECIMAL
000083 P 05 BINARY-FLD > +10223 HALFWORD
000084 P 05 FULLW-FLD > +00000001 FULLWORD
000085 P 05 FLOAT1-FLD > +5.632E04 FLOAT1
000086 P 05 FLOAT2-FLD > -.29999999999999999E+03 FLOAT2
000087 P 05 PACKED-FLD > +17.88 PACKED
Use the T and DT line commands, respectively, to add and delete a template for any
displayed data.
3. If the variable’s length exceeds the screen width, the field becomes scrollable.
Scrollable fields are identifiable by the highlighted MORE-> in the line command
area. If the scrollable data to the right is the same as the last visible character on the
6-8 XPEDITER/TSO and XPEDITER/IMS Reference Manual
screen (all spaces or binary zeros, for instance), then MORE-> is replaced by SAME->
in the line command area.
When you scroll the data left or right using the DLEFT (PF22) or DRIGHT (PF23)
command, only the scrollable values and their associated column templates actually
move. All other fields remain stationary. Once a scrollable field is displayed to its
rightmost position (that is, you have reached the end of the field), you can no longer
scroll in that direction. See Figure 6-15 for a before example and Figure 6-16 on page
6-8 for an after example of scrolling a long data element. Note that only the value
field and its column template scroll.
Figure 6-16. Result After Pressing PF23 Key for Horizontal Scrolling of a Displayed Item
4. Nonrepresentable characters are displayed as periods (.) and invalid numeric values
are displayed as question marks (?). XPEDITER/TSO displays lowercase data as is. If
your terminal cannot display lowercase characters, you can have XPEDITER/TSO
display lowercase characters as nonrepresentable characters by entering the
command:
To restore the default of displaying lowercase characters as is, enter the command:
Note that the period (.) is the default for nonrepresentable characters. You can
change it using the SET NONDISP command. However, the default for invalid
numeric values (?) cannot be changed.
5. You can display variables in hexadecimal format by using the PEEKH command or H
line command. See Figure 6-17 for an example of entering the H line command on
the source line containing ID-NUMBER.
----+----1-
000085 P 01 ID-NUMBER > 345-23-8976
> FFF6FF6FFFF
> 34502308976
6. You can type over either the hexadecimal digits or the displayed value. If you type
over both fields, the hexadecimal digits take precedence.
You cannot type over the hexadecimal digits unless the variable value line and the
two lines for the hexadecimal value are shown on the screen. If the display occurs at
XPEDITER/TSO Commands (NOLINES - TEST) 6-9
the bottom of the screen and vertical truncation occurs (that is, lines are lost at the
bottom of the screen), typing over is not permitted.
7. A variable contains invalid data if it is an elementary numeric item and the contents
of the variable do not conform to its defined usage.
XPEDITER/TSO displays a numeric field containing invalid data as question marks
(?). A message indicating the invalid data type is displayed to the right of each
numeric field as shown in Figure 6-18.
000029 01 NUM-REC.
000030 P 05 UNSIGNED-FLD > ????? INVALID DECIMAL
000031 P 05 FLOAT1-FLD > ???? INVALID FLOAT1
000032 P 05 FLOAT2-FLD > ???????? INVALID FLOAT2
000033 P 05 PACKED-FLD > ???? INVALID PACKED
000034 B PROCEDURE DIVISION.
000040 MAIN-PARA.
8. CSR is used to direct XPEDITER/TSO to display the variable indicated by the cursor
position. If the cursor is not on a line containing a valid variable name, an error
message is displayed. This command is most effective when the command PEEK CSR
is set to a specific PF key. Then, placing the cursor on a variable name in Working-
Storage or in the Procedure Division and pressing the PF key displays the variable.
CSR is not valid in an unattended batch test.
9. A displayed item can be scrolled. It will continue to display its value until execution
resumes. The DELETE primary command or D line command can be used to remove a
displayed item and redisplay the original source code.
10. The Pn, PEn, En, PHn, and Hn line commands are valid only on data lines.
11. The nth variable of the P line command is determined as follows: P or P1 displays the
first variable on a line, P2 displays the second variable, P3 the third variable, and so
forth. P* is used to display all the variables on the line.
12. The XPEDITER/TSO PEEK command can be used to view the contents of COBOL
tables. XPEDITER/TSO can display the entire table or any occurrence of a group or
elementary item at any level of the table.
An entire table is displayed by specifying the group level variable name as shown in
Figure 6-19. The remainder of the table is viewed by scrolling to the right.
000133 *
P 0134 01 SIMPLE-TABLE.
000135 05 S-ELEMENT OCCURS 5 TIMES
000136 INDEXED BY SX.
000137 10 S-NAME PIC X(10).
000138 10 S-CNTR PIC 9(04).
000139 *
P 0140 01 COMPOUND-TABLE.
000141 05 C-ROW OCCURS 3 TIMES INDEXED BY ROW-INDEX.
000142 10 C-COL OCCURS 2 TIMES INDEXED BY COL-INDEX.
000143 15 C-L1 PIC X(2).
000144 15 C-L2 PIC S9(3) USAGE COMP.
000145 *
13. You can display only one occurrence of any subordinate group or elementary item at
a time. However, a second occurrence of the same item can be displayed
simultaneously in the Keep window.
6-10 XPEDITER/TSO and XPEDITER/IMS Reference Manual
If a display request is entered for an indexed or subscripted data name and the
specific occurrence number is not specified, then the first occurrence of that item is
displayed. When any table sub-element is displayed, XPEDITER/TSO inserts an
occurrence field above the element as shown in Figure 6-20.
14. Since a PEEK command physically scrolls your source to the Data Division section,
use LOCATE * to return to your current point of execution.
Assembler
1. The PEEK primary command lets you display data areas in EBCDIC format if defined
as character(C); in decimal format if defined as decimal (P,Z,F,H); and in hexadecimal
format if defined as hexadecimal (X), binary (B), or address (Y,A,S,V,Q).
2. The PEEK command is not valid on an instruction line.
3. The P line commands cannot be used on lines of inserted code in Assembler.
4. The PEEKH primary command lets you display data areas in hexadecimal format.
5. Data items for which addressability has not been established are not displayed.
6. Data areas defined as graphic (G) are supported by the PEEK command.
7. A column template is displayed above the data areas that are defined as character (C).
The column template corresponds to the length of the data area. Data areas defined
as hexadecimal (X), address (A,Y,S,V,Q), binary (B), fixed-point (H,F), floating-point
(E,D,L), or decimal (P,Z) are displayed without a column template. The length of a
numeric field is a function of its internal representation.
8. The display field becomes scrollable if the data area length exceeds 30 bytes. The
MORE-> in the line command area identifies the scrollable fields. You can use PF22
and PF23 to scroll left and right, respectively. MORE-> is replaced by SAME-> when
the scrollable data to the right is the same as the last visible data on the screen.
9. A data area is said to contain invalid data if its contents do not conform to its
defined usage and it displays nonrepresentable characters. The default character for
invalid numeric values is the question mark (?).
10. XPEDITER/TSO cannot determine whether the terminal or printer you are using can
display or print lowercase characters. For that reason, XPEDITER/TSO displays
lowercase characters as nonrepresentable characters (.) or (?) for invalid numeric
values. If your terminal or printer can display lowercase characters, enter:
11. You can reference any data area that is not in protected storage and alter its contents
by typing over the displayed data (an implicit move) or by using the MOVE
command.
12. You cannot type over the hexadecimal digits unless all four lines (column template,
EBCDIC display, and hexadecimal display) are shown on the screen. Typing over is
not permitted if the display occurs at the bottom of the screen and vertical
truncation occurs.
13. If a character field defined with duplication factor is displayed, the first occurrence
field is shown. Each occurrence field can be referenced individually by specifying the
entry.
14. Relative addressing (+/- calculation factor) is not supported with the PEEK command.
Use the MEMORY command (displays memory) instead. See “MEMORY” on page
5-33 for a description of the MEMORY command.
15. If a line contains more than one data area, the value of the first data area on the line
is displayed when a P line command is entered. The Pn line command displays the
nth data area. Use the P* line command to display all the data areas on the line. The
P line commands cannot be used on lines of inserted code in Assembler.
16. Block PP line commands are recorded in the log as individual PEEK commands on
each data area.
17. The DELETE command is used to turn off a PEEK command.
PL/I
1. When the PEEK command is entered on a 01 level data item, XPEDITER/TSO shows
the value of the group item unexpanded, as shown in Figure 6-21. Use PEEKE to show
the values of elementary items subordinate to the group item without showing the
group item itself, as seen in Figure 6-22. For an elementary item, the result of a PEEK
and PEEKE is the same.
----+----1----+----2----+----3
MORE-> P DCL 1 NAMES_N_CNTRS > EQUILATERAL TRIANGLES...ISOSCE
------ 2 N_N_C(4),
------ 3 N_NAME CHAR (21) ,
------ 3 N_CNTR FIXED(4);
2. A column template is displayed above the nonnumeric data item. The length of the
column template corresponds to the variable length defined. The SET TEMPLATE OFF
command prevents the display of this automatic template, except for variables with
the VARYING attribute.
6-12 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Numeric items are displayed without a column template. The length of a numeric
field in bytes is a function of the field’s internal representation. XPEDITER/TSO
converts all numeric items to display format. The usage (PACKED, BINARY,
HALFWORD, POINTER, etc.) is displayed to the right of each numeric field.
Use the T and DT line commands, respectively, to add and delete a template for any
displayed data.
3. If the variable’s length exceeds the screen width, the field becomes scrollable.
Scrollable fields are identifiable by MORE-> in the line command area. If the
scrollable data to the right is the same as the last visible character on the screen (all
spaces or binary zeros, for instance), then MORE-> is replaced by SAME-> in the line
command area.
When you scroll the data left or right using the DLEFT (PF22) or DRIGHT (PF23)
command, only the scrollable values and their associated column templates actually
move. All other fields remain stationary. Once a scrollable field is displayed to its
rightmost position (that is, you have reached the end of the field), you can no longer
scroll in that direction. See Figure 6-24 for a before example and Figure 6-25 for an
after example of scrolling a long data element. Note that only the value field and its
column template scroll.
Figure 6-25. Result After Pressing PF23 Key for Horizontal Scrolling of a Displayed Item
4. Nonrepresentable characters are displayed as periods (.) and invalid numeric values
are displayed as question marks (?). XPEDITER/TSO displays lowercase data as is. If
your terminal cannot display lowercase characters, you can have XPEDITER/TSO
XPEDITER/TSO Commands (NOLINES - TEST) 6-13
To restore the default of displaying lowercase characters as is, enter the command:
Note that the period (.) is the default for nonrepresentable characters. You can
change it using the SET NONDISP command. However, the default for invalid
numeric values (?) cannot be changed.
5. You can display variables in hexadecimal format by using the PEEKH primary
command or the H line command. See Figure 6-26 on page 6-13 for an example of
entering the H line command on the source line containing IN_REC.
6. You can type over either the hexadecimal digits or the displayed value. If you type
over both fields, the hexadecimal digits take precedence.
You cannot type over the hexadecimal digits unless the variable value line and the
two lines for the hexadecimal value are shown on the screen. If the display occurs at
the bottom of the screen and vertical truncation occurs (that is, lines are lost at the
bottom of the screen), typing over is not permitted.
7. You cannot request a hexadecimal display on a bit string data type. Use the MEMORY
command to see the hexadecimal values.
8. A variable contains invalid data if it is an elementary numeric item and the contents
of the variable do not conform to its defined usage.
XPEDITER/TSO displays a numeric field containing invalid data as question marks
(?). A message indicating the invalid data type is displayed to the right of each
numeric field as shown in Figure 6-27.
9. CSR is used to direct XPEDITER/TSO to display the variable indicated by the cursor
position. If the cursor is not on a line containing a valid variable name, an error
message is displayed. This command is most effective when the command PEEK CSR
is set to a specific PF key. Then, placing the cursor on a valid variable name and
pressing the PF key displays the variable.
10. A displayed item can be scrolled. It will continue to display its value until execution
resumes. The DELETE primary command or D line command can be used to remove a
displayed item.
11. The Pn, PEn, En, PHn, and Hn line commands are valid only on data lines.
12. The nth variable of the P line command is determined as follows: P or P1 displays the
first variable on a line, P2 displays the second variable, P3 the third variable, and so
forth. P* is used to display all the variables on the line.
Note: The P line commands cannot be used on lines of inserted code in PL/I.
13. Peek can be used to view the contents of arrays. XPEDITER/TSO can display the
entire array, or any occurrence of an element of the array, at any dimension.
14. You can display only one element of any subordinate group or elementary item at a
time. However, any portion of the array can be scrolled through by altering the
occurrence values once they have been disassociated from the underlying variables.
If a display request is entered to keep an indexed or subscripted data name, and the
specific element number is not specified, then the first element of that group is kept.
When any array element is displayed, XPEDITER/TSO inserts an occurrence field
above the element as shown in Figure 6-28.
15. If the variable is not the first one declared on the line, PEEK scrolls to the source
where the variable is declared and inserts a line to show the data value.
16. PEEK set at a variable that is implicitly declared converts the PEEK to KEEP.
Examples
Assembler
PEEK PACKED
XPEDITER/TSO Commands (NOLINES - TEST) 6-15
************************************************************
0810D2 P BIN DC B'000 0004B6 > 10
----+----1----+-
0810D3 P CHAR DC C'CHARACTER STRING' > CHARACTER STRING
0810E3 P HEX DC X'FF0 0003C7 > FF00FF
0810E7 P ZONED DC Z'12345' > +12345 ZONED
0810EC P PACKED DC P'12345' > +12345 PACKED
0810F0 P FULLW DC F'12345' > 12345 FULLWORD
0810F4 P HALFW DC H'12345' > 12345 HALFWORD
0810F8 P FLOATE DC E'1.2345 > +1.2344999E+00 FLOAT1
081100 P FLOATD DC D'12345 > +1.2345000000000000E+04 FLOAT2
PEEK R2
PEEK PSW
5. If you enter:
THIS IS NOT DATA is displayed in the message area and written to the log.
RESET
COBOL PL/I Assembler C Language
Description
Use the RESET command to reset all pending line commands or to restore all excluded
lines.
Input
RESET
RES EXCLude
EXCLude
Restores all excluded lines throughout the program.
RESUME
COBOL
Description
Use the RESUME command to exit review mode and regain your current execution
position. XPEDITER/TSO moves the execution arrow to the location where the REVERSE
command was initially entered and issues a message.
The logical execution direction status in the upper right corner is no longer displayed
because XPEDITER/TSO has returned to real-time execution.
RESUME
RETEST
COBOL PL/I Assembler C Language
Description
Use the RETEST command to begin a new test of the same program, even if the current
test was not completed. The RETEST command directs XPEDITER/TSO to load a fresh
copy of the load module before starting the next test. A record of the command is written
to the log.
Input
RETEST
RET
Usage Notes
ALL Languages
XPEDITER/TSO Commands (NOLINES - TEST) 6-17
1. RETEST is not valid in the Dialog, BTS, or IMS environments, or with DB2 databases.
2. To stack additional commands after the RETEST command, two delimiters must be
used. For example:
RETEST;;GO 1
3. RETEST resets all the XPEDITER/TSO commands and initializes the data area.
4. Use the EXIT command to completely end a test session.
RETURN
PL/I Assembler C Language
Description
The RETURN command bypasses the program logic in the active module and returns to
the next higher level module. If the active module is the top-level module, the test is
completed. If you are at the entry point of a submodule (a called program or procedure),
this command causes an immediate return to the calling module or procedure. A record
of the command is written to the log.
Input
RETURN
Usage Notes
ALL Languages
1. Bypassing program logic may not set and restore registers or variables. Program
checks such as S0C1 or S0C4 could occur.
2. If a before breakpoint was set at the return linkage in the module, the RETURN
command stops at the breakpoint.
REVERSE
COBOL
Description
The REVERSE command is used interactively to change the current execution direction to
review the sequence of instructions that led to the current breakpoint.
A requirement for using the REVERSE command is that you enter the MONITOR
command at the point from where you want to review your program, or before you begin
program execution. The MONITOR command activates review mode for program
execution and makes it possible for you to review the path of forward execution.
6-18 XPEDITER/TSO and XPEDITER/IMS Reference Manual
After the MONITOR command is executed, the status of each statement as it is executed
is kept in the review log. All changes occurring from the point where the MONITOR
command was entered are logged.
Input
REVERSE
REV
Note: Entering REVERSE only changes the direction of the review mode. It does not
cause execution to occur.
Usage Notes
1. REVERSE displays the actual path that was taken during forward execution of the
program.
Note: The REVERSE command changes the direction of execution only if review
mode was in effect during forward execution. In addition to REVERSE, you
must enter GO to activate execution.
2. When executing in reverse, XPEDITER/TSO restores the values of all data items to
their previous values. If you open a Keep window, you can watch the values change
interactively.
XPEDITER/TSO Commands (NOLINES - TEST) 6-19
3. All XPEDITER/TSO commands are valid during review mode, except GOTO, SKIP,
INSERT, and MOVE.
4. You cannot type over data displayed in Keep or Peek windows while in review mode.
5. While the MONITOR (review) mode is in effect, you can set and remove breakpoints,
perform tracing (in either direction), and display data.
Note: TRACE does not default to 25 in MONITOR (review) mode. Use the PA1 key or
the Attn key to stop a trace.
RIGHT
COBOL PL/I Assembler C Language
Description
The RIGHT command scrolls the source listing to the right by the specified scroll
amount. Scrolling beyond the right margin shows the listing information. The right
margin position is column 72.
If the cursor is in the Keep window or on displayed data, the RIGHT command is treated
as a DRIGHT command. Use the DRIGHT command to scroll the data values in a Keep or
Peek window while the cursor is in the Home position or in the source area.
Input
RIGHT
n
Data
Half
Max
Page
n
The number of columns to be scrolled. The value can be 1 to 9999.
Data
Scrolls to the right one less than the width of the scrollable source.
Half
Scrolls by a half page.
Max
Scrolls completely to the right, showing the last byte of the data.
6-20 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Page
Scrolls by the width of the scrollable source.
Usage Notes
ALL Languages
1. Left and right arrowheads (<>) are shown at the right of the execution status line,
indicating that the source can be scrolled to the left and right.
2. If the RIGHT command is entered without an operand, the value in the scroll
amount field is used. The contents of the scroll amount field can be changed by
typing over the displayed value. Any value other than Max is remembered until it is
changed again.
3. The count fields are not scrolled when the source is scrolled. They overlay the source
in a fixed position while the data underneath scrolls horizontally.
4. You can use PF10 and PF11 to scroll the source listing left and right, respectively.
5. Scrolling commands are not recorded in the log.
6. The RIGHT command is usually assigned to PF11.
RUN
COBOL PL/I Assembler C Language
Description
The RUN command is used in the Batch Connect facility to submit an execution JCL file
and automatically connect to the specified job. When the job processes successfully, your
source is displayed.
Input
RUN dsname
dsname
The name of the dataset to be submitted and connected to the terminal.
Usage Notes
ALL Languages
1. When the RUN command is entered on the Select Job Step screen after specifying the
execution mode (Interactive or Unattended) for the job steps, the JCL is
automatically converted to process in XPEDITER/TSO and the job is submitted.
XPEDITER/TSO Commands (NOLINES - TEST) 6-21
2. If the JCL is already converted, the RUN command with a dsname can be specified on
any screen, causing the named dataset to be submitted and connected to the
terminal.
3. When the RUN command is entered on the Select Job Step or Edit screens, the dsname
parameter is optional and, if omitted, the current JCL is used.
4. If the job is a long-running job, the job status is displayed on the Connect Status
screen. The status of the named job is displayed and includes:
5. A job remains connected while it is in the system (WAITING or EXECUTING) but not
yet terminated (OUTPUT or NOT FOUND).
SCRNSAVE
COBOL PL/I Assembler C Language
Description
The SCRNSAVE command copies the current XPEDITER/TSO screen to the XPEDITER log.
This allows you to save images of the current test in chronological order showing the
results of your test as it progresses.
SCRNSAVE
SET
COBOL PL/I Assembler C Language
Description
The SET command is used to override XPEDITER/TSO defaults. Some values are set only
for the duration of the test session, while others are maintained across test sessions. All
SET commands that affect module management must be in effect before loading your
program into memory. This can be done by editing an INCLUDE script that contains the
SET commands and specifying it on the test screen as an initial script before entering the
test session.
parm group 2
parm group 3
6-22 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Parameter Group 1
ABENDSCR abend-script
ON
ABNDEXIT
AUTOKEEP OFF
BRCOV
CAPS
CBLTRAP
CONFIRM
DATETIME
DYNTRAP
ESPIE
LETRAP
LOG
AUTOKEEP
KEEP
MEMORY
PEEK
VERIFY
RTEREUS
TEMPLATE
UNCHNGED
OFF
AUTOCAN
AUTOCLOS ON
AUTOSCRL
COLS
DUMP
GEN
HEXMODE
LOG FIND
NOINIT
PREINIT
REFRESH
XPEDITER/TSO Commands (NOLINES - TEST) 6-23
Parameter Group 2
;
CMDDLM
char
1
CMDSIZE
2
3
DATA xx
yy
ALL
DATAFIND
NEXT
OFF
DBCS
ON
DDIGNORE ddname-list
0
DELAY
. 0
0
1 n
2
3
DYNAMIC module-list
EXCLUDE
NOCANCEL
NOCOVER
0
HANDLER
1
ENglish
LANGUAGE
JApanese
80
LOGSIZE
132
ASIS
LOWCASE
CONVERT
KANA
LOCAL
NONE
.
NONDISP
char
6-24 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Parameter Group 3
99
NESTED
nnn
default-value
PFnn
value
1M
REVSIZE
nnnnM
nnnnnnK
IGNORE0
STATIC
OFF
ON
TRANSFER module-name
TRANSLATE OFF
ON
xx
xx
ND
RESET
yy
0
WINDOW AUTOKEEP
MAX nnn
nnn
5
KEEP
MAX nnn
nnn
3
SOURCE
MIN nnn
nnn
Note: Use the SHOW OPTIONS or the SHOW SETS command to display the test session
SET options currently in effect.
ABENDSCR
Valid only in an unattended batch test. Specifies an abend script to be executed when
an abend occurs. Provide the member name for the abend-script. It can be any name
up to eight characters. The abend script must be a member of a PDS allocated to the
ddname XINCLUDE.
ABNDEXIT
Controls whether XPEDITER/TSO intercepts abends. If ABNDEXIT is set to ON (the
default), abends are intercepted and the user is given the opportunity to correct the
error if the source for the failing module is available to XPEDITER. If ABNDEXIT is
OFF, abends are not intercepted. Be aware that setting ABNDEXIT to OFF can result in
unwanted dumps if any of the standard dump DD files have been allocated to the
test session. The SET DUMP ON command is the recommended method for
producing a dump.
For additional information about SET ABNDEXIT, refer to “Usage Notes” on page
6-35, note 1.
XPEDITER/TSO Commands (NOLINES - TEST) 6-25
CAUTION:
If the SC03 abend is the result of an open DCB being freemained or overlaid, then
the DCB will no longer be available, the file cannot be closed, and the SC03 abend is
inevitable.
AUTOKEEP
Controls whether the data referenced in the current statement is automatically
displayed in a Keep window. The default is ON. To configure the window size and
placement of the automatically kept items, refer to the SET WINDOW
AUTOKEEP/KEEP/SOURCE nnn commands.
For additional information about SET AUTOKEEP, refer to “Usage Notes” on page
6-35, note 1 and note 2.
AUTOSCRL
If the Automatic Keep window is off (SET WINDOW AUTOKEEP 0) but Autokeep is
still active (SET AUTOKEEP ON), the automatically kept data is placed at the bottom
of the regular Keep window. Enter SET AUTOSCRL ON to activate automatic
scrolling of the Keep window. The Keep window will scroll to the bottom, displaying
the last portion of the automatically kept data. With AUTOSCRL OFF (the default),
the Keep window must be manually scrolled to display any data not currently visible.
Note: SET AUTOSCRL has no effect on the Automatic Keep window when it is
displaying automatically kept data and no effect on the Keep window when
AUTOKEEP is OFF.
For additional information about SET AUTOSCRL, refer to “Usage Notes” on page
6-35, note 1 and note 2.
BRCOV
Controls Branch Coverage for a Code Coverage test. The site default setting is
determined during the installation of XPEDITER using the CTLBRCOV field of the
JCLRA093 macro. This SET command can be used to override the site default for a
specific test and must be placed in the initial script for that test.
For additional information about SET BRCOV, refer to “Usage Notes” on page 6-35,
note 1 and note 3.
6-26 XPEDITER/TSO and XPEDITER/IMS Reference Manual
CAPS
Controls whether XPEDITER/TSO converts lowercase characters to uppercase when
they are entered by typing over displayed values. If the setting is changed to OFF,
conversion does not take place. Use SET CAPS OFF in conjunction with SET
LOWCASE ASIS if your terminal supports lowercase. Otherwise, XPEDITER/TSO
defaults to converting user-modifiable fields to uppercase before writing to the
terminal. The default is ON.
For additional information about SET CAPS, refer to “Usage Notes” on page 6-35,
note 1 and note 2.
CBLTRAP (COBOL only)
Changing the setting from the default of ON to OFF deactivates both the
XPEDITER/TSO support that detects missing DD statements and the support that
opens windows at the bottom of the screen for files allocated to the terminal.
CBLTRAP should never be SET to OFF except by XPEDITER/TSO site technicians
using it for diagnostic purposes.
For additional information about SET CBLTRAP, refer to “Usage Notes” on page 6-35,
note 1.
CMDDLM
Specifies a single character to be used as a command delimiter in the XPEDITER
Batch Connect environment. The default is a semicolon (;). In a chain of XPEDITER
commands, the specified delimiter indicates the end of one command and that any
subsequent data should be treated as a new command. In the ISPF environment, the
ISPF command delimiter is used instead of the CMDDLM value.
For additional information about SET CMDDLM, refer under “Usage Notes” on page
6-35 to the portion of note 2 concerning Batch Connect.
CMDSIZE
Changes the primary command line so that it consists of one, two, or three lines. The
default value is one. This keyword allows input of commands of up to 255 characters.
You can default the primary command area to other than a single line by editing an
INCLUDE script to contain SET CMDSIZE n and specifying the INCLUDE member as
the initial script on the test screen.
For additional information about SET CMDSIZE, refer to “Usage Notes” on page 6-35,
note 1 and note 2.
COLS
Controls whether XPEDITER/TSO displays a column template when browsing a
dataset, ddname, or AA SNAP output. The default is OFF.
For additional information about SET COLS, refer to “Usage Notes” on page 6-35,
note 1 and note 2.
CONFIRM
Controls whether XPEDITER/TSO displays a confirmation message to remind you
that breakpoints and keeps are removed when D (Delete) line commands are entered.
The default is ON.
For additional information about SET CONFIRM, refer to “Usage Notes” on page
6-35, note 1 and note 2.
DATA xx yy (Assembler only)
Defines a block of executable lines of code that should be treated as data lines. No
internal breakpoints will be set on these lines as a result of GO processing. xx
indicates the starting line number, and yy optionally indicates the ending line
number.
For additional information about SET DATA, refer to “Usage Notes” on page 6-35,
note 1.
XPEDITER/TSO Commands (NOLINES - TEST) 6-27
For additional information about SET DELAY, refer to “Usage Notes” on page 6-35,
note 1 and note 2.
DUMP
Controls whether or not a dump is produced. It has no effect on the abend intercept
processing within XPEDITER/TSO. If DUMP is set to ON, XPEDITER/TSO then allows
a dump to be taken when an abend occurs. A dump will only be produced if one of
the standard dump DD files (SYSUDUMP, SYSMDUMP, or SYSABEND) is currently
allocated to the test session. The default is OFF.
When requesting a dump, it is best to issue the SET DUMP ON command just prior to
execution of the actual code that is leading to the failure so that the size and number
of dumps is limited. Correctable or expected conditions may produce unwanted
dumps. Once the dump has been obtained, SET DUMP OFF or EXIT the test.
In the case of an abend that occurs prior to the display of source, it may be necessary
to place the SET DUMP ON command in an initial script. Under LE/370, a dump will
be taken at the next breakpoint or abend.
For additional information about SET DUMP, refer to “Usage Notes” on page 6-35,
note 1.
DYNAMIC
Allows a list of 1 to 100 module names, which are dynamically loaded during
application execution.
Normally, this command is not needed if the modules are dynamically called by
COBOL programs or by the module specified with a SET TRANSFER command. SET
DYNAMIC is used to get control of dynamically called programs that are called by
Assembler programs.
DYNTRAP (COBOL only)
If DYNTRAP is set to OFF, XPEDITER/TSO does not intercept dynamically loaded
modules. However, the specified COBOL or Assembler modules are dynamically
loaded if a SET DYNAMIC module-list command is executed in conjunction with SET
DYNTRAP OFF. SET DYNTRAP OFF does not override SET DYNAMIC. The default is
ON.
SET DYNTRAP OFF must be included within an initial test script.
For additional information about SET DYNTRAP, refer to “Usage Notes” on page 6-35,
note 1 and note 3.
ESPIE
XPEDITER/TSO activates its own ESPIE (SET ESPIE ON) processing routine to detect
S0C1 abend conditions (possible breakpoint) and to handle the condition if it is a
breakpoint. An S0C1 abend that is not identified as a breakpoint will then be
handled according to the setting of ABNDEXIT (ON or OFF). If needed, the SET
DUMP ON command can be used to get a dump of an S0C1 abend, assuming that a
dump DD file has been allocated. The default is ON.
Note: If LETRAP is set to ON and the LE environment is active, ESPIE has no effect.
For additional information about SET ESPIE, refer to “Usage Notes” on page 6-35,
note 1.
EXCLUDE
A total of 100 modules can be excluded. XPEDITER/TSO will not intercept calls to
these modules or any call to subordinate modules.
XPEDITER/TSO Commands (NOLINES - TEST) 6-29
The module-list parameter allows 1 to 8 module names per SET command. Module
name lists containing more than 8 names will be truncated. The entire module-list will
be ignored for a SET command if it would cause the total number of excluded
modules to exceed 100.
The SET EXCLUDE command will replace, for the current test session, the default
exclude module list specified during the installation process, if one exists.
Use the SET EXCLUDE command when testing programs that use nonstandard
communications between modules, such as a statically-linked assembly program
loading an address and branching to a subprogram, or a COBOL or PL/I program for
which you have stubbed out subroutines at link time.
The SET EXCLUDE command must be in effect before the module is loaded in
memory. To do this, create an INCLUDE script to contain SET EXCLUDE module-list
and specify that INCLUDE member as the initial script on the test screen.
For additional information about SET EXCLUDE, refer to “Usage Notes” on page
6-35, note 3.
GEN (Assembler and COBOL only)
Assembler macro statements as well as COBOL EXEC DLI and EXEC SQL statements
can be automatically displayed either collapsed or expanded during the initial source
display. The default is OFF. The setting of this option, prior to displaying the source,
determines if these statements should be expanded (GEN ON) or collapsed (GEN
OFF). This option only affects automatic statement expansion or collapse upon the
initial display and does not affect the current source display. The GENERATE and
DELETE GEN commands can be used to interactively expand or collapse these
statements either globally, individually, or in groups.
For additional information about SET GEN, refer to “Usage Notes” on page 6-35, note
1 and note 2.
HANDLER
Changes XPEDITER’s method of intercepting application abends. The default value is
0 (zero) in environments without a VisualAge PL/I element. This causes XPEDITER to
wait until all applicable user condition handlers (UCHs) have been executed before it
presents a program-check abend to the user.
A setting of 1 will cause a program-check abend to be presented to the user after a
single execution of the handler(s), when the condition would typically get promoted.
This is intended for use in environments such as Visual-Age PL/I, where the user
intends to interactively recover from a program-check before any cleanup is done by
Language Environment. This setting is only effective when LETRAP is set to ON.
For additional information about HANDLER, refer to “Usage Notes” on page 6-35,
note 1.
HEXMODE
When HEXMODE is set to ON, any nondisplayable characters resulting from a KEEP
or PEEK command entry are represented in hexadecimal format in the log. The
hexadecimal characters are presented beneath the character used to depict a
nondisplayable character. The SET HEXMODE command affects only the log display.
The default is OFF.
The SET HEXMODE ON command is equivalent in function to using the KEEPH and
PEEKH commands. Setting HEXMODE to ON is especially useful in batch mode.
Since the log is reviewed after the test, SET HEXMODE ON ensures that sufficient
information is provided when an unexpected nonrepresentable character is
encountered in a displayed value.
For additional information about SET HEXMODE, refer to “Usage Notes” on page
6-35, note 1 and note 2.
6-30 XPEDITER/TSO and XPEDITER/IMS Reference Manual
LANGUAGE
Sets the language that XPEDITER will use for its messages. The default for the SET
LANGUAGE command is ENGLISH. XPEDITER automatically sets LANGUAGE based
on the value of ISPF variable ZLANG, except under Batch Connect. The Batch
Connect setting is determined during the installation of XPEDITER using the
CTLSLANG field of the JCLRA093 macro.
For additional information about SET LANGUAGE, refer to “Usage Notes” on page
6-35, note 1.
LETRAP
Sets the run-time Language Environment TRAP option. If LETRAP OFF is specified,
TRAP is set to OFF and XPEDITER’s abend and interrupt usage of ESPIE and ESTAE
processing is activated. This prevents the LE handlers and user handlers that rely on
ESPIE and ESTAE from getting control. Signal conditions are unaffected. If the SET
LETRAP OFF option is to be used for the current test, it must have been placed in an
initial script that was executed at run time or stored in the user profile from a
previous test. The default is ON.
For additional information about SET LETRAP, refer to “Usage Notes” on page 6-35,
notes 1, 2, 3, and 4.
LOG
Specifies if writing to the log dataset is active. The default is ON. This option is not
maintained across test sessions.
If one of the following additional parameter is specified, writing to the log dataset
will be activated for only that function:
– AUTOKEEP
– FIND (default is OFF)
– KEEP
– MEMORY
– PEEK
– VERIFY
Notice that the default for SET LOG FIND is OFF.
For additional information about SET LOG, refer to “Usage Notes” on page 6-35, note
1 and note 2.
LOGSIZE
Determines the size of the data generally written to the log file. The SET LOGSIZE
command can be used to override the default log size. The default for batch mode
testing is 132. For TSO, the default is 80. You can change the size of the log file at any
point within a test session.
Left and right scrolling is supported when viewing the log.
For additional information about SET LOGSIZE, refer to “Usage Notes” on page 6-35,
note 1.
LOWCASE
Specifies how lowercase letters found in the values of items are to be displayed. The
Batch Connect default is determined during the installation of XPEDITER using the
CTLLOWCS field of the JCLRA093 macro. The current setting for all other test
environments is kept as a variable in the user’s profile, associated with XPEDITER,
and retained until specifically altered. The options are:
CONVERT
Show lowercase characters from the user source code in uppercase.
ASIS
Display all lowercase characters if they exist.
XPEDITER/TSO Commands (NOLINES - TEST) 6-31
NONE
Show source display and all XPEDITER secondary source screens in uppercase,
allowing no lowercase English characters to be displayed on the screen.
KANA
Does everything that option NONE does, as well as specifies all uppercase using
the Katakana character translation tables.
LOCAL
Displays characters in their native representation. The command can be used for
international language character sets and forces XPEDITER not to translate non-
English characters to blanks. SET TRANSLATE can be used for any additional
characters that do not display.
For additional information about SET LOWCASE, refer to “Usage Notes” on page
6-35, note 1 and note 2.
NESTED
Limits the number of levels of nested application program calls that XPEDITER will
accept. Program nesting is when one program calls another program that
subsequently calls a third program, etc. When a called program returns to its caller,
the level of nesting is reduced by one. The default is 99.
For additional information about SET NESTED, refer to “Usage Notes” on page 6-35,
notes 1, 2, and 3.
NOCANCEL (COBOL only)
Excludes listed modules from automatic cancellation. You need to use this setting
only if you are using SET AUTOCAN ON to cancel dynamically called modules.
From one to 100 module names can be specified. A module specified with
NOCANCEL can contain the wildcard character (*). For example, if you enter SET
NOCANCEL ABC*, then modules beginning with the characters ABC are not
cancelled.
NOCOVER
Allows a list of one to 100 module names which are not to be monitored during a
code coverage test. XPEDITER/TSO does not record execution statistics or write any
results to a repository for the specified modules.
Use the SET NOCOVER command when performing a code coverage test with
multiple modules to exclude any modules from the code coverage process. This
might occur because a module has already been thoroughly tested, statistics are not
desired, another user is responsible for testing the module, or the module was coded
using non-standard practices or attributes not supported by XPEDITER.
If there are modules within a test which have no corresponding DDIO member
allocated to the test, performance can be improved by specifying the SET NOCOVER
command for such modules, because the DDIO files won’t be scanned for the
existence of source.
In order to exclude a module from monitoring during a code coverage test, the SET
NOCOVER command must be issued before the module is loaded. This can be assured
by including the command in an initial script.
The slash (/) character can be used as a terminating wildcard to cause the match to
occur only on the prefix characters preceding the slash. For example:
could be used to exclude from monitoring any module whose name began with the
characters PGM12 (such as PGM123, PGM12ABC, PGM12, etc.).
6-32 XPEDITER/TSO and XPEDITER/IMS Reference Manual
For additional information about SET NONDISP, refer to “Usage Notes” on page 6-35,
note 1 and note 2.
PFnn
Changes the setting of the specified PF key. To see the current settings, enter the
SHOW OPTIONS, SHOW PFKEYS, or SHOW SETS command.
The following table lists the default values for each of the PF keys.
For additional information about SET PFnn, refer to “Usage Notes” on page 6-35, note
1 and note 2.
PREINIT
Informs XPEDITER whether LE pre-initialization is going to be employed in the user’s
application. If CEEPIPI is going to be invoked to pre-initialize the LE environment of
a module which is going to be debugged, SET PREINIT ON must be specified in an
initial script. The default is OFF.
REFRESH
Controls whether the entire screen should be updated at every write to the terminal.
The default is OFF.
For additional information about SET REFRESH, refer to “Usage Notes” on page 6-35,
note 1.
REVSIZE (COBOL only)
If MONITOR is set ON, you can use the SET REVSIZE command to set the review log
to a size appropriate to your program. The default is 1M. K represents 1024 bytes, and
M represents 1024K (1048576 bytes). The maximum value allowed is 2047M. It is
XPEDITER/TSO Commands (NOLINES - TEST) 6-33
recommended that you reduce the size only if you have storage constraints above the
16MB line. If REVSIZE is set too low and you use up the available space, the buffer is
overwritten and you receive the message AT OLDEST RETAINED EXECUTION
POSITION.
For additional information about SET REVSIZE, refer to “Usage Notes” on page 6-35,
note 1.
RTEREUS
At some sites, the COBOL run-time option, RTEREUS, is set to ON by default. This
may have adverse effects on your XPEDITER/TSO test. To disable it, include the SET
RTEREUS OFF command in an initial script. This command will have no effect if the
COBOL run-time option is already OFF.
The SET RTEREUS ON command allows the default setting of the RTEREUS COBOL
run-time option to be used during the test. It does not set the RTEREUS COBOL run-
time option to ON.
For additional information about SET RTEREUS, refer to “Usage Notes” on page 6-35,
note 1 and note 2.
STATIC
SET STATIC IGNORE0 (the default) allows XPEDITER/TSO to intercept all resolved
external references, but not the unresolved external references. If STATIC is set to
ON, XPEDITER/TSO will replace all external references with the address of
XPEDITER/TSO’s Static Control Block. If STATIC is set to OFF, XPEDITER/TSO leaves
all external references alone.
For additional information about SET STATIC, refer to “Usage Notes” on page 6-35,
note 1 and note 3.
TEMPLATE
By default, XPEDITER/TSO displays a column template when displaying data items in
both the source and log displays. The template is a dashed line showing column
positions and is helpful for aligning characters during data entry. The length of the
column template corresponds to the length of the data area. You can disable this
feature with the SET TEMPLATE OFF command. Once issued, any items added to the
KEEP window will not have a column template. At any time, you may add a column
template to an item in the KEEP window with the T line command. You can also
remove the column template with the DT line command.
For additional information about SET TEMPLATE, refer to “Usage Notes” on page
6-35, note 1 and note 2.
TRANSFER
SET TRANSFER is used to specify the name of an interface module that dynamically
loads application modules. The transfer module must be an Assembler module that
dynamically calls a program. The first parameter passed to it must be the eight-
character name of the program it is to call, followed by any parameters needed by
that program.
TRANSLATE
Allows you to override how non-alphanumeric characters are displayed. The
hexadecimal value yy is substituted for hex value xx. Specifying ND causes the current
NONDISP character to be substituted for hex value xx. RESET causes any previously
entered TRANSLATE command for hex value xx to be undone, allowing the original
default substitution to occur. Omitting the second parameter causes hex value xx to
be replaced with hex value xx, which might be used when the NONDISP character
defaults as the replacement character for hex value xx.
Setting TRANSLATE OFF causes all previously-entered TRANSLATE overrides to be
disabled, while retaining the previously-requested values.
6-34 XPEDITER/TSO and XPEDITER/IMS Reference Manual
CAUTION:
Depending on the length of the kept items, setting UNCHNGED to OFF may
significantly increase the size of the XPEDITER/TSO log.
WINDOW
Allows you to adjust the size of the Automatic Keep window, the Keep window, or the
minimum size of the source display. SET WINDOW requires one of the following
parameters:
AUTOKEEP
Allows you to adjust the size of the Automatic Keep window and determine the
placement of the automatically kept items. The variable nnn specifies the number
of lines in the window. SET WINDOW AUTOKEEP 0, the default, displays
automatically kept data in the Keep window at the top of the source display. If
you want a separate window for automatically kept items, specify SET WINDOW
AUTOKEEP nnn to set a fixed size Automatic Keep window of nnn lines at the
bottom of your source display. If you want a separate window but want to see as
much of your source as possible, you can use the MAX parameter and specify SET
WINDOW AUTOKEEP MAX nnn to set an adjustable size Automatic Keep window
at the bottom of the screen that dynamically expands up to nnn lines.
Note: AUTOKEEP must be set to ON (the default) to display the Automatic Keep
window. Setting the size and placement of the window does not
automatically set AUTOKEEP to ON. For more information, see
“AUTOKEEP” on page 6-25.
KEEP
Allows you to adjust the size of the Keep window. The variable nnn specifies the
number of lines in the window. If the MAX parameter is specified, (e.g., SET
WINDOW KEEP MAX nnn), an adjustable size Keep window that dynamically
expands up to nnn lines is set. If the MAX parameter is not specified, (e.g., SET
WINDOW KEEP nnn), a fixed size Keep window of nnn lines is set. The default is
5.
SOURCE
Allows you to set the minimum size of the source display. The variable nnn
specifies the minimum number of lines to display. For example, SET WINDOW
SOURCE 3 sets a minimum of three source lines to be displayed. The source
window will expand as much as possible depending on the maximum size of the
Keep and Automatic Keep windows. The default is 3.
For additional information about SET WINDOW, refer to “Usage Notes” on page
6-35, note 1 and note 2.
XPEDITER/TSO Commands (NOLINES - TEST) 6-35
Usage Notes
ALL Languages
1. Defaults for all SET commands are in effect until values are changed.
2. The current setting for this option is kept in the user’s ISPF profile, allowing this
option to be retained across test sessions initiated through ISPF. Thus, the setting is
retained until it is specifically changed. Batch Connect settings always return to their
default values when a new test is initiated.
3. The following SET commands, if used, must be entered within an initial test script
that is executed before run time:
4. The SET LETRAP ON/OFF option controls the trap option of LE. ESPIE exits are not
used to capture abends by LE when LETRAP is OFF. With LETRAP OFF, LE will not
interfere with normal XPEDITER/TSO breakpoint processing. With LETRAP ON, LE
will get control at each breakpoint and then pass control to XPEDITER/TSO. This
allows the user to diagnose condition handling routines within an LE environment.
A limitation to XPEDITER/TSO with LETRAP ON and condition handling debugging
exists. The user must set a breakpoint at the beginning of the condition handling
routine and cannot set a breakpoint on the instruction that causes the abend for the
condition handler. This includes the use of GO 1 to enter the condition handler
abend. This restriction exists as a result of conflicts between XPEDITER/TSO and LE
in catching abends.
When the LETRAP command is issued, that option is saved in the ISPF profile for the
specific user who issued the command. That user must re-issue the LETRAP command
to change the option. The LETRAP command affects all XPEDITER test profiles for
the user who issues it and remains in effect from one ISPF session to the next.
Examples
ALL Languages
SHOW
COBOL PL/I Assembler C Language
Description
The SHOW command is used to display breakpoints, environmentally dependent data, or
default options. A record of the command is written to the log.
Input
SHOW ACTive
SH AFTers
ALLOCates
AT
BEFores
BReaks
COMPopts
*
program-name
COUnts
NOLOG
DCBs
FILEs
FPREGS
Gpregs
IMSfunc
INDEX
INTercept
Keeps
LINKlist
LISTING
MODules
OPTions
PFkeys
PREVious
PROgram
program-name
PSW
PTFs
REGion
SETs
SKips
TRAces
Using
VERify
WHENs
WHERE
ZAPs
When a breakpoint parameter is used with the SHOW command, all lines in the Source
window not containing the specified breakpoint are temporarily excluded. The D (Delete)
line command can be used to remove any of the breakpoints displayed. Use the DELETE
EXCLUDE or RESET command to restore the source lines. Use the LOCATE * command to
scroll to the point where execution stopped. Alternatively, if PF3 is mapped to the END
command, it can be used to reset the excluded lines.
XPEDITER/TSO Commands (NOLINES - TEST) 6-37
ACTive
Displays the general purpose register contents, Program Status Word (PSW), and
some control block information.
AFTers
Displays all after breakpoints set in the current module. Not valid in unattended
batch mode.
ALLOCates
Displays all allocated files or datasets.
AT
Displays all breakpoints set with the AT command for the current module. Not valid
in unattended batch mode.
BEFores
Displays all before breakpoints set in the current module. Not valid in unattended
batch mode.
BReaks
Displays all breakpoints set with the AFTER and BEFORE commands for the current
module. Not valid in unattended batch mode.
COMPopts (COBOL only)
Displays the correct compile and run-time options in effect. The options are:
SHOW COMPOPTS
Displays compile and run-time options for the active module.
SHOW COMPOPTS *
Displays compile and run-time options for all loaded modules.
SHOW COMPOPTS program-name
Displays compile and run-time options for the specified program.
COUnts
Displays all the statements with associated execution counters. All other lines are
excluded. In the log, the entire COBOL Procedure Division and PL/I code statements
are printed, including the counts. The option is:
NOLOG (COBOL, PL/I, and C language only)
Displays all the statements with associated execution counters. All other lines are
excluded. Nothing is printed in the log.
DCBs (COBOL only)
Displays a file status report for each COBOL module.
FILEs (COBOL only)
Same as the SHOW DCBS option.
FPREGS
Displays the floating-point registers.
Gpregs
Displays the general-purpose registers.
6-38 XPEDITER/TSO and XPEDITER/IMS Reference Manual
IMSfunc
Displays a summary report of IMS activity broken down by PCB, function code, and
number of calls.
INDEX (COBOL only)
Displays all index cells in the current module and the present values of each index.
INTercept
Displays all modules for which INTERCEPT commands have been entered and not
deleted by the DELETE INTERCEPT command. The intercepts listed should still be
active unless the intercept breakpoints have been reset. For dynamically called
modules, all breakpoints would be reset if a fresh copy of the module was loaded into
storage.
An example of how this might occur with COBOL is noted as follows:
An application program wants to load a fresh copy of a module at some point in
time, so a COBOL CANCEL is then issued prior to the dynamic call of the module.
Through interactive testing with XPEDITER, a SOURCE or LOAD command is then
issued against the module prior to the dynamic call.
The SOURCE/LOAD command causes a new copy to get loaded into storage without
any breakpoints. The subsequent dynamic call will not get the opportunity to re-
establish the breakpoints because a copy was previously found to be in existence.
Keeps
Displays all kept items and their data definitions.
LINKlist
Displays the names of all libraries defined in the system linkage list. Can be used to
help determine which versions of various products are being used.
LISTING
Displays the listing that comes from the Compuware language processor. Not valid in
unattended batch mode.
MODules
Displays all application modules loaded during the current test.
OPTions
Displays a list of all SET command options for the test session and their current
values.
PFkeys
Displays all the PF key values in effect for the test session. Invalid values can be
displayed in interactive batch if you are connected through a TSO terminal.
PREVious (COBOL, PL/I, and C language only)
Displays the last 100 known breakpoint statements.
PROgram
Displays a hexadecimal dump of the requested program-name, or a dump of the active
program if no program is requested.
PSW (PL/I and Assembler only)
Displays the content of the program status word.
PTFs
Lists significant information on currently applied PTFs.
XPEDITER/TSO Commands (NOLINES - TEST) 6-39
REGion
Displays memory available for testing.
SETs
Displays all SET command options for the test session and their current values.
SKips
Displays all outstanding SKIP commands for the current module. Not valid in
unattended batch mode.
TRAces
Displays all trace breakpoints for the current module.
USING (Assembler only)
Displays outstanding USING commands that have been issued.
VERify (Assembler only)
Displays outstanding verified items and their values in the current module.
WHENs
Displays a list of all active WHEN commands for the current module.
WHERE (COBOL, PL/I, and C language only)
Displays a list of active modules, statements, and procedures.
ZAPs
Lists significant information on currently applied PTFs.
Examples
ALL Languages
The following subsections contain examples illustrating the use of various SHOW
commands.
XPEDITER displays three status lines for each non-VSAM file. The first line contains the
DCB information that was specified in the COBOL FD entry. The second line contains the
DCB information from the allocation statement (the DD card in batch, the XPEDITER
generated file list, or the TSO ALLOCATE commands). The third line contains the DCB
information as it exists in the catalog for the physical dataset.
XPEDITER/TSO Commands (NOLINES - TEST) 6-41
SHOW PREVIOUS is useful in identifying loops and tracing the program’s recent activity
at the point of an abend.
XPEDITER/TSO Commands (NOLINES - TEST) 6-43
Note: When you enter SHOW WHENS with the INCLUDE command, the output is sent
to the log, but not to the screen. Only the WHEN commands for the current
module are sent to the log.
XPEDITER/TSO Commands (NOLINES - TEST) 6-45
SKIP
COBOL PL/I Assembler C Language
Description
The SKIP command bypasses a statement or module. The skip breakpoint is indicated by
an S in column 9 on the Source screen. If the line command area is expanded for 31-bit
mode addressing, the breakpoint indicator is displayed in column 11 on the Source
screen.
Input
SKIP location
SKI
S
location
A place where breakpoints can be set or deleted. See “Common Parameters” on page
xviii for details about location.
You can specify a list separated by spaces or commas, or a range; e.g., statement-
number THRU statement-number. THRU is a required keyword when a range is
specified. For additional information on these parameters, refer to “Notation Rules”
on page xvii.
XPEDITER/TSO Commands (NOLINES - TEST) 6-47
Usage Notes
ALL Languages
Note: Caution should be taken when using the SKIP command. There are some
usage risks when the logical flow of a program is changed. Program abends
(S0C4 or S0C7) could occur, or you could run off the end of your program,
yielding unpredictable results.
4. The S line command cannot be entered on the same line with any other line
command. If an A (After) or B (Before) breakpoint is on the line, it is reset and only
the S (Skip) remains in effect.
5. Use the DELETE SKIP command or DS line command to end the SKIP function.
COBOL
1. If you want to skip performing a paragraph, set SKIP on a PERFORM statement and
not on the paragraph.
2. If you want to skip a nested program, set a SKIP on a CALL statement or skip all the
statements in the nested program using SKIP program-name:ALL.
3. The S line command is valid on any line that contains a paragraph or section
heading, or a COBOL verb.
Assembler
PL/I
1. The SKIP command can only be used on code lines, not data lines.
2. The skip is set on the first code statement on the line. Skips cannot be set at other
statements on the same line.
6-48 XPEDITER/TSO and XPEDITER/IMS Reference Manual
3. If you want to skip a procedure, use the SKIP command on all calls to the procedure
and not on the procedure statement.
C Language
1. The SKIP command can only be used on code lines, not data lines.
2. If there are multiple statements on a line, the skip command applies to all of them.
In such a case, only a single statement cannot be skipped.
3. If you want to skip a function, use the SKIP command on all calls to the procedure
and not on the function definition.
Examples
ALL Languages
Note: For qualification purposes, a colon must follow your entry. For additional
information on qualification, refer to “Command Qualification Rules” on
page 1-4.
SOURCE
COBOL PL/I Assembler C Language
Description
The SOURCE command is used to change the source file shown on the source display
when testing interactively. XPEDITER/TSO assumes that any subsequent breakpoints and
variables that are not fully qualified are to be found in the specified module (external
procedure).
In an unattended batch test, the SOURCE command is used to qualify the specified
module. Any commands issued after the SOURCE command are executed in relation to
the specified module until a TEST, INTERCEPT, or another SOURCE command is
encountered.
Input
SOURCE
SOU module-name
SO
module-name
The name of the module, external procedure or function, entry point, or CSECT to be
displayed on the Source screen.
You can also refer to a program or module by the name of the load module.
Usage Notes
ALL Languages
1. If the SOURCE command is specified without an operand, the active source module is
assumed in batch and interactive modes, and displayed in interactive mode.
2. If the source is not found (for example, if it was not compiled with the
XPEDITER/TSO procedure), an error message is displayed.
The source is not displayed if a source listing does not exist for the program.
3. The first time a SOURCE command is issued for a module, XPEDITER/TSO is
positioned at the beginning of the module.
4. If a second request for the same module/procedure is made at the same breakpoint
and a GO command has not been entered, XPEDITER/TSO redisplays the last screen
shown in that module.
5. When testing in interactive mode, LOCATE * always returns to the point of origin,
that is, the place where execution was suspended in the original source file.
6. Typing over the program name in the header area serves the same purpose as using
the SOURCE command.
7. When multiple copies of the module exist, you must uniquely qualify the load
module and program name combination. For example, SOURCE LOADM1::PROG-A
displays the source for program PROG-A in load module LOADM1 whereas, SOURCE
LOADM2::PROG-A displays the source for program PROG-A in load module
LOADM2. Refer to “Command Qualification Rules” on page 1-4 for additional
information.
8. If an intercepted module is being reloaded into storage by this command, the normal
intercept breakpoints will not be reestablished. This could also be the case if the
module was deleted or cancelled by the application program prior to this command
being issued. The INTERCEPT command can be used to reestablish the normal
intercept breakpoints.
Examples
ALL Languages
SOURCE TRITST
SOURCE
6-50 XPEDITER/TSO and XPEDITER/IMS Reference Manual
STATUS
COBOL PL/I Assembler C Language
Description
The STATUS command is used to display the Status screen containing a list of the jobs in
the system. An example of the Status screen is shown in Figure 6-45 on page 6-50.
The STATUS command can be entered on any screen except the Source screen and any
screen accessed by the source (Memory, Browse, Log).
Input
STATUS
ST
A (Attach)
Connects to a job and displays the source of each job step for which the I
(Interactive) command was specified. A message is displayed notifying you that the
job step selected for testing is executing. If you specified the I command on more
than one job step, a message is displayed before each selected step is executed.
B (Browse)
Displays the job’s JES2 Job Log if it is on the Output queue.
C (Cancel)
Cancels the job.
I (Information)
Displays the status of the job.
P (Purge)
Cancels and purges the job.
R (Requeue)
Requeues a job and displays the status of the job in the queue. You can then enter a
new class into which the held output will be queued.
XPEDITER/TSO Commands (NOLINES - TEST) 6-51
Jobname
A specific job name: blank for TSO user ID or * for all jobs using Batch Connect.
Sort Sequence
The sort sequence of listed jobs: either JOBNAME or JOBID.
CMD
Any of the line commands displayed at the top of the screen: A, B, C, I, P, R.
JOBNAME
The name of the job in the system.
JOBID
The JES number of the named job.
STATUS
The status of the named job:
H
The hold status of the job: Y (yes) or N (no).
CONNECT
The connect status of the job:
MESSAGE
Area reserved for an error or status message.
T (Template)
COBOL PL/I Assembler C Language
Description
The T (TEMPLATE) line command is used to display the column template above a
displayed or kept item.
Note: The T line command can also be used to set a trace breakpoint on a code
statement. See “TRACE” on page 7-1 for information on the T (Trace) line
command.
6-52 XPEDITER/TSO and XPEDITER/IMS Reference Manual
Input
T Line Command Syntax
T - Display a column template above a displayed or kept item
TT - Display column templates above each displayed or kept item
in a block
Usage Notes
ALL Languages
TEST
COBOL PL/I Assembler C Language
Description
The TEST command is used in the input command stream (XPIN DD) to specify the name
of the program to be tested and the parameters necessary to establish the test. The TEST
command is not used in the BTS, IMS/DC, and Dialog environments.
Input
TEST program-name
ENTry entry-point
LOAdm load-module
INITscr initial-script
POStscr post-script
PARm 'parm-string'
STD
PARm
NOQ
SUB
program-name
The name of the load module to be tested. This is a required field.
ENTry (COBOL and Assembler)
An optional alternate entry-point in the module if execution is to begin from some
point other than the link-edited entry point, or the entry-point for the load module
if no entry-point is specified in the link-edit.
XPEDITER/TSO Commands (NOLINES - TEST) 6-53
LOAdm
If the program to be tested is a member of a statically linked load module, enter the
name of the composite load module as the value for this parameter. When entered,
execution starts at the named program name, not at the linked entry point of the
load module. If the program name and the load module name are the same, a value is
not required for this field.
INITscr
The member name of the initial test script. This test script is executed before the
execution of any commands in the input command stream the first time the test is
executed. The initial-script specified must be a member of a PDS allocated to the
ddname XINCLUDE.
POStscr
The member name of the post script. It can be any name up to eight characters. The
post-script must be a member of a PDS allocated to the ddname XINCLUDE. This script
is executed after the COBOL GOBACK or PL/I END statement of the high-level
module is encountered, but before the test session is exited.
PARM
The following parameter is valid only for the Standard environment:
’parm-string’
A run-time parameter, if one is required by the program. The PARM string
specified can be up to 100 characters. The value is entered as it would be in batch
JCL, enclosed in single quotes.
If a batch PARM string is specified both on the TEST command and in the JCL,
the PARM value on the TEST command is used.
PARM
The following values are valid only if IMS was specified as the value for the
environment on the previous XPED command:
STD
STD is the default, and is used when testing a standard IMS program.
XPEDITER/TSO passes the PARM string to the program unaltered.
SUB (COBOL and Assembler)
Specify a value when an IMS subroutine is to be tested as a stand-alone program.
XPEDITER/TSO issues a prompt, requesting entry of the USE command at the
outset of the test. The USE command must be issued to assign addressability to
the PCB. For more information, refer to “USE” on page 7-6.
NOQ (COBOL and Assembler)
(No queue.) Specify a value when an IMS/DC program is to be tested under the
XPEDITER/TSO environment. XPEDITER/TSO matches the PARM string that IMS
passes to the program with the PARM string that the program is expecting in
reverse order. This allows you to test the logic and database calls of an IMS/DC
program under TSO when a message queue is not available.
Usage Notes
ALL Languages
1. Place the TEST command after the XPED command in the command stream and
before any breakpoint commands.
6-54 XPEDITER/TSO and XPEDITER/IMS Reference Manual
If breakpoint commands are entered before the TEST command, the test is
terminated.
2. The TEST command is used to specify the program to be tested for all environments
except BTS, IMS/DC, and Dialog. Refer to “INTERCEPT” on page 5-11 for information
on how to invoke programs for testing in this environment.
3. Any number of TEST commands can be entered in the same job stream. All
commands that follow a TEST command are executed in relation to the program
specified by that TEST command until either another TEST command or an
INTERCEPT command is entered.
4. XPEDITER/TSO automatically generates a TEST command for interactive tests.
5. The TEST command and the parameters specified are recorded in the log.
6. Any commands following an EXIT command and preceding another TEST command
are executed in relation to the program specified on the TEST command preceding
the EXIT command.
7. Any commands entered between the GO and the EXIT commands associated with a
test will be executed at the end of the test before execution of any post scripts for
that test.
7-1
Chapter 7.
XPEDITER/TSO Commands (TOGGLE - :) C ha p 7
TOGGLE
COBOL PL/I Assembler C Language
Description
The TOGGLE command allows you to switch back and forth between the Listing screen
and the Storage screen for all languages.
If you have a need to use this command extensively, it is recommended that you assign a
PF key to the TOGGLE command to improve its efficiency.
Input
TOGGLE
TOP
COBOL PL/I Assembler C Language
Description
The TOP command scrolls to the start of the data currently displayed on the screen. A ***
TOP OF MODULE *** indicator appears at the beginning of the display, followed by the
first line of available data.
The TOP command is the same as the UP MAX command. Refer to “UP” on page 7-5 for
information on the UP command.
Input
TOP
TRACE
COBOL PL/I Assembler C Language
Description
The TRACE command monitors the flow of logic as your program executes.
7-2 XPEDITER/TSO and XPEDITER/IMS Reference Manual
A record of the command and a message at each trace breakpoint is written to the log.
Logging of the trace breakpoints can be suppressed by entering the SET LOG TRACE OFF
command.
The TRACE command can be interrupted by the PA1 key at any time. It can also be
controlled by other XPEDITER/TSO commands. A trace is also interrupted by reaching
the MAX limit, a pause breakpoint, or by a display to the terminal.
XPEDITER/TSO highlights the specified instruction lines as they are executed, without
pausing, when followed by the GO command.
Input
TRACE location
TRA MAX n
location
A place where a trace breakpoint can be set. See “Common Parameters” on page xviii
for details about location.
You can specify a list separated by spaces or commas, or a range; e.g., statement-
number THRU statement-number. THRU is a required keyword when a range is
specified. For additional information on these parameters, refer to “Notation Rules”
on page xvii.
MAX n
Sets a maximum number of trace breakpoints to display without an intervening
pause, where n is a positive integer. The default for an interactive test is 25 and for a
batch test is 2500.
Usage Notes
ALL Languages
1. The use of ALL and its keywords sets trace breakpoints in the qualified module
(external program/procedure). TRACE ALL with no keyword defaults to TRACE ALL
STATE.
2. The trace breakpoint is similar to a before breakpoint except in modules. Modules are
traced on entry to and exit from the module. Trace breakpoints can be used with all
other breakpoint commands except SKIP.
3. Use the DELETE command or DT line command to end the trace.
COBOL
1. A trace message is written to the log before each trace breakpoint, and all kept items
are updated except TRACE ALL MOD and TRACE module-name. These two trace
XPEDITER/TSO Commands (TOGGLE - :) 7-3
breakpoints are only written to the log. Execution is immediately resumed from the
breakpoint without returning control to the terminal.
Note: In COBOL only, TRACE ALL PROG traces every Procedure Division nested
within a single COBOL source.
2. In MONITOR mode, a MAX parameter previously entered is not used. Use the
attention interrupt to halt the trace. If MAX is entered in MONITOR mode, the
command is rejected.
3. The current value of MAX n is reset to zero when the trace is interrupted by pause
breakpoints or the use of the attention interrupt. Use the GO command to resume
execution.
PL/I C Language
1. The TRACE command can only be used on code lines, not data lines.
2. The trace is set on the first code statement on the line. The TRACE command cannot
be set at any other statements on the same line.
Assembler
1. Trace on an unexpanded macro sets a single trace breakpoint each time the first
instruction in the macro is executed.
2. TRACE ALL MODULES followed by the GO command records in the log the caller,
the called module, and the number of times the module is called. Tracing occurs only
if modules are statically called. SET STATIC OFF disables tracing.
3. Relative addressing (+/- calculation factor), register addressing (Rn), and indirect
addressing (Rn%/?) are supported with the TRACE command. Note that if registers
are used, they should be initialized to correct values before the command is issued.
Examples
ALL Languages
TRACE TRISUB:DETERMINE-TYPE
TRACE NESTSUB1:ALL
Note: For qualification purposes, the colon shown in the examples above must be
entered. For additional information on qualification, refer to “Command
Qualification Rules” on page 1-4.
7-4 XPEDITER/TSO and XPEDITER/IMS Reference Manual
TSO
COBOL PL/I Assembler C Language
Description
The TSO command executes TSO commands from within an XPEDITER/TSO interactive
test session.
Input
TSO tso-command-and-operands
tso-command-and-operands
Any valid TSO command and its operands.
Usage Notes
ALL Languages
Some other shop-dependent command processors may work without interfering with
the test session. It is recommended that you check with your local technical support
group before trying any other commands.
2. If you are using the XPEDITER/TSO ISPF Interface and Release 2 or higher of
ISPF/PDF, then the ISPF command of the same name is used to process commands
entered from the command line. Some other shop-dependent restrictions can apply.
Examples
ALL Languages
1. To invoke the list catalog command processor, enter the following on the command
line:
TSO LISTC
XPEDITER/TSO Commands (TOGGLE - :) 7-5
2. You may invoke a user-written CLIST when you are not in the DIALOG test
environment. To do this, you are required to enter the following on the command
line:
TSO EX ’YOUR.CLIST(TSTALLOC)’
UP
COBOL PL/I Assembler C Language
Description
The UP command scrolls toward the top of your file or screen display. Scrolling UP rolls
the displayed lines downward, bringing the preceding section of the file into view.
Input
UP
n
Csr
Data
Half
Max
Page
n
A number from 1 to 9999 that specifies the number of lines to be scrolled.
Csr
Scrolls based on the current position of the cursor. The line indicated by the cursor is
moved to the bottom of the screen. If the cursor is not in the body of the data or if it
is already positioned at the bottom, a full page scroll occurs.
Data
Brings the last visible line at the top of the screen to the bottom of the screen.
Half
Scrolls by a half page.
Max
Scrolls to the top of the file.
Page
Scrolls by one page.
Usage Notes
ALL Languages
7-6 XPEDITER/TSO and XPEDITER/IMS Reference Manual
1. If the UP command is entered without an operand, the value in the scroll amount
field is used. The scroll amount field can be changed by typing over the displayed
value. Any scroll amount value except Max is remembered until it is changed again.
2. The UP command is usually assigned to PF7/19.
USE
COBOL
Description
The USE command establishes addressability for Linkage Section items that are really IMS
Program Communication Blocks (PCBs). This command is used primarily in unit testing
IMS subprograms.
The USE command allows you to unit test subroutines that make calls to IMS databases.
XPEDITER/TSO gives you access to the main calling program’s list of PCBs defined in the
program’s Program Specification Block (PSB). The USE command is valid only when the
value of SUB is specified as a test session parameter for the IMS environment.
By default, XPEDITER/TSO dynamically creates work areas for all Linkage Section items
during a unit test. The SUB entry suppresses this feature for those Linkage Section items
that are to be referenced as database PCBs.
When testing interactively, the value of SUB is specified for the PARM Passing Option
field on the XPEDITER/TSO (IMS) entry screen. When testing in batch mode, the value of
SUB is specified for the PARM option of the TEST command.
Input
identifier
A valid 01-level or 77-level data name defined in the Linkage Section of the program
being tested.
PCB-n
Program communication block, where n is an integer.
IOPCB
I/O program communication block.
ALTPCB-n
Alternate IOPCB, where n is an integer.
pcbname-n
Database descriptor name, where n is an integer.
XPEDITER/TSO Commands (TOGGLE - :) 7-7
Usage Notes
1. If PCB-n is specified, XPEDITER/TSO assigns to the identifier the nth database PCB in
the list of PCBs normally passed to the main program as defined by the application
PSB.
2. If IOPCB is specified, XPEDITER/TSO assigns the message queue PCB to the identifier.
3. ALTPCB and ALTPCB-1 are equivalent.
4. If pcbname-n is specified, XPEDITER/TSO searches the current list of PCBs for the nth
occurrence of the pcbname to be assigned to the identifier. The -n suffix is not
required for the first occurrence of a database in the PSB.
5. If you want to use the USE command for a batch IMS test, all control statements after
the USE command must be in an initial script. Otherwise, the job will abend.
Examples
1. To assign the second database PCB to Linkage Section data name LINK-ITEM-3, enter:
3. To assign the second occurrence of database D21PART to Linkage Section data name
LINK-ITEM-3, enter:
4. To assign the message queue PCB to Linkage Section data name LINK-ITEM-3, enter:
USING
Assembler
Description
The USING command establishes addressability to a DSECT. The command is effective
only if the following requirements are met:
• The application program has already established a base register for the referenced
DSECT.
• The program has loaded the base register with the appropriate value.
Input
dsect-name
The name of a DSECT, a DSECT item, or a variable qualified by a label from a labeled
USING statement.
location
A specified place where dsect-name is to start. Valid locations are address, data-name,
or data-name + offset. If location is an address, a value of 0 cannot be used.
Rn
The general-purpose register that contains the address used to establish
addressability to the specified DSECT. Valid values are R0 through R15.
Usage Notes
1. Several USING commands can be issued in an XPEDITER/TSO test session. There is
no maximum number.
2. To reassign a dropped register as the base register, enter the DROP command or
reissue the USING command. See “DROP” on page 3-9 for a description of the DROP
command.
3. This command is primarily used in connection with the GETMAIN command. A work
area must be allocated first. See “GETMAIN” on page 4-18.
Examples
Examples of valid forms of the USING command are:
USING ALABL.BITEM R4
5. Figure 7-1 shows an example of entering a USING command. Prior to this, R6 was
loaded with the appropriate address. The Keep window was expanded with the SET
command to show all the explicit and automatic keeps.
XPEDITER/TSO Commands (TOGGLE - :) 7-9
Figure 7-2 shows the memory display for register 6 at location 67309 as a result of the
commands entered in Figure 7-1.
Figure 7-3 shows that the address to a DSECT has been reassigned.
7-10 XPEDITER/TSO and XPEDITER/IMS Reference Manual
VERIFY
Assembler
Description
The VERIFY command displays the Op (operation) code and effective address of a
specified instruction or data area. You can type over the unprotected instruction fields on
the verify display as if applying dynamic zaps to your module. All values in a verify
display are shown in hexadecimal format.
Both the VERIFY command and its displayed data are written to the log unless suppressed
by the SET LOG VERIFY OFF command.
Input
VERIFY address
VER label-name
V offset
statement-number
address
A 24- or 31-bit address.
label-name
The entry name field of an Assembler statement.
offset
Identifies an area in storage relative to the beginning of the area. It must be a plus (+)
sign, followed by a valid hexadecimal number. Otherwise, the value would be
interpreted as one of the remaining parameters noted above.
statement-number
A valid program statement number.
Usage Notes
1. The VERIFY command on an unexpanded macro expands the macro and displays the
appropriate Op (operation) code on the expanded instructions.
2. Any data displayed in columns 74-80 disappears from the screen when the VERIFY
command is entered on the same line. The data reappears when the verify display is
reset. The source can be scrolled to the right if necessary.
3. The VERIFY command on a data area longer than 16 bytes is truncated. If the data
type is X (hexadecimal), however, the displayed value is scrollable.
4. The effective addresses displayed by the VERIFY command do not necessarily reflect
assembly time values. The values that appear in the verify display are calculated at
execution time as the base address is established.
5. If a VERIFY command is entered on an instruction or a data area before addressability
is established, the result is unpredictable.
6. If the V line command is entered on a statement that contains an instruction, the
instruction is displayed. If the line contains the definition of a data area, the data
area is displayed.
7. The DELETE command can be used to turn off the VERIFY command. An expanded
macro is not collapsed unless the DELETE GEN command is used.
8. The instruction, op code, operands, and data areas in a verify display can all be typed
over. This allows dynamic zaps to your module during the test session.
Examples
1. In Figure 7-4 and Figure 7-5, the V line command is used to display the contents of a
group of instructions.
2. In Figure 7-6 and Figure 7-7, the VV line command is used to display the contents of
the data areas on the specified block of lines.
000179 ********************************************************
vv 180 TYPEI DS PL2 ž
000181 TYPEII DS PL2 ž THESE FIELDS PASSED TO DSECT
000182 TYPEIII DS PL2 ž IN SECOND SUBORDINATE MODULE.
000183 TYPEIV DS PL2 ž
000184 ********************************************************
000185 TYPE DS ZL1 ž
000186 INREC DS 0CL80 ž THESE FIELDS PASSED TO DSECT IN FIRST
000187 SIDEA DS ZL1 ž SUBORDINATE MODULE: DO NOT CHANGE
000188 SIDEB DS ZL1 ž ORDER OR LENGTHS.
vv 189 SIDEC DS ZL1 ž
000190 FILLER DS CL77 ž
000191 ********************************************************
000192 END TRIMAINA
000179 ********************************************************
000180 TYPEI DS PL2 000191 > 000C
000181 TYPEII DS PL2 000193 > 000C
000182 TYPEIII DS PL2 000195 > 000C
000183 TYPEIV DS PL2 000197 > 000C
000184 ********************************************************
000185 TYPE DS ZL1 000199 > 00
000186 INREC DS 0CL80 00019A > F3F4F540 40404040 40404040 40404040
000187 SIDEA DS ZL1 00019A > F3
000188 SIDEB DS ZL1 00019B > F4
000189 SIDEC DS ZL1 00019C > F5
000190 FILLER DS CL77 ž
000191 ********************************************************
000192 END TRIMAINA
WHEN
COBOL PL/I Assembler C Language
Description
The WHEN command pauses whenever a specified condition is true or when a program
variable changes value. Three types of conditions are evaluated:
XPEDITER/TSO stops after the instruction that meets the requirements of the WHEN
command and before the next instruction to be executed. The message area indicates
that the WHEN condition was met.
Input
WHEN data
conditional-expression
data
Specifies a data-name, data-label, or variable.
conditional-expression
Any valid expression supported by XPEDITER/TSO that tests logical relationships.
The following standard operators and values are valid:
Usage Notes
ALL Languages
1. The WHEN command checks the value of the field after each statement is executed.
2. When a WHEN condition is satisfied, the execution arrow is displayed as a double-
headed arrow (====>>) and stops after the statement is executed.
3. Use the colon program/module qualification to uniquely qualify variable names and
for nested programs. For more information, refer to “Command Qualification Rules”
on page 1-4.
4. If a WHEN was set on a program variable and the variable contains invalid data,
XPEDITER/TSO processes this as false, not as an error condition.
5. The WHEN command can be set before a variable has addressability. XPEDITER/TSO
will detect when a variable gains and loses addressability as follows:
– Controlled variable: Stops when the storage is explicitly allocated and freed by
the program.
– Automatic Variable: Does not stop when the storage is allocated and deallocated
by PL/I or C (as you execute your program).
– Based variable: Stops when addressability is established and lost by changing
the value of the base (pointer) but not by changing the address of the base
(pointer).
– Static variable: Addressability is established throughout the procedure. A WHEN
data-change is not concerned about addressability gain or loss.
6. The SHOW WHENS command displays a list of all active WHEN conditions for the
current module. The D line command may be used to delete individual WHEN
conditions from the displayed list.
7-14 XPEDITER/TSO and XPEDITER/IMS Reference Manual
7. In an unattended batch test, the WHEN command does not cause a pause. Instead,
when the value of a data name changes, an identifying message is displayed. A KEEP
command should be used in conjunction with the WHEN command.
8. Use the DELETE WHEN command to remove the WHEN condition.
9. If no conditional expression is specified, CHANGES is the default.
COBOL
1. An XPEDITER/TSO conditional-expression has the same form and follows the same
rules as the COBOL IF verb construct, with some exceptions.
PL/I C Language
1. WHEN array (subscript) checks the array value change or the subscript change. When
either value changes, the program stops.
2. Pointer (->) qualification can be used where applicable. If qualification is not
entered, the default, if one exists, is used.
Examples
ALL Languages
WHEN WORK-REC
4. Figure 7-8 displays a WHEN data change breakpoint that stops the program at
statement 26. The message area identifies the cause of the pause breakpoint.
5. To stop execution when a specific value is found for a data item, enter:
WHEREIS
COBOL PL/I Assembler C Language
Description
The WHEREIS command displays the location of a specific address or module. A record of
the command is written to the log.
Input
WHEREIS
WHERE address
W label-name
module-name
offset
address
A 24- or 31-bit address.
label-name (Assembler)
The entry name field of an Assembler statement.
module-name
The name of a program module.
offset
Identifies an area in storage relative to the beginning of the area. It must be a plus (+)
sign, followed by a valid hexadecimal number. Otherwise, the value would be
interpreted as one of the remaining parameters noted above.
Usage Notes
ALL Languages
3. If an address is entered with the WHEREIS command, the address, module name, and
offset appear in the message area. For example:
4. If an offset is entered with the WHEREIS command, the offset and address appear in
the message area. For example:
Examples
ALL Languages
1. To find the address of a module, enter the following on the command line:
2. To find the address of a module when it is not in the current load module, enter the
following on the command line:
3. To determine where the address AB98 is located, enter the following on the
command line:
WHEREIS AB98
WHEREIS +5AA
WS
COBOL
Description
The WS command displays all of the variable names in the Working-Storage section of
the active source program.
For nested programs, WS displays all variable names in the Working-Storage of each
nested program.
Input
WS
Figure 7-9 on page 7-17 shows the result of entering the WS command on the primary
command line of the active source program. To return to your current point of execution
after viewing WS, enter LOCATE *.
XPEDITER/TSO Commands (TOGGLE - :) 7-17
XCHANGE
COBOL PL/I Assembler C Language
Description
The XCHANGE command is valid only if you have XPEDITER/Xchange installed at your
site.
The XCHANGE command invokes the XPEDITER/Xchange primary screen to simulate date
and time changes for your applications. Xchange provides an easy and efficient way to test
time-sensitive applications.
Input
XCHANGE
XCH
Usage Notes
1. You can dynamically activate XPEDITER/Xchange for the program you are testing by
entering the following on the command line:
Where:
– ssss identifies the Xchange subsytem to be updated and defaults to CWXG.
– yyyy/mm/dd identifies the Xchange date and defaults to the current date.
– hh:mm:ss identifies the Xchange time and defaults to the current time.
Note: This form of the command is not valid in Batch Connect. Refer to the
XPEDITER/Xchange Installation and Reference Manual for additional information.
7-18 XPEDITER/TSO and XPEDITER/IMS Reference Manual
2. To return to your XPEDITER session from the Xchange primary screen, press PF3.
XPED
COBOL PL/I Assembler C Language
Description
The XPED command is used in the input command stream (XPIN DD) to specify the
environment for the test session.
Input
XPED environment
BATCH
Unattended batch environment.
BATCH PEM
Unattended batch environment testing a Hogan BATCHPEM application with
breakpoints and module tracing allowed in the BATCHPEM module as well as the
application modules.
BTS
BTS environment.
BTS PEM pem-driver
BTS environment testing a Hogan IMSPEM application with breakpoints and module
tracing allowed in the IMSPEM module as well as the application modules. Specify
pem-driver as IMSPEM or the installation equivalent.
DSP
DB2 Stored Procedures environment.
IMS
IMS/DB environment.
IMS PEM
IMS environment testing a Hogan DLIPEM or BMPPEM application with breakpoints
and module tracing allowed in the DLIPEM or BMPPEM module as well as the
application modules.
TSO
Interactive batch environment.
TSO PEM
Interactive batch environment testing a Hogan BATCHPEM application with
breakpoints and module tracing allowed in the BATCHPEM module as well as the
application modules.
Usage Notes
1. The XPED command must be the first command in the input command stream.
XPEDITER/TSO Commands (TOGGLE - :) 7-19
2. A value should be specified for the environment parameter. However, if the environment
value is omitted, the default value of BATCH is assumed.
3. Only one XPED command can be entered for each unattended batch test.
Multiple TEST commands can be entered to specify each program to be tested when
the tests are to occur in the same environment.
4. The XPED command is recorded in the log.
5. When testing interactively, XPEDITER/TSO automatically generates an XPED
command.
: (Colon)
COBOL PL/I Assembler C Language
Description
Use the colon (:) line command when testing interactively to scroll a line to a specific
column or to prevent a line from being scrolled further. This command is only valid on a
line that is displaying a character data field which is larger than the screen size.
Input
: Line Command Syntax
: - Freeze the line at the current column position
:n - Scroll a line to column n
Usage Notes
1. A : without a column number freezes the line at the current column position. Once
the line has been positioned at the specified column, the line will no longer scroll
using the LEFT and RIGHT primary commands until a D: line command is entered or
the displayed or kept item is removed. To scroll the frozen item right or left, use the (
scroll data right line command or the ) scroll data left line command to position the
window.
2. A : followed by a column number repositions the line to begin with the specified
column number.
7-20 XPEDITER/TSO and XPEDITER/IMS Reference Manual
A-1
The following table describes each COBOL-structure keyword and the verbs that the
keyword identifies. All verbs are shown in capital letters. Where keywords to a verb are
listed, the keywords are shown in lowercase, and the verbs, capitalized, are enclosed in
parentheses.
Everything in the INPUT keyword, plus ADD, by (PERFORM), CALL, COMPUTE, DIVIDE,
EXAMINE (OS/VS COBOL only), from (PERFORM, WRITE), INITIALIZE (VS COBOL II only),
ALTer INSPECT, MOVE, MULTIPLY, SEARCH, SET, STRING, SUBTRACT, TRANSFORM (OS/VS
COBOL only), UNSTRING, varying (PERFORM);
Everything in the CONDition keyword, plus ALTER, CALL, CONTINUE, ENTRY, EXIT,
GOBACK, GO TO, NEXT SENTENCE, PROCEDURE DIVISION, PERFORM, STOP, INPUT
PROCEDURE, OUTPUT PROCEDURE;
BRAnch
EXEC CICS keywords: ABEND, HANDLE ABEND, HANDLE AID, HANDLE CONDITION,
LINK, RETURN, XCTL;
ACCEPT, CALL, CLOSE, DELETE, DISPLAY, EXHIBIT (OS/VS COBOL only), MERGE, OPEN,
READ, RELEASE, RETURN, REWRITE, SORT, START, WRITE
NOTE: The CALL modules must be specified on the Input/Output Module Definition
screen completed at installation time or they will not be highlighted by the FIND IO
command.
EXEC CICS keywords: CONVERSE, DELETE, DELETEQ TD, DELETEQ TS, DBR, READ,
READNEXT, READPREV, READQ TD, READQ TS, RECEIVE, RESETBR, RETRIEVE, REWRITE,
IO
SEND, STARTBR, NCPOINT, UNLOCK, WRITE, WRITEQ TD, WRITEQ TS;
CALL CBLTDLI function code keywords: CHKP, CHNG, CLSE, CMD, DEQ, DLET, FLD,
GCMD, GET CHN, CHNP, GHU, GN, GNP, GU, IRST, LOAD, LOG, OPEN POS, PURG,
REPL, ROLB, ROLL, SHCD, SNAP, STAT, SYMCHKP, SYNC, TERM, XRST;
EXEC DLI keywords: CHKP, DLET, GU, GN, GNP, ISRT, LOAD, LOG, REPL, ROLL, ROLB,
SCHD, STAT, SYMCHKP, TERM, XRST;
EXEC SQL keywords: CLOSE, COMMIT, DECLARE CURSOR, DELETE, FETCH, INSERT,
OPEN, ROLLBACK, SELECT, UPDATE
Receive data into the program:
EXEC CICS keywords: CONVERSE, READ, READNEXT, READPREV, READQ TD, READQ TS,
RECEIVE, RETRIEVE;
Input or INPut
EXEC DLI keywords: GU, GN, GNP, STAT;
CALL CBLTDLI function code keywords: CMD, FLD, GCMD, GET, GHN, GHNP, GHU,
GN, GNP, GU, POS, STAT;
DELETE, DISPLAY, EXHIBIT (OS/VS COBOL only), MERGE, RELEASE, REWRITE, SORT,
WRITE;
EXEC CICS keywords: CONVERSE, DELETE, DELETEQ TD, DELETEQ TS, REWRITE, SEND,
Output or
WRITE, WRITEQ TD, WRITEQ TS;
OUTput
CALL CBLTDLI function code keywords: CMD, DLET, FLD, ISRT, REPL, SNAP;
address space. The range of addresses available to breakpoint. A location or offset (paragraph or
a programmer. statement) within the program where XPEDITER
“breaks” or temporarily suspends normal program
alternate entry points. An alternate entry point execution to perform another function.
is created whenever an ENTRY statement is used in
COBOL, even if the ENTRY statement is the first C370 language processor. One of the language
statement in the Procedure Division. processors provided by Compuware, this language
processor accepts C compiler output, builds work
array. A collection of one or more elements with records, sorts and merges the records, and merges
the same characteristics grouped into one or more the records with the listing to produce processor
dimensions. control blocks that can then be used as input to
other Compuware products
assemble. The preparation of a machine language
program from a symbolic language program by CA-Optimizer. A COBOL productivity and opti-
substituting absolute operation codes for symbolic mization product for the OS and OS/VS environ-
operation codes and absolute or relocatable ments. CA-Optimizer optimizes COBOL programs.
addresses for symbolic addresses. It works on the object code of a program, reducing
the size of the program and its run time by elimi-
Assembler language processor. One of the lan- nating redundant machine instructions.
guage processors provided by Compuware, this
language processor accepts Assembler output, case sensitivity. Whether a group of letters is
builds work records, sorts and merges the records, uppercase or lowercase.
and merges the records with the listing to produce
processor control blocks that can then be used as CICS. Customer information control system.
input to other Compuware products.
COBOL language processor. One of the language
base address. The beginning address of the stor- processors provided by Compuware, this language
age area where the CSECT or DSECT resides. processor accepts COBOL compiler output, builds
work records, sorts and merges the records, and
base register. A general-purpose register used to merges the records with the listing to produce pro-
store a base address. cessor control blocks that can then be used as
input to other Compuware products.
batch. Processing in which jobs are grouped
(batched). The jobs are executed sequentially, and code coverage. The concept of measuring and
each job must be processed to completion before reporting on how much of one or more programs
the following job can begin execution. have been executed by a set of tests. (see also XPE-
DITER/Code Coverage)
BDAM. Basic direct access method.
G-2 XPEDITER/TSO and XPEDITER/IMS Reference Manual
column template. A dashed line depicting col- date/time stamp. The date and time of compila-
umn positions. When debugging with XPEDITER, tion that marks the load module. XPEDITER stores
a column template is displayed above each group the date/time stamp in the header record of the
item and each nonnumeric elementary item. The DDIO file. If there is a mismatch between the load
length of the column template corresponds to the module stamp and the DDIO file stamp, XPE-
length of the variable to be displayed as defined in DITER responds with a message in the log.
the picture clause.
DB2 Stored Procedure. See Stored Procedure.
CMS. Conversational monitor system.
DDIO. A Compuware file access method.
command area. The area of any display used to
enter XPEDITER primary commands. The com- DDIO file. A generic name for an XPEDITER
mand area is designated as the left side of the sec- source listing file.
ond line of the source display.
declaration statement. In PL/I, a DECLARE state-
command delimiter. A character used to separate ment that specifies the attributes of a name.
commands in a list of commands entered simulta-
neously. The character used should be the same as declarative. Directives that reserve defined areas
the ISPF command delimiter. If the XPEDITER and of storage (DS statements) or define constant val-
ISPF command delimiters are not the same, ISPF ues (DC statements).
will break the stream down into illogical sections
to be passed on to XPEDITER one at a time for default delimiter. The delimiter set by XPE-
parsing. DITER.
command, CICS. In CICS, an instruction similar dimension. The size of a table or array and the
in format to a high-level programming language arrangement of its elements.
statement. CICS commands begin with the
pseudo-verb EXEC (either EXEC CICS or EXEC directive. A statement that tells the assembler to
DLI) and are terminated by END-EXEC. They can take a special action and generates no object code.
be issued by an application program to make use For example, START, DSECT, and END are direc-
of CICS facilities. tives.
command-language statement. Synonymous displacement. The number of bytes from the first
with command in relation to CICS. byte of the storage area.
command stacking. A method of entering multi- DL/I. Data language 1. IBM’s database manage-
ple commands simultaneously by separating each ment facility provided by the IMS/VS database
command by a special delimiter. Command stack- program products.
ing is valid when testing with XPEDITER/TSO only
if you are using ISPF version 2.1 or higher. doubleword. A binary constant that has a length
of eight bytes and can be aligned on a doubleword
communication area (COMMAREA). An area boundary (a location whose address is divisible by
that is used to pass data between tasks that com- eight).
municate with a specific terminal. The area can
also be used to pass data between programs within DSECT. Dummy control section. Used by Assem-
a task. bler to format an area of storage without produc-
ing any object code.
conditional expression. Any of the valid COBOL
expressions supported by XPEDITER that test con- dump. Hexadecimal representation of storage
ditions to select between alternate paths of control that may contain data useful for diagnosing an
depending upon the truth value of the condition. error.
entry point. The alternate name supplied in the initial test script. A special test script executed at
ENTRY statement on the link-edit control cards: the beginning of a session that is used to set up
By default in COBOL, it is the program name. the testing environment. This test script is not
executed through the INCLUDE command. Rather,
execution monitor. The XPEDITER execution it is specified on the appropriate environment test
processor is used to allocate the test data and envi- menu or command parameter.
ronment to run the test, load and monitor execu-
tion of your program, and display and format the intercommunication facilities. A term covering
data in your program. intersystem communication (ISC) and multiregion
operation (MRO).
explicit declaration. In PL/I, a DECLARE state-
ment that specifies the attributes of a name. Same intersystem communication. Communications
as declaration statement. between separate systems by means of SNA facili-
ties.
figurative constant. A compiler-generated value
referenced through the use of certain reserved Keep window. The window at the top of the
words. The reserved word can be written in a pro- Source screen that automatically displays the val-
gram without having been defined. ues of data items referenced by the current execu-
tion line whenever execution halts. It also displays
File-AID for DB2. A DB2 database management any data items specified by the KEEP command.
and SQL development and analysis tool.
label. The entry in the name field of an Assem-
fullword. A binary constant that has a length of bler language statement. The Assembler option
four bytes and can be aligned on a fullword supports label names of up to 30 characters.
boundary (a location whose address is divisible by
four). language processor (LP). A processor that con-
verts Assembler or compiler output into input for
general-purpose registers. The 16 general-pur- other Compuware products.
pose registers are separate from main storage. They
are numbered from 0 through 15 and are refer- License Management System(LMS). Facility that
enced by number. These 32-bit registers are used enables you to centrally administer Compuware
for binary arithmetic and to reference main stor- product License Certificates and manage access to
age positions by using base-displacement address- Compuware products at your site. The LMS
ing. includes several components that enable you to
establish, maintain, diagnose, and upgrade access
halfword. A binary constant that has a length of to those Compuware products licensed by your
two bytes and can be aligned on a halfword enterprise. The LMS replaces the utility previously
boundary (a location whose address is divisible by known as the Customer Profile Utility.
two).
line commands. XPEDITER commands that are
HELP facility. Online support that can be entered by typing over the compiler-generated
invoked for clarification or aid in relation to a statement numbers.
problem.
link pack area. In OS/VS2, an area of virtual stor-
INCLUDE library. Under MVS, a partitioned age containing reenterable routines loaded at IPL.
dataset created and maintained by the user allo- It can be used concurrently by all tasks in the sys-
cated to the ddname XINCLUDE. This library con- tem.
tains test scripts generated by a test session or used
to set up a session. literal. Any alphanumeric string of characters
enclosed in apostrophes (’ ’).
INCLUDE test script. A predefined test script
executed through the INCLUDE command. The load libraries. In the MVS environment, the set
commands in the test script are executed as they of partitioned datasets containing the link-edited
are read in, as if they had been entered serially application programs. XPEDITER searches the list
from the terminal. for the load module of the program to be tested.
index register. A register whose content is added log. A file created and used by XPEDITER to
to (or subtracted from) the absolute address record each command entered during a debugging
derived from a combination of a base address with session and the responses made to it.
a displacement.
macroinstruction. An instruction that causes the
assembler to process a predefined set of statements
G-4 XPEDITER/TSO and XPEDITER/IMS Reference Manual
called a macro definition. The statements from the paragraph. For COBOL, a paragraph is a subdivi-
macro definition replace the macroinstruction (or sion of a COBOL program: A paragraph contains
macro call) in the source program. one or more statements or sentences that work as
a unit to perform a specific set of operations.
message area line. The line below the command
area, generally the third line of any source display During an Assembler test, XPEDITER/TSO consid-
used to report brief error or informational mes- ers a paragraph to be a name, a label on one or
sages. more valid executable instructions, or a name
label on an EQU * or DS 0H that is followed by one
MQSeries. MQSeries for OS/390 allows OS/390 or more valid executable instructions.
applications to use message queuing in order to
participate in message-driven processing. With pausing. All pause breakpoint commands direct
message-driven processing, applications can com- XPEDITER to unlock the keyboard and return con-
municate across different platforms by using the trol to the user. Any number of XPEDITER com-
appropriate MQSeries products. All MQSeries mands can be entered while XPEDITER is paused.
products implement a common application pro-
gramming interface for whatever platform the PCB. Program communication block.
applications are able to run on. The calls made by
the applications and the messages they exchange PL/I language processor. One of the language
are common. processors provided by Compuware, this language
processor accepts PL/I compiler output, builds
multiregion operation. Communication work records, sorts and merges the records, and
between CICS systems in the same processor with- merges the records with the listing to produce pro-
out the use of SNA facilities. cessor control blocks that can then be used as
input to other Compuware products.
MVS. Multiple virtual storage.
primary commands. XPEDITER commands that
native CMS. The VM/CMS environment without are entered from the command area as opposed to
the use of ISPF. XPEDITER line commands, which are entered by
typing over the compiler-generated statement
native TSO. The MVS/TSO environment without number.
the use of ISPF.
procedure. In PL/I, a block of programming state-
nonrepresentable characters. Characters that ments that starts from various points in a program
cannot be printed or displayed. XPEDITER displays by CALL statements and processes data passed to it
nonrepresentable characters as periods (.) by from the calling block.
default.
procedure division. The section of a COBOL pro-
NOQ environment. An XPEDITER/TSO environ- gram that contains executable instructions.
ment used to test IMS MPP or BMP programs when
BTS is not available for testing. IMS database calls PSW. Program status word. An operating system
can be made since XPEDITER/TSO will provide control block defining the current status and loca-
addressability to any IOPCBs. However, all calls to tion of a program that is executing.
the message queue must be skipped.
Quickstart. A File Allocation Utility (FAU)
object module. A module that is the output of an enhancement which provides the ability for users
Assembler or compiler. to point XPEDITER at the JCL needed to run a test,
therefore eliminating the need to use the FAU.
offset. A relative location or position within a
data area. register. A device capable of storing a specified
amount of data, such as one word.
operating system. Software that controls the exe-
cution of jobs. It can provide resource allocation review mode. An XPEDITER dynamic analysis
and scheduling. feature for COBOL programs that lets the program-
mer review the execution flow backwards.
PA keys. The terminal program access keys. Their
definitions are unaltered by XPEDITER. screens. Menus or panels presented on a display
terminal.
panels. Menus or screens presented on a display
terminal. script dataset/file. A dataset or file created and
used by XPEDITER to record each executable com-
mand entered during a debugging session. The
G-5
script dataset can be copied into an INCLUDE and can be invoked by a client application. A
library, a sequential file, or another partitioned Stored Procedure can contain most statements
dataset to be used again. that an application program usually contains. A
Stored Procedure can also execute Structured
scroll amount area. The furthest right area of the Query Language (SQL) statements at the server as
second line of the source display. It is used to dis- well as application logic for a specific function. A
play the current scroll amount, whenever scrolling Stored Procedure can be written in COBOL, Assem-
is applicable. bler, C, PL/I or many other different languages,
depending on the platform where the DB2 server
scrollable fields. If a variable’s length exceeds is installed.
the screen width, the field becomes scrollable.
Scrollable fields are identifiable by the highlighted structure. A collection of data items.
MORE-> message in the line command area. When
the screen is scrolled left or right, only the scrolla- SUB environment. The XPEDITER/TSO environ-
ble values and their associated column templates ment that is used to test stand-alone subroutines
actually move. that make IMS database calls.
scrolling. The ability to move the screen window temporary breakpoint (GOTO). A breakpoint
across the data in any of four directions. that occurs after a GOTO command is entered and
before the target paragraph or statement is exe-
sentence. For COBOL, a sentence is a statement cuted. The breakpoint is temporary and provides
or group of statements that ends with a period. the opportunity to ensure that the target state-
ment is the one intended.
session log. A file created and used by XPEDITER
to record each command entered during a debug- test script. A predefined stream of XPEDITER
ging session and the responses made to each com- commands used to set up, run, or rerun a debug-
mand. ging session.
session script. A file created by XPEDITER con- test script library. A partitioned dataset allocated
taining the commands entered during a debugging to the ddname XINCLUDE.
session. This file can be saved as a member of an
INCLUDE dataset to be used as input to another trace breakpoint. A breakpoint set by execution
debugging session. of the TRACE command in which modules are
traced upon entry and exit.
Shared Directory. A variable length record VSAM
Relative Record Dataset (RRDS) that contains lan- unit testing subroutines. Testing a subroutine as
guage processor (LP) directory records necessary to a stand-alone program; that is, without the calling
process LP database members. module being present.
Source display screen. The XPEDITER screen user test scripts library. See INCLUDE library.
used to display the program source. Within this
display screen, XPEDITER commands can be unattended batch. Processing data without inter-
entered from the command area or by typing over acting with the debugging session from your ter-
the compiler-generated statement number. The minal. XPEDITER debugging commands are read
data on the screen is scrollable in all four direc- from a test script and the output from the test ses-
tions. sion is written to the log.
source listing. A compiled listing and other VCON. Reserves storage for the address of a loca-
information about a file stored in a source listing tion in a CSECT that lies in another source mod-
file. ule. A VCON is often used to branch to the
specified external address.
source listing file. A file containing source list-
ings and accessed by DDIO. VSAM. Virtual storage access method.
split screen. A capability provided by ISPF/PDF wide screen. A terminal screen that is 32 or 43
that allows you to partition the display screen into lines long, and 133 characters wide.
multiple “logical” areas.
working storage. A section of a COBOL program
SQL. Structured query language. used to define the data items that are used in a
program.
Stored Procedure. A Stored Procedure is a user-
written program that is stored at the DB2 server
G-6 XPEDITER/TSO and XPEDITER/IMS Reference Manual
C
A
C language, xix, 2–5, 2–12–2–13, 2–22, 3–3, 4–6, 4–24,
A line command (AFTER), 2–3, 2–5 5–3
AA SNAP command, 2–1 commands within INSERT, 5–8
Snapshot report, 2–1 functions, xix, 2–3, 2–5, 2–7, 2–10–2–13, 2–22, 4–
usage notes, 2–1 21, 4–24, 6–48
absolute address, xix, 5–38 PEEKE command, 6–11
ACCEPT command, 2–2 test script commands, 5–5
usage notes, 2–2 tracing calls to IMS, 7–3
Acrobat PDF online documentation, xxii C line command, 2–19
Addressing methods C line command (COUNT), 2–21
indirect addressing, 2–5, 2–12, 2–21, 6–47, 7–3 Case sensitivity, 6–10
register addressing, 2–5, 2–12, 2–21, 3–10, 6–47, 7– CCHILITE command, 2–15
3 CEEENTRY macro, breakpoint and stepping restric-
relative addressing, 2–5, 2–12, 2–21, 6–11, 6–47, 7– tion, 4–22
3 COBOL-structure keywords, 4–10–4–11
AFTER command, 2–3 COBOL-structures, 4–13, 8–1
qualification, 2–5 ALL default, 4–13
usage notes, 2–4 Code Coverage, 6–31
ALIAS keyword, 4–12 Code Coverage test, 6–25
ALL keyword, 2–4, 2–11, 2–20, 3–3, 4–9, 6–47 Column template, 5–17, 5–35, 6–7, 6–10–6–11, 6–51
ALLOCATE command, 2–7 numeric items, 6–7
usage notes, 2–8 scrollable values, 6–8, 6–12
Assembler SET TEMPLATE command, 6–33
KEEPE command, 5–15 T line command, 6–51
AT command, 2–9 Command processing, 1–2
usage notes, 2–9 common parameters, xviii
AUTOKEEP, 5–14, 6–25 CONNECT command, 2–18
Automatic Keep window, 5–14, 6–34 usage notes, 2–19
COUNT command, 2–19
keywords, 2–20
B usage notes, 2–20
COVER command, 2–22
usage notes, 2–22
B line command (BEFORE), 2–10, 2–12 CSECT label, 6–49
BEFORE command, 2–10 CSR keyword, 4–8, 4–11
qualification, 2–12 customer support, xxiii
usage notes, 2–11 customer support web site, xxii
BookManager softcopy documentation, xxii
BOTTOM command, 2–14
Branch Coverage, 6–25
Breakpoints, 6–46
D
AFTER, 2–3
branching verbs, 2–4 D line command (DELETE), 3–2
nonbranching verbs, 2–4 Data name
BEFORE, 2–10 example, 4–14
I-2 XPEDITER/TSO and XPEDITER/IMS Reference Manual
X
X line command (EXCLUDE), 3–12, 5–34
XCHANGE command, 7–17
usage notes, 7–17
XP line command, 4–3
XPED command, 7–18
environment value, 7–18
usage notes, 7–18