Practical Usage of TSO REXX

Size: px
Start display at page:

Download "Practical Usage of TSO REXX"

Transcription

1 Practical Usage of TSO REXX

2 Springer London Berlin Heidelberg New York Barcelona Hong Kong Milan Paris Singapore Tokyo

3 Anthony S. Rudd Practical Usage of TSOREXX 3rd revised edition t Springer

4 Anthony S. Rudd, BSc, MSc (Hons) ISBN-13: DOl: / e-isbn-13: British Library Cataloguing in Publication Data Rudd, Anthony S. Practical usage oftso REXX. - 3rd ed. 1. REXX (Computer program language) I. Title II. Practical usage ofmvs REXX 005.2'62 ISBN Library of Congress Cataloging-in-Publication Data Rudd, Anthony S., Practical usage oftso REXX I Anthony S. Rudd rd ed. p.cm. 1. REXX (Computer program language) 2. Time-sharing computer systems L Title QA R24 R '28-dc Apart from any fair dealing for the purposes of research or private study, or criticism or review, as permitted under the Copyright, Designs and Patents Act 1988, this publication may only be reproduced, stored or transmitted. in any form or by any means, with the prior permission in writing of the publishers, or in the case of reprographic reproduction in accordance with the terms of licences issued by the Copyright Licensing Agency. Enquiries concerning reproduction outside those terms should be sent to the publishers. Springer-Verlag London Limited 2000 Softcover reprint of the hardcover 3rd edition 2000 The use of registered names, trademarks etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant laws and reguiations and therefore free for general use. The publisher makes no representation, express or implied. with regard to the accuracy of the information contained in this book and cannot accept any legal responsibility or liability for any errors or omissions that may be made. Typesetting: Camera ready by author 34/ Printed on acid-free paper SPIN

5 Preface The aim of PRACI'ICAL USAGE OF TSO REXX is to show the practical use of REXX in the OS/390 TSO/E environment. The book covers not only the basic language elements but particularly emphasises the expansibility of REXX. In addition to its use as a procedures language, one of the major uses of REXX is interfacing to and from other components. Consequently, the major part of this book is devoted to the interfacing aspects of REXX. The chapter on the programming interfaces includes a wide range of examples in Assembler, C (C+ +), COBOL, and PLlI. This third edition of the book, previously titled PRACI'ICAL USAGE OF MVS REXX, has been revised to discuss the new REXX features introduced for the OS/390 TSO/E environment. It also includes two new chapters that cover the REXX compiler and provide a general discussion of the implementation aspects of using REXX as a programming language. For historical reasons, the TSO/E REXX implementation uses the term MVS as synonym for the host operating system environment (e.g. OS/390 in this case). At this point I would like to thank Detlef Insel for his help.

6 Table of Contents Preface... v 1. Introduction 1.1 REXX background REXX characteristics REXX applications REXX'S future REXX Facilities Introduction... 4 REXX structure... 8 Token... 8 Literal string... 8 Hexadecimal literal string... 9 Binary literal string Symbol Numeric symbol Variables Operator Prefix operators Arithmetic operators Abuttal operator Comparative operators Logical operators Implicit concatenation operators Other syntax elements... 17

7 viii TABLE OF CONTENTS 2.3 REXX expressions Arithmetic expression Comparative expression Logical (Boolean) expression Statements Invocation of a REXX exec Comparison with CLISTS REXX Processing Elements Introduction Statements Routines..., Subroutine Procedure Function Search order Invocation Parameters (arguments) Return Communication between execs Types of instruction... '" Conditional control Loop control Control processing flow Assignment Stack (queue) processing Stack as terminal input buffer Stack used for general data storage Stack used for passing data between execs File buffer..., Parsing Debugging Miscellaneous instructions Commands Special variables RC - Return code RESUL T - Function result SIGL - Source line number REXX Instructions 4.1 Introduction Instruction descriptions ADDRESS - Set environment ARG - Fetch argument CALL - Invoke routine DO - Define start of Do-block DROP - Free variable EXIT - Terminate exec IF - Conditional execution INTERPRET - Interpret statement... 59

8 T ABLE OF CONTENTS ix ITERATE - Terminate the current cycle in the Do-loop LEAVE - Terminate Do-loop NOP - No-operation NUMERIC - Define numeric formats OPTIONS - Pass special parameters to the language processor PARSE - Assign data PROCEDURE - Define internal procedure PULL - Fetch data element from the head of the stack PUSH - Set data element at the head ofthe stack QUEUE - Set data element at the tail of the stack RETURN - Return from routine SAY - Display SELECT - Select one condition from a series of conditions SIGNAL - Enable (or disable) an exception condition, or cause control to be passed to a routine (or label) TRACE - Set debugging options UPPER - Transform lowercase characters into uppercase = - Assign Command Examples Exception Handling 5.1 Introduction Condition traps ERROR condition FAILURE condition HALT condition NOVALUE condition SYNTAX condition Stacked conditions Explicit invocation String Processing 6.1 Introduction Word parsing Delimiter parsing Positional parsing Dynamic parsing Argument parsing Worked examples Numbers and Arithmetic 7. 1 Introduction Number Arithmetic operators Power (exponentiation) Multiplication Division Modulo (integer) division Remainder division... 99

9 x TABLE OF CONTENTS Numeric comparison... '" Precision and representation Computational base Retention of significance Arithmetic exceptions Sequence of operations Numeric formatting Input/Output 8.1 Introduction Data buffering Opening and closing the data files Terminal operations File-mode operations File positioning Write operation Delete data operation Read operation Update operation Debugging 9.1 Introduction Exception conditions Tracing options... III ALL - Display all expressions before execution COMMANDS - Display all commands before execution ERROR - Display all commands which return an error condition FAILURE - Display all commands which return a negative error condition INTERMEDIATE - Display all expressions (with intermediate results) before being executed LABELS - Display all labels as they are reached RESUL TS - Display all expressions (with end results) before being executed SYNTAX - Check syntax without processing the statements n - Suppress trace intervention Trace output Trace data prefixes Trace intermediate data prefixes Trace output example Interactive debug Interactive debugging example Parametric debug Errors with host commands and functions REXX Built-in Functions 10.1 Introduction Function-like (direct) invocation Call invocation

10 TABLE OF CONTENTS xi Internal functions Function side-effects Invocation errors Internal data format Function definitions ABBREV - Test whether string is an abbreviation ABS - Return absolute value ADDRESS - Return name of current environment ARG - Return argument BITAND - Logical And B ITOR - Logical Or BITXOR - Logical Exclusive-Or B2X - Convert binary data to hexadecimal CENTRE (CENTER) - Centralise data COMPARE - Compare CONDITION - Return condition COPIES - Replicate data C2D - Convert character data to decimal C2X - Convert character data to hexadecimal DATA TYPE - Determine data type DATE - Return current date DELSTR - Delete substring DELWORD - Delete words DIGITS - Return the NUMERIC DIGITS setting D2C - Convert decimal to character D2X - Convert decimal to hexadecimal ERRORTEXT - Return message text FIND - Search for word FORM - Determine NUMER I C FORM setting FORMAT - Format numeric value FUZZ - Determine NUMERIC FUZZ setting INDEX - Search for substring INSERT - Insert substring JUST! FY - Justify string of words LASTPOS - Determine last position of phrase LEFT - Left-align string LENGTH - Determine length of string LINESIZE - Return the (maximum) width of a terminal line MAX - Determine the maximum of a series of numeric values MIN - Determine the minimum of a series of numeric values OVERLAY - Overlay part of a string with a phrase POS - Search for substring QUEUED - Determine the number of entries in the queue RANDOM - Generate a (pseudo-)random number REVERSE - Reverse the sequence of data RIGHT - Right-align string SIGN - Determine numeric sign SOURCELINE - Return "program line"

11 xii TABLE OF CONTENTS SPACE - Insert fill-character between words STRIP - Remove padding-characters at the start or end of a string SUBSTR - Extract substring SUBWORD - Extract series of words from word-string SYMBOL - Determine the status of a symbol TIME - Return the current time-of-day TRACE - Return (and set) current trace mode TRANSLATE - Translate characters TRUNC - Truncate numeric value USERID - Return Userid VALUE - Return (and set) the contents of a symbol VERI FY - Test whether only characters in a phrase are present in string WORD - Fetch word WORD INDEX - Determine the character position of a word in a string of words WORDLENGTH - Determine word length WORDPOS - Determine the word-number of word in a word-string WORDS - Determine the number of words in a word-string XRANGE - Define a range of hexadecimal values X2B - Convert hexadecimal to binary X2C - Convert hexadecimal to character X2D - Convert hexadecimal to decimal Examples... " Host REXX Commands 11.1 Introduction Host REXX command definitions DELSTACK - Delete stack DROPBUF - Release buffer EXECIO - Perform input/output operation EXECUTI L - Specify execution environment for REXX exec HE - Halt execution HI - Halt interpretation HT - Halt typing MAKEBUF - Create new buffer in the stack NEWSTACK - Create a new stack QBUF - Query buffer QELEM - Query elements QSTACK - Query stack RT - Resume typing SUBCOM - Confirm the host environment TE - Trace end TS - Trace start Example MVS Command Functions 12.1 Introduction

12 TABLE OF CONTENTS xiii MVS command function calls GETMSG - Retrieve a console session message L1STDSI - List (obtain) dataset information MSG - Set (interrogate) CLIST CONTROL MSG option MVSVAR - Obtain information on MVS, TSO, and the current session OUTTRAP - Trap TSO display output PROMPT - Set (interrogate) CLIST CONTROL PROMPT option SET LANG - Set (interrogate) current language STORAGE - Set (interrogate) main-storage contents SYSCPUS - Obtain CPU information SYSDSN - Request dataset status SYSVAR - Fetch TSO system variable Invocation of other TSO commands Example REXX Invocation Introduction Invocation from TSO/ISPF Invocation from batch TSO Invocation from batch Linkage to the host environment Linkage to programs LINK (ATTACH) L1NKMVS (ATTACHMVS) L1NKPGM (ATTACHPGM) Interface with I SPEXEC (ISPF Dialog Manager) Interface with ISREDIT (ISPF/PDF Edit macro) Macro example Interface with DB2 (Database2) DB2 invocation example Interface with QMF (Query Management Facility) DSQCIX - QMF Callable Interface DSQCCI - QMF Command Interface Interface from programs with REXX System Interfaces Introduction General conditions C, C+ + restrictions Other program language restrictions Invocation of a REXX exec Interface from programs to batch REXX (IRXJCL) Invocation of a REXX exec using the TSO Service Facility (IJKEFTSR) Interface from programs to REXX processor (IRXEXEC) Sample program Invocation of an in-store exec Program access to REXX variables (IRXEXCOM service) Sample programs

13 xiv TABLE OF CONTENTS Sample retrieval program Stack processing (IRXSTK service) Sample programs Command interface Entry conditions Parameter list Exit conditions Examples Command registration interface (I RXSUBCM) Command router Function interface Entry conditions..., 248 Exit conditions..., 248 Sample function program Function package Function directory Load routine (IRXLOAD service) Initialisation routine (IRXINIT service) Sample initialisation program Get result (IRXRLT service) Sample I RXRL T program Control blocks Argument List EFPL (External Function Parameter List) ENVBLOCK (Environment Block) EV ALBLOCK (Evaluation Block) EXECBLK (Exec Block) INSTBLK (In-storage Control Block) SHVBLOCK (Shared Variable (Request) Block) VEEP (Vector of External Entry Points)... '" 268 Examples...,...,..., Assembler implementation C implementation COBOL implementation PLII implementation Worked Examples 15.1 Introduction Worked example Worked example Worked example Worked example Worked example REXX Compiler 16.1 Introduction JCL procedures REXXC procedure REXXCL procedure REXXCLG procedure

14 T ABLE OF CONTENTS xv REXXL procedure Compiler options Combining compiled objects Produce a statically loaded program Stubs CALLCMD stub CPPL stub EFPL stub CPPLEFPL stub MVS stub Performance Compatibilty Execution sequence Other Environments 17.1 Introduction REXX for CICS REXX for UNIX Services Program Development Introduction Reusability Productivity Standardisation Readability Reliability Maintainability Compatibility Performance Expansibility Stepwise refinement Portability Testing Run-time debugging Development with the REXX compiler Appendix A. Syntax Notation Appendix B. Glossary Index

REXX programming for the z/os programmer

REXX programming for the z/os programmer REXX programming for the z/os programmer Session #14019 Wednesday, August 14 at 1:30 pm Hynes Convention Center Room 207 Brian J. Marshall Insert Custom Session QR if Desired. Abstract and Speaker Rexx

More information

Graphics Programming in c++

Graphics Programming in c++ Graphics Programming in c++ Springer London Berlin Heidelberg New York Barcelona Budapest Hong Kong Milan Paris Santa Clara Singapore Tokyo Mark Walmsley Graphics Programming in c++ Writing Graphics Applications

More information

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

IBM. TSO/E REXX User's Guide. z/os. Version 2 Release 3 SA z/os IBM TSO/E REXX User's Guide Version 2 Release 3 SA32-0982-30 Note Before using this information and the product it supports, read the information in Notices on page 205. This edition applies to Version

More information

Implementing Practical DB2 Applications

Implementing Practical DB2 Applications Anthony S. Rudd Implementing Practical DB2 Applications With 69 Figures, Springer Antho ny S. Rudd. MS(Hons) OateveG Paumgartnerstrasse 6-14 0-90426 Nuremberg. GERMANY ISBN-I3: 978-3-540-19953-3 Dar: 10.

More information

Rexx Tutorial for Beginners, 2

Rexx Tutorial for Beginners, 2 MIS Department Rexx Tutorial for Beginners, 2 Statement, Routine (Procedure, Function), "Stem"-Variable Prof. Rony G. Flatscher Vienna University of Economics and Business Administration Wirtschaftsuniversität

More information

REXX For PIE/CICS User Guide. Release 3.3.0

REXX For PIE/CICS User Guide. Release 3.3.0 TM REXX For PIE/CICS User Guide Release 3.3.0 Document Number PIEPR0400-01 First Edition printed April 2000 1988-2000 UNICOM Systems, Inc. All Rights Reserved No part of this manual may be reproduced or

More information

Rexx Power Tools - The PARSE Command

Rexx Power Tools - The PARSE Command Rexx Power Tools - The PARSE Command Session 11751 August 7, 2012 Thomas Conley Pinnacle Consulting Group, Inc. (PCG) 59 Applewood Drive Rochester, NY 14612-3501 P: (585)720-0012 F: (585)723-3713 pinncons@rochester.rr.com

More information

5) Debugging and error trapping

5) Debugging and error trapping 5) Debugging and error trapping Instructions: SIGNAL/CALL, TRACE, TSO Immediate commands HT, RT, HE, HI, TE, TS. Resources: TSO/E REXX User s Guide Chapter 9. Diagnosing Problems Within an Exec This course

More information

IBM. User Guide and Reference. REXX for CICS Transaction Server. Version 1 Release 1

IBM. User Guide and Reference. REXX for CICS Transaction Server. Version 1 Release 1 REXX for CICS Transaction Server IBM User Guide and Reference Version 1 Release 1 REXX for CICS Transaction Server IBM User Guide and Reference Version 1 Release 1 Note Before using this information and

More information

CA Mainframe Network Management

CA Mainframe Network Management CA Mainframe Network Management NetMaster REXX Guide r11.7 This documentation and any related computer software help programs (hereinafter referred to as the "Documentation") are for your informational

More information

TSO/E REXX User s Guide

TSO/E REXX User s Guide z/os TSO/E REXX User s Guide SA22-7791-01 z/os TSO/E REXX User s Guide SA22-7791-01 Note Before using this information and the product it supports, be sure to read the general information under Appendix

More information

REXX Language Coding Techniques

REXX Language Coding Techniques REXX Language Coding Techniques SHARE 121 Session 13670 Peter Van Dyke and Virgil Hein IBM Australia SHARE 121, Summer 2013 pvandyke@au1.ibm.com SHARE 121 August 2013 Important REXX Compiler Disclaimer

More information

SHARE 119 August IBM Corporation. The information contained in this presentation is provided for informational purposes only.

SHARE 119 August IBM Corporation. The information contained in this presentation is provided for informational purposes only. Language Coding Techniques SHARE 119 Session 11537 Peter Van Dyke and Virgil Hein IBM Australia SHARE 119, Summer 2012 pvandyke@au1.ibm.com SHARE 119 August 2012 Important Compiler Disclaimer The information

More information

uni-rexx Reference Manual

uni-rexx Reference Manual uni-rexx Reference Manual 525 Capital Drive Lake Zurich, Illinois 60047 Voice: (800) 228-0255 FAX: (847) 540-5629 Email: tech@wrkgrp.com WWW: http://www.wrkgrp.com/ ii uni-rexx Reference Manual Preface

More information

Web Development with Java

Web Development with Java Web Development with Java Tim Downey Web Development with Java Using Hibernate, JSPs and Servlets Tim Downey, BS, MS Florida International University Miami, FL 33199, USA British Library Cataloguing in

More information

Enterprise Networks and Telephony

Enterprise Networks and Telephony Enterprise Networks and Telephony Springer London Berlin Heidelberg New York Barcelona Hong Kong Milan Paris Santa Clara Singapore Tokyo Solange Ghernaouti-Helie and Arnaud Dufour Enterprise Networks and

More information

Chapter 2 REXX STATEMENTS. SYS-ED/ Computer Education Techniques, Inc.

Chapter 2 REXX STATEMENTS. SYS-ED/ Computer Education Techniques, Inc. Chapter 2 REXX STATEMENTS SYS-ED/ Computer Education Techniques, Inc. Objectives You will learn: Variables. REXX expressions. Concatenation. Conditional programming and flow of control. Condition traps.

More information

Also, if you need assistance with any of the lab material or exercises, please raise your hand and someone will come to assist you.

Also, if you need assistance with any of the lab material or exercises, please raise your hand and someone will come to assist you. 1 2 Welcome to the Introduction to Rexx Hands-on Lab. This lab will cover a series of topics about the Rexx language. At the end of each topic, there will be exercises that use the concepts covered in

More information

Inside Relational Databases with Examples in Access

Inside Relational Databases with Examples in Access Inside Relational Databases with Examples in Access Inside Relational Databases with Examples in Access Mark Whitehorn and Bill Marklyn 123 Mark Whitehorn Applied Computing Division, University of Dundee,

More information

IBM Software. REXX Language Coding Techniques. SHARE Session # Tracy Dean, IBM August IBM Corporation

IBM Software. REXX Language Coding Techniques. SHARE Session # Tracy Dean, IBM August IBM Corporation SHARE Session #16242 Tracy Dean, IBM tld1@us.ibm.com August 2014 Important REXX Compiler Disclaimer The information contained in this presentation is provided for informational purposes only. While efforts

More information

IBM Software. REXX Language Coding Techniques. Tracy Dean, IBM June , 2015 IBM Corporation

IBM Software. REXX Language Coding Techniques. Tracy Dean, IBM June , 2015 IBM Corporation Tracy Dean, IBM tld1@us.ibm.com June 2015 Disclaimers The information contained in this presentation is provided for informational purposes only. While efforts were made to verify the completeness and

More information

REXX Language Coding Techniques

REXX Language Coding Techniques REXX Language Coding Techniques Tracy Dean IBM tld1@us.ibm.com June 2016 Disclaimers The information contained in this presentation is provided for informational purposes only. While efforts were made

More information

SymbolicC++: An Introduction to Computer Algebra using Object-Oriented Programming

SymbolicC++: An Introduction to Computer Algebra using Object-Oriented Programming SymbolicC++: An Introduction to Computer Algebra using Object-Oriented Programming Springer-Verlag London Ltd. Tan Kiat Shi, Willi-Hans Steeb and Yorick Hardy SymbolicC ++: An Introdurtion to Computer

More information

IBM Software. REXX Language Coding Techniques SHARE Session # Tracy Dean, IBM 2014, 2015 IBM Corporation

IBM Software. REXX Language Coding Techniques SHARE Session # Tracy Dean, IBM 2014, 2015 IBM Corporation SHARE Session #16691 Tracy Dean, IBM tld1@us.ibm.com 1 Important REXX Compiler Disclaimer The information contained in this presentation is provided for informational purposes only. While efforts were

More information

IBM. Enterprise Systems Architecture/ Extended Configuration Principles of Operation. z/vm. Version 6 Release 4 SC

IBM. Enterprise Systems Architecture/ Extended Configuration Principles of Operation. z/vm. Version 6 Release 4 SC z/vm IBM Enterprise Systems Architecture/ Extended Configuration Principles of Operation Version 6 Release 4 SC24-6192-01 Note: Before you use this information and the product it supports, read the information

More information

Essential Series. Springer-Verlag London Ltd.

Essential Series. Springer-Verlag London Ltd. Essential Series Springer-Verlag London Ltd. Also in this series: Essential Visual Basic 4.0 fast 3-540-19998-5 Essential Delphi 2.0 fast 3-540-76026-1 Essential Java fast 3-540-76052-0 Essential Visual

More information

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

IBM. MVS Interactive Problem Control System (IPCS) User's Guide. z/os. Version 2 Release 3 SA z/os IBM MVS Interactive Problem Control System (IPCS) User's Guide Version 2 Release 3 SA23-1384-30 Note Before using this information and the product it supports, read the information in Notices on page

More information

Stereo Scene Flow for 3D Motion Analysis

Stereo Scene Flow for 3D Motion Analysis Stereo Scene Flow for 3D Motion Analysis Andreas Wedel Daniel Cremers Stereo Scene Flow for 3D Motion Analysis Dr. Andreas Wedel Group Research Daimler AG HPC 050 G023 Sindelfingen 71059 Germany andreas.wedel@daimler.com

More information

Using REXX during Assembly

Using REXX during Assembly Using REXX during Assembly Invoking REXX during High Level Assembly via SETCF by ColeSoft, a leader in all things assembler Introduction Today we will talk about forming a bridge between the assembler's

More information

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

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

More information

IBM. MVS Interactive Problem Control System (IPCS) Customization. z/os. Version 2 Release 3 SA

IBM. MVS Interactive Problem Control System (IPCS) Customization. z/os. Version 2 Release 3 SA z/os IBM MVS Interactive Problem Control System (IPCS) Customization Version 2 Release 3 SA23-1383-30 Note Before using this information and the product it supports, read the information in Notices on

More information

The Art of Lisp Programming

The Art of Lisp Programming The Art of Lisp Programming Robin Jones Clive Maynard Ian Stewart The Art of Lisp Programming With 12 Illustrations Springer-Verlag London Berlin Heidelberg N ew York Paris Tokyo Hong Kong Robin Jones

More information

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

IBM. TSO/E User's Guide. z/os. Version 2 Release 3 SA z/os IBM TSO/E User's Guide Version 2 Release 3 SA32-0971-30 Note Before using this information and the product it supports, read the information in Notices on page 229. This edition applies to Version

More information

Foundations of 3D Graphics Programming

Foundations of 3D Graphics Programming Foundations of 3D Graphics Programming Jim X. Chen Edward J. Wegman Foundations of 3D Graphics Programming Using JOGL and Java3D With 139 Figures Jim X. Chen, PhD Computer Science Department George Mason

More information

Self-test TSO/E REXX. Document: e0167test.fm 19/04/2012. ABIS Training & Consulting P.O. Box 220 B-3000 Leuven Belgium

Self-test TSO/E REXX. Document: e0167test.fm 19/04/2012. ABIS Training & Consulting P.O. Box 220 B-3000 Leuven Belgium Self-test TSO/E REXX Document: e0167test.fm 19/04/2012 ABIS Training & Consulting P.O. Box 220 B-3000 Leuven Belgium TRAINING & CONSULTING INTRODUCTION TO THE SELF-TEST TSO/E REXX This test will help you

More information

Computer Architecture

Computer Architecture Computer Architecture Springer-Verlag Berlin Heidelberg GmbH Silvia M. Mueller Wolfgang J. Paul Computer Architecture Complexity and Correctness With 214 Figures and 185 Tables Springer Silvia Melitta

More information

Language Basics. /* The NUMBER GAME - User tries to guess a number between 1 and 10 */ /* Generate a random number between 1 and 10 */

Language Basics. /* The NUMBER GAME - User tries to guess a number between 1 and 10 */ /* Generate a random number between 1 and 10 */ Overview Language Basics This chapter describes the basic elements of Rexx. It discusses the simple components that make up the language. These include script structure, elements of the language, operators,

More information

Legac-E Education. Passing Parameters. to COBOL sub-routines

Legac-E Education. Passing Parameters. to COBOL sub-routines Passing Parameters to COBOL sub-routines Copyright Legac-e Education 2002-2018 Topics Page Introduction 1 REXX LINK Environments 2 LINK Environment 2 Sample REXX Code 3 LINKMVS Environment 4 Sample REXX

More information

Tivoli Decision Support for OS/390 Administration Guide. Version SH

Tivoli Decision Support for OS/390 Administration Guide. Version SH Tivoli Decision Support for OS/390 Administration Guide Version 1.5.1 SH19-6816-06 Tivoli Decision Support for OS/390 Administration Guide Version 1.5.1 SH19-6816-06 Tivoli Decision Support for OS/390

More information

IBM Tivoli Decision Support for z/os Version Administration Guide and Reference IBM SH

IBM Tivoli Decision Support for z/os Version Administration Guide and Reference IBM SH IBM Tivoli Decision Support for z/os Version 1.8.2 Administration Guide and Reference IBM SH19-6816-14 IBM Tivoli Decision Support for z/os Version 1.8.2 Administration Guide and Reference IBM SH19-6816-14

More information

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

z/os Version 2 Release 3 TSO/E User's Guide IBM SA z/os Version 2 Release 3 TSO/E User's Guide IBM SA32-0971-30 Note Before using this information and the product it supports, read the information in Notices on page 213. This edition applies to Version

More information

Computer Science Workbench. Editor: Tosiyasu L. Kunii

Computer Science Workbench. Editor: Tosiyasu L. Kunii Computer Science Workbench Editor: Tosiyasu L. Kunii H. Kitagawa T.L. Kunii The U nnortnalized Relational Data Model F or Office Form Processor Design With 78 Figures Springer-Verlag Tokyo Berlin Heidelberg

More information

Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS

Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS Contents Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS 1.1. INTRODUCTION TO COMPUTERS... 1 1.2. HISTORY OF C & C++... 3 1.3. DESIGN, DEVELOPMENT AND EXECUTION OF A PROGRAM... 3 1.4 TESTING OF PROGRAMS...

More information

IBM Tivoli Decision Support for z/os Version Messages and Problem Determination IBM SH

IBM Tivoli Decision Support for z/os Version Messages and Problem Determination IBM SH IBM Tivoli Decision Support for z/os Version 1.8.2 Messages and Problem Determination IBM SH19-6902-15 IBM Tivoli Decision Support for z/os Version 1.8.2 Messages and Problem Determination IBM SH19-6902-15

More information

Software Development for SAP R/3

Software Development for SAP R/3 Software Development for SAP R/3 Springer-Verlag Berlin Heidelberg GmbH Ulrich Mende Software Development for SAP R/3 Data Dictionary, ABAP/4, Interfaces With Diskette With 124 Figures and Many Example

More information

The Architectural Logic of Database Systems

The Architectural Logic of Database Systems The Architectural Logic of Database Systems E. J. Yannakoudakis The Architectural Logic of Database Systems With 69 Figures Springer-Verlag london Berlin Heidelberg New York Paris Tokyo E. 1. Yannakoudakis,

More information

CROSSREF Manual. Tools and Utilities Library

CROSSREF Manual. Tools and Utilities Library Tools and Utilities Library CROSSREF Manual Abstract This manual describes the CROSSREF cross-referencing utility, including how to use it with C, COBOL 74, COBOL85, EXTENDED BASIC, FORTRAN, Pascal, SCREEN

More information

Tivoli Tivoli Decision Support for z/os

Tivoli Tivoli Decision Support for z/os Tivoli Tivoli Decision Support for z/os Version 1.8.1 Messages and Problem Determination SH19-6902-13 Tivoli Tivoli Decision Support for z/os Version 1.8.1 Messages and Problem Determination SH19-6902-13

More information

Interfacing with C++

Interfacing with C++ Interfacing with C++ Jayantha Katupitiya Kim Bentley Interfacing with C++ Programming Real-World Applications ABC Dr. Jayantha Katupitiya Senior Lecturer School of Mechanical and Manufacturing Engineering

More information

8) Subroutines and functions

8) Subroutines and functions 8) Subroutines and functions Functions: Internal, External, Built-in. Instructions: CALL, SIGNAL, PROCEDURE, EXPOSE, RETURN, EXIT, INTERPRET Special Variables RC, RESULT Addressing: ADDRESS, OUTTRAP. Resources:

More information

About the Authors... iii Introduction... xvii. Chapter 1: System Software... 1

About the Authors... iii Introduction... xvii. Chapter 1: System Software... 1 Table of Contents About the Authors... iii Introduction... xvii Chapter 1: System Software... 1 1.1 Concept of System Software... 2 Types of Software Programs... 2 Software Programs and the Computing Machine...

More information

Practitioner Series. Springer London Berlin Heidelberg New York Hong Kong Milan Paris Santa Clara Singapore Tokyo

Practitioner Series. Springer London Berlin Heidelberg New York Hong Kong Milan Paris Santa Clara Singapore Tokyo Practitioner Series Springer London Berlin Heidelberg New York Hong Kong Milan Paris Santa Clara Singapore Tokyo Series Editor Russel Winder Editorial Board Frank Bott Nic Holt Kay Hughes Elizabeth Hull

More information

Mainframe Developer & Admin Training in Chennai

Mainframe Developer & Admin Training in Chennai Mainframe Developer & Admin Training in Chennai Training in Greens Technology provides 100% real-time, practical and placement focused Mainframe Developer training in Chennai. Our Mainframe Developer course

More information

An Introduction to Programming with IDL

An Introduction to Programming with IDL An Introduction to Programming with IDL Interactive Data Language Kenneth P. Bowman Department of Atmospheric Sciences Texas A&M University AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN

More information

Computer Programming C++ (wg) CCOs

Computer Programming C++ (wg) CCOs Computer Programming C++ (wg) CCOs I. The student will analyze the different systems, and languages of the computer. (SM 1.4, 3.1, 3.4, 3.6) II. The student will write, compile, link and run a simple C++

More information

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

IBM. TSO/E System Programming Command Reference. z/os. Version 2 Release 3 SA z/os IBM TSO/E System Programming Command Reference Version 2 Release 3 SA32-0974-30 Note Before using this information and the product it supports, read the information in Notices on page 125. This edition

More information

CONTENTS. PART 1 Structured Programming 1. 1 Getting started 3. 2 Basic programming elements 17

CONTENTS. PART 1 Structured Programming 1. 1 Getting started 3. 2 Basic programming elements 17 List of Programs xxv List of Figures xxix List of Tables xxxiii Preface to second version xxxv PART 1 Structured Programming 1 1 Getting started 3 1.1 Programming 3 1.2 Editing source code 5 Source code

More information

QUEST Procedure Reference

QUEST Procedure Reference 111 CHAPTER 9 QUEST Procedure Reference Introduction 111 QUEST Procedure Syntax 111 Description 112 PROC QUEST Statement Options 112 Procedure Statements 112 SYSTEM 2000 Statement 114 ECHO ON and ECHO

More information

Index. object lifetimes, and ownership, use after change by an alias errors, use after drop errors, BTreeMap, 309

Index. object lifetimes, and ownership, use after change by an alias errors, use after drop errors, BTreeMap, 309 A Arithmetic operation floating-point arithmetic, 11 12 integer numbers, 9 11 Arrays, 97 copying, 59 60 creation, 48 elements, 48 empty arrays and vectors, 57 58 executable program, 49 expressions, 48

More information

INTRODUCING FORTRAN 90

INTRODUCING FORTRAN 90 INTRODUCING FORTRAN 90 Springer Berlin Heidelberg New Yorlc Barcelona Budapest HongKong London Milan Paris Tokyo Ian Chivers and Jane Sleightholme INTRODUCING FORTRAN 90, Springer Ian David Chivers, B.Sc.,

More information

Distributed Data Processing (DDP-PPC) DCA Interface C Language

Distributed Data Processing (DDP-PPC) DCA Interface C Language !()+ OS 2200 Distributed Data Processing (DDP-PPC) DCA Interface C Language Programming Guide Copyright ( 1997 Unisys Corporation. All rights reserved. Unisys is a registered trademark of Unisys Corporation.

More information

Distributed Data Processing (DDP-PPC) OSI Interface C Language

Distributed Data Processing (DDP-PPC) OSI Interface C Language !()+ OS 2200 Distributed Data Processing (DDP-PPC) OSI Interface C Language Programming Guide Copyright ( 1997 Unisys Corporation. All rights reserved. Unisys is a registered trademark of Unisys Corporation.

More information

Installing and Administering a Satellite Environment

Installing and Administering a Satellite Environment IBM DB2 Universal Database Installing and Administering a Satellite Environment Version 8 GC09-4823-00 IBM DB2 Universal Database Installing and Administering a Satellite Environment Version 8 GC09-4823-00

More information

REXX Language Coding Techniques

REXX Language Coding Techniques IBM z Systems REXX Language Coding Techniques Virgil Hein IBM vhein@us.ibm.com August 2016 Disclaimers The information contained in this presentation is provided for informational purposes only. While

More information

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

Chapter 2 TSO COMMANDS. SYS-ED/ Computer Education Techniques, Inc. Chapter 2 TSO COMMANDS SYS-ED/ Computer Education Techniques, Inc. Objectives You will learn: Executing TSO commands in READY mode or ISPF. The format of a TSO command - syntax and usage. Allocating a

More information

Understanding and Writing Compilers

Understanding and Writing Compilers Understanding and Writing Compilers Macmillan Computer Science Series Consulting Editor Professor F. H. Sumner, University of Manchester G. M. Birtwistle, Discrete Event Modelling on Simula Richard Bornat,

More information

Contents. Preface. Introduction. Introduction to C Programming

Contents. Preface. Introduction. Introduction to C Programming c11fptoc.fm Page vii Saturday, March 23, 2013 4:15 PM Preface xv 1 Introduction 1 1.1 1.2 1.3 1.4 1.5 Introduction The C Programming Language C Standard Library C++ and Other C-Based Languages Typical

More information

Graph Data Model. and Its Data Language. Hideko S. Kunii. Foreword by Gio Wiederhold

Graph Data Model. and Its Data Language. Hideko S. Kunii. Foreword by Gio Wiederhold Hideko S. Kunii Graph Data Model and Its Data Language Foreword by Gio Wiederhold With 35 Figures Springer-Verlag Tokyo Berlin Heidelberg New York London Paris Hong Kong HIDEKO S. KUNII General Manager

More information

Logic Programming with Prolog

Logic Programming with Prolog Logic Programming with Prolog Max Bramer Logic Programming with Prolog Max Bramer, BSc, PhD, CEng, FBCS, FIEE, FRSA, ILTM Department of Computer Science and Software Engineering University of Portsmouth

More information

Tivoli Decision Support for OS/390 Messages and Problem Determination. Version SH

Tivoli Decision Support for OS/390 Messages and Problem Determination. Version SH Tivoli Decision Support for OS/390 Messages and Problem Determination Version 1.5.1 SH19-6902-07 Tivoli Decision Support for OS/390 Messages and Problem Determination Version 1.5.1 SH19-6902-07 Tivoli

More information

ощ 'ршорвшэш! цвн-эориэу ощ 'sajbpossv # PIPG DUJ 'ssjmoossv ^ PIPG pipa w н OX ЛЮН VAV

ощ 'ршорвшэш! цвн-эориэу ощ 'sajbpossv # PIPG DUJ 'ssjmoossv ^ PIPG pipa w н OX ЛЮН VAV ощ 'ршорвшэш! цвн-эориэу ощ 'sajbpossv # PIPG DUJ 'ssjmoossv ^ PIPG pipa w н OX ЛЮН VAV Contents Preface Chapter 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19

More information

The SAS Interface to REXX

The SAS Interface to REXX 95 CHAPTER 9 The SAS Interface to REXX Overview 95 The Subcommand Environment 96 Retrieving and Assigning the Values of REXX Variables in a SAS Program 97 Using the GETEXEC DATA Step Function 97 Using

More information

An Introduction to Using REXX with Language Environment

An Introduction to Using REXX with Language Environment An Introduction to Using REXX with Language Environment Session 8834 Barry.Lichtenstein@us.ibm.com IBM Poughkeepsie, New York Copyright International Business Machines Corporation 2011 Trademarks The following

More information

ST. MARY S COLLEGE FORM 4

ST. MARY S COLLEGE FORM 4 Term 1 Week 1 Week 2 FUNDAMENTALS OF HARDWARE AND SOFTWARE 1. The generalpurpose computer system 2. Functions of the major hardware components of a computer system 3. Functions and uses of primary storage

More information

Production Rendering

Production Rendering Production Rendering Ian Stephenson (Ed.) Production Rendering Design and Implementation 12 3 Ian Stephenson, DPhil National Centre for Computer Animation, Bournemouth, UK British Library Cataloguing in

More information

An Introduction to Using REXX with Language Environment

An Introduction to Using REXX with Language Environment An Introduction to Using REXX with Language Environment Barry.Lichtenstein@us.ibm.com February 2013 Session# 12343 Insert Custom Session QR if Desired. Trademarks The following are trademarks of the International

More information

APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software. Each of these steps can be executed independently.

APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software. Each of these steps can be executed independently. 255 APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software Introduction 255 Generating a QMF Export Procedure 255 Exporting Queries from QMF 257 Importing QMF Queries into Query and Reporting 257 Alternate

More information

Copyright Network Management Forum

Copyright Network Management Forum SPIRIT Platform Blueprint SPIRIT COBOL Language Portability Guide (SPIRIT Issue 3.0) Network Management Forum Copyright December 1995, Network Management Forum All rights reserved. No part of this publication

More information

Table of Contents at a Glance

Table of Contents at a Glance Table of Contents at a Glance Preface... xix Chapter 1 What Is CL?... 1 Chapter 2 Control Language Command Names... 7 Chapter 3 Command Parameters... 13 Chapter 4 The IBM i User Interface... 25 Chapter

More information

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

Uni Hamburg Mainframe Summit z/os The Mainframe Operating. Part 2 TSO, ISPF und Unix Shell. Introduction to the new mainframe Uni Hamburg Mainframe Summit z/os The Mainframe Operating Chapter 4: Interactive facilities of z/os: TSO/E, ISPF, and UNIX Part 2 TSO, ISPF und Unix Shell Michael Großmann IBM Technical Sales Mainframe

More information

Understanding the Concepts and Features of Macro Programming 1

Understanding the Concepts and Features of Macro Programming 1 Contents Preface ix Acknowledgments xi Part 1 Understanding the Concepts and Features of Macro Programming 1 Chapter 1 Introduction 3 What Is the SAS Macro Facility? 4 What Are the Advantages of the SAS

More information

George Grätzer. Practical L A TEX

George Grätzer. Practical L A TEX Practical L A TEX George Grätzer Practical L A TEX 123 George Grätzer Toronto, ON, Canada Additional material to this book can be downloaded from http://extras.springer.com ISBN 978-3-319-06424-6 ISBN

More information

EMBEDDED SYSTEMS: Jonathan W. Valvano INTRODUCTION TO THE MSP432 MICROCONTROLLER. Volume 1 First Edition June 2015

EMBEDDED SYSTEMS: Jonathan W. Valvano INTRODUCTION TO THE MSP432 MICROCONTROLLER. Volume 1 First Edition June 2015 EMBEDDED SYSTEMS: INTRODUCTION TO THE MSP432 MICROCONTROLLER Volume 1 First Edition June 2015 Jonathan W. Valvano ii Jonathan Valvano First edition 3 rd printing June 2015 The true engineering experience

More information

Enterprise Modernisation. Customising RDz with Menu Manager. A.Rudd, Datev eg 1

Enterprise Modernisation. Customising RDz with Menu Manager. A.Rudd, Datev eg 1 Enterprise Modernisation Customising RDz with Menu Manager Enterprise Modernisation Working Group, Stuttgart, May 29, 2008 Anthony Rudd DATEV eg anthony.rudd@datev.de A.Rudd, Datev eg 1 Background RDz

More information

Computers as Components Principles of Embedded Computing System Design

Computers as Components Principles of Embedded Computing System Design Computers as Components Principles of Embedded Computing System Design Third Edition Marilyn Wolf ELSEVIER AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO SINGAPORE SYDNEY

More information

The MATLAB 5 Handbook

The MATLAB 5 Handbook The MATLAB 5 Handbook Springer New York Berlin Heidelberg Barcelona Budapest Hong Kong London Milan Paris Singapore Tokyo Darren Redfern Colin Campbell The MATLAB 5 Handbook Springer Darren Redfern Practical

More information

0 Mastering Microsoft Office

0 Mastering Microsoft Office 0 Mastering Microsoft Office MACMILLAN MASTER SERIES Accounting Advanced English Language Advanced Pure Mathematics Arabic Banking Basic Management Biology British Politics Business Administration Business

More information

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

IBM. DFSMS Using the Interactive Storage Management Facility. z/os. Version 2 Release 3 SC z/os IBM DFSMS Using the Interactive Storage Management Facility Version 2 Release 3 SC23-656-30 Note Before using this information and the product it supports, read the information in Notices on page

More information

William Paterson University of New Jersey Department of Computer Science College of Science and Health Course Outline

William Paterson University of New Jersey Department of Computer Science College of Science and Health Course Outline William Paterson University of New Jersey Department of Computer Science College of Science and Health Course Outline I. Course Title: CS 280 Computer and Assembler Language 3 credits II. III. IV. Course

More information

COMP 3400 Mainframe Administration 1

COMP 3400 Mainframe Administration 1 COMP 3400 Mainframe Administration 1 Christian Grothoff christian@grothoff.org http://grothoff.org/christian/ 1 These slides are based in part on materials provided by IBM s Academic Initiative. 1 Today

More information

Embedded Systems Architecture

Embedded Systems Architecture Embedded Systems Architecture A Comprehensive Guide for Engineers and Programmers By Tammy Noergaard ELSEVIER AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO SINGAPORE

More information

ARIZONA CTE CAREER PREPARATION STANDARDS & MEASUREMENT CRITERIA SOFTWARE DEVELOPMENT,

ARIZONA CTE CAREER PREPARATION STANDARDS & MEASUREMENT CRITERIA SOFTWARE DEVELOPMENT, SOFTWARE DEVELOPMENT, 15.1200.4 STANDARD 1.0 APPLY PROBLEM-SOLVING AND CRITICAL THINKING SKILLS TO INFORMATION 1.1 Describe methods of establishing priorities 1.2 Prepare a plan of work and schedule information

More information

Microcomputer Applications in Structural Engineering

Microcomputer Applications in Structural Engineering Microcomputer Applications in Structural Engineering W. H. Mosley Department of Civil Engineering University of Liverpool and Nanyang Technological Institute Singapore W. J. Spencer Department of Civil

More information

This paper is based on a session I presented at the Enterprise Modernisation Conference held in Stuttgart in May Updated March 19, 2010

This paper is based on a session I presented at the Enterprise Modernisation Conference held in Stuttgart in May Updated March 19, 2010 Enterprise Modernisation Customising RDz with Menu Manager Enterprise Modernisation Working Group, Stuttgart, May 29, 2008 Anthony Rudd DATEV eg anthony.rudd@datev.de This paper is based on a session I

More information

The Definitive Guide to the ARM Cortex-M3

The Definitive Guide to the ARM Cortex-M3 The Definitive Guide to the ARM Cortex-M3 Joseph Yiu AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO SINGAPORE SYDNEY TOKYO Newnes is an imprint of Elsevier Newnes Forewopd

More information

Lecture V Toy Hardware and Operating System

Lecture V Toy Hardware and Operating System 2. THE Machine Lecture V Page 1 Lecture V Toy Hardware and Operating System 1. Introduction For use in our OS projects, we introduce THE Machine where THE is an acronym 1 for Toy HardwarE. We also introduce

More information

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix PGJC4_JSE8_OCA.book Page ix Monday, June 20, 2016 2:31 PM Contents Figures Tables Examples Foreword Preface xix xxi xxiii xxvii xxix 1 Basics of Java Programming 1 1.1 Introduction 2 1.2 Classes 2 Declaring

More information

Tivoli Decision Support for z/os. Administration. Version 1.7 SH

Tivoli Decision Support for z/os. Administration. Version 1.7 SH Tivoli Decision Support for z/os Administration Guide Version 1.7 SH19-6816-09 Tivoli Decision Support for z/os Administration Guide Version 1.7 SH19-6816-09 Note Before using this information and the

More information

EDIABAS BEST/2 LANGUAGE DESCRIPTION. VERSION 6b. Electronic Diagnostic Basic System EDIABAS - BEST/2 LANGUAGE DESCRIPTION

EDIABAS BEST/2 LANGUAGE DESCRIPTION. VERSION 6b. Electronic Diagnostic Basic System EDIABAS - BEST/2 LANGUAGE DESCRIPTION EDIABAS Electronic Diagnostic Basic System BEST/2 LANGUAGE DESCRIPTION VERSION 6b Copyright BMW AG, created by Softing AG BEST2SPC.DOC CONTENTS CONTENTS...2 1. INTRODUCTION TO BEST/2...5 2. TEXT CONVENTIONS...6

More information

Production Methods: Behind the Scenes of Virtual Inhabited 3D Worlds

Production Methods: Behind the Scenes of Virtual Inhabited 3D Worlds Production Methods: Behind the Scenes of Virtual Inhabited 3D Worlds Springer-Verlag London Ltd. Kim Halskov Madsen (Ed.) Production Methods Behind the Scenes ofvirtuallnhabited 3D Worlds Springer Kim

More information