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

Size: px
Start display at page:

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

Transcription

1 Passing Parameters to COBOL sub-routines Copyright Legac-e Education

2 Topics Page Introduction 1 REXX LINK Environments 2 LINK Environment 2 Sample REXX Code 3 LINKMVS Environment 4 Sample REXX Code 5 Sample program invoked by LINKMVS 6 LINKPGM Environment 8 Sample REXX Code 9 Example program invoked by LINKPGM 10 Search order for LINK Environments 11 LINKMVS & LINKPGM Return Codes 11 Copyright Legac-e Education

3 Introduction This document discusses various ways in which REXX can invoke programs written in COBOL. Some of the techniques offer a one-way LINK with only the condition code being returned, whilst others (LINKMVS and LINKPGM) are two-way allowing for the exchange of information. It should be remembered that in a TSO/E environment, the TSO CALL instruction can be used to pass control to a non-rexx routine but this is not a two-way communication as although information can be supplied to the called routine via a similar mechanism to the JCL PARM field the only information returned will be a numeric Return Code. Copyright Legac-e Education Page 1

4 REXX LINK Environments REXX provides LINK and ATTACH environments in which non-rexx programs can be invoked. The difference between them is that ATTACH generates a sub-task whilst LINK passes control directly to the requested program in a similar way to CALL. LINK Environment This is the simplest of the three variants. It allows a single parameter string to be passed to the linked routine. Issuing LINK without a parameter string is valid. The routine invoked via LINK will be passed the address of the Environment Block in Register 0, and a parameter list address in Register 1. The first parameter will be a full word containing the address of the passed character string. The second parameter will be a full word containing the length of the passed string. The linked program cannot return an updated string. Alternative example parm_string = pass this Address Link PROGX parm_string Page 2 Copyright Legac-e Education

5 LINK Address LINK prog_name [parm_str] Parameter Linkage R0 ENVBLOCK R1 Parameter 1 Address of Character string * Parameter 2 Length of Character string * - High order bit on Copyright Legac-e Education, Sample REXX Code /* REXX demonstration of the LINK Host Environment */ Parse Upper Arg num1 num2. /* Get nums from CMD line */ Do While num1 > 99 Say 'First parameter to high' Say 'Enter number in range 1-99' Parse Pull num1. End Do While num2 > 99 Say 'Second parameter to high' Say 'Enter number in range 1-99' Parse Pull num2. End num1 = RIGHT(num1,2,0) num2 = RIGHT(num2,2,0) Address LINK "COBCALL2 " num1 " " num2 Say rc cc = rc /* Return Code = num1*num2 */ Say 'EXEC ran with Return Code' cc Exit cc Copyright Legac-e Education Page 3

6 LINKMVS Environment There are two principal differences between LINK and LINKMVS; The first is that multiple parameters are allowed The second is that the REXX variables may be updated on return Address LINKMVS PROGX p 1, p 2, p 3 The routine invoked via LINKMVS will be passed the address of the Environment Block in Register 0, and a parameter list address in Register 1. The parameter list addressed via Register 1 is itself a list of address, one for each parameter passed. Each of theses address points to the parameter value prefixed by a half-word containing the parameter length. The maximum permitted length of a parameter is 32,767. On return from the linked routine REXX inspects the length fields to determine whether the variable values are to be updated. If length is less than 0 the variable is not updated If the length is 0, the variable is assigned a null value If the length is positive, REXX updates the variable contents, BUT o The actual available buffer size for a parameter is 500 bytes, so individual small parameters can be expanded easily. o Expansion to more than 500 bytes requires initial planning and variables should be passed with the required ultimate length and padded with blanks on the right. Page 4 Copyright Legac-e Education

7 LINKMVS parameter linkage R0 ENVBLOCK R1 Parameter 1 Parameter 2... * Parameter n * - High order bit on Length Length Length Parameter 1 Parameter 2 Parameter n Copyright Legac-e Education, Sample REXX Code /* REXX Code to demonstrate calling an COBOL Routine whilst passing and receiving parameters which may differ in length between entry and exit. */ string1 = 'HELLO WORLD' Say 'Entering COB Sub-routine with' string1 Address LINKMVS 'REXSUB1C string1' /* Call COB RTN */ SAY 'COB Sub-routine returned with' string1 Exit 0 Copyright Legac-e Education Page 5

8 Passing Parameters to COBOL sub-routines Sample program invoked by LINKMVS IDENTIFICATION DIVISION. PROGRAM-ID. REXSUB1C. AUTHOR. T.R.SAMBROOKS. INSTALLATION. DATE-WRITTEN. 4TH NOV ENVIRONMENT DIVISION. CONFIGURATION SECTION. SKIP1 * ROUTINE TO RECEIVE AND RETURN VARIABLES FROM A REXX CALLER. * SKIP3 INPUT-OUTPUT SECTION. FILE-CONTROL. DATA DIVISION. FILE SECTION. WORKING-STORAGE SECTION. 01 WS-NEW-PARMS. 03 WS-NEW-DL PIC S9(4) COMP VALUE WS-NEW-DATA PIC X(13) VALUE 'WHERE ARE YOU'. LINKAGE SECTION. 01 LS-REXX-PARMS. 03 LS-REXX-P1L PIC S9(4) COMP. 03 LS-REXX-DATA1 PIC X(20). PROCEDURE DIVISION USING LS-REXX-PARMS. AA-MAIN-LINE SECTION. MOVE WS-NEW-DL TO LS-REXX-P1L. MOVE WS-NEW-DATA TO LS-REXX-DATA1. AA-MAIN-LINE-EOJ. GOBACK. * THE PHYSICAL END OF THE SOURCE CODE PROGRAM - REXSUB1C * Page 6 Copyright Legac-e Education

9 This page reserved. Copyright Legac-e Education Page 7

10 LINKPGM Environment The syntax for LINKPGM is similar to LINKMVS i.e. Address LINKPGM PROGX p 1, p 2, p 3 LINKPGM provides a similar interface to the linked program except that the parameter values are not prefixed by a length field. Whilst variable values are updated on return from the linked routine, the inherent restriction is that the length of the variable cannot be altered. This is not a significant restriction as the variable could be right padded with blanks to the required length prior to issuing LINKPGM. Page 8 Copyright Legac-e Education

11 LINKPGM parameter linkage R0 ENVBLOCK R1 Parameter 1 Parameter 2... * Parameter n Parameter 1 Parameter 2 Parameter n * - High order bit on Copyright Legac-e Education, Sample REXX Code /* REXX Code to demonstrate calling an COBOL Routine whilst passing and receiving parameters which may differ in length between entry and exit. */ string1 = 'HELLO WORLD ' Say 'Entering COB Sub-routine with' string1 Address LINKPGM 'REXSUB2C string1' /* Call COB RTN */ SAY 'COB Sub-routine returned with' string1 Exit 0 Copyright Legac-e Education Page 9

12 Passing Parameters to COBOL sub-routines Example program invoked by LINKPGM IDENTIFICATION DIVISION. PROGRAM-ID. REXSUB2C. AUTHOR. T.R.SAMBROOKS. INSTALLATION. DATE-WRITTEN. 4TH NOV ENVIRONMENT DIVISION. CONFIGURATION SECTION. SKIP1 * ROUTINE TO RECEIVE AND RETURN VARIABLES FROM A REXX CALLER. * SKIP3 INPUT-OUTPUT SECTION. FILE-CONTROL. DATA DIVISION. FILE SECTION. EJECT WORKING-STORAGE SECTION. 01 WS-NEW-PARMS. 03 WS-NEW-DATA PIC X(20) VALUE 'WHERE ARE YOU '. LINKAGE SECTION. 01 LS-REXX-PARMS. 03 LS-REXX-DATA1 PIC X(20). PROCEDURE DIVISION USING LS-REXX-PARMS. AA-MAIN-LINE SECTION. MOVE WS-NEW-DATA TO LS-REXX-DATA1. AA-MAIN-LINE-EOJ. GOBACK. * THE PHYSICAL END OF THE SOURCE CODE PROGRAM - REXSUB2C * Page 10 Copyright Legac-e Education

13 Search order for LINK Environments The Host Command environment routines use the following search order to locate programs: The Job Pack Area ISPLLIB (If LIBDEF ISPLLIB has been issued, the new LIBDEF library is search before the standard ISPLLIB) Task library STEPLIB if defined. (If STEPLIB is not defined, the JOBLIB will be searched if it has been defined.) Link Pack Area (LPA) Link Library LINKMVS & LINKPGM Return Codes These are provided via the special variable RC and may be: -3 Could not find program -2 Unable to process variables Other Return code from linked program Copyright Legac-e Education Page 11

14 This is the end of Passing Parameters to COBOL sub-routines Page 12 Copyright Legac-e Education

Using the PowerExchange CallProg Function to Call a User Exit Program

Using the PowerExchange CallProg Function to Call a User Exit Program Using the PowerExchange CallProg Function to Call a User Exit Program 2010 Informatica Abstract This article describes how to use the PowerExchange CallProg function in an expression in a data map record

More information

Using a Harness to control execution

Using a Harness to control execution On LinkedIn in July 2018 a question was raised as to the possibility of controlling the execution of a Job Step from within a COBOL program. The case presented was of a three step job where the second

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

Develop a batch DB2 for z/os COBOL application using Rational Developer for System z

Develop a batch DB2 for z/os COBOL application using Rational Developer for System z Develop a batch DB2 for z/os COBOL application using Rational Developer for System z Make use of multiple Eclipse perspectives Skill Level: Intermediate Laurence England (englandl@us.ibm.com) STSM IBM

More information

z/os Learning Center: Introduction to ISPF Unit 2: Editing with ISPF Module 2: Using ISPF Editing Commands

z/os Learning Center: Introduction to ISPF Unit 2: Editing with ISPF Module 2: Using ISPF Editing Commands z/os Learning Center: Introduction to ISPF Unit 2: Editing with ISPF Module 2: Using ISPF Editing Commands Copyright IBM Corp., 2005. All rights reserved. Using ISPF Editing Commands Introduction This

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

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

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

Unicode Support. Chapter 2:

Unicode Support. Chapter 2: Unicode Support Chapter 2: SYS-ED/Computer Education Techniques, Inc. Ch 2: 1 SYS-ED/Computer Education Techniques, Inc. Ch 2: 1 Objectives You will learn: Unicode features. How to use literals and data

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

How to Setup MTO/JCL Spooler Housekeeping Facility for Enterprise Server

How to Setup MTO/JCL Spooler Housekeeping Facility for Enterprise Server How to Setup MTO/JCL Spooler Housekeeping Facility for Enterprise Server Overview You can configure your enterprise server so when your region starts a CICS transaction called JCL1 runs automatically to

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

IBM Software Group. Code Coverage

IBM Software Group. Code Coverage IBM Software Group Code Coverage Jon Sayles/IBM jsayles@us.ibm.com October 1 st, 2018 Code Coverage Overview Extension to Debugging: Tracks lines of code that have been executed during test Improves application

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

See the mechanics of how to do this for a cycle-driven process with a high degree of usability and easy job output management.

See the mechanics of how to do this for a cycle-driven process with a high degree of usability and easy job output management. Abstract: When concurrency is not needed for warehouse applications it is possible to use standard z/os tools to load a Db2 Analytics Accelerator without sample programs or 3rd party tools. See the mechanics

More information

Generic Attach on Z/OS (or attachment demystified)

Generic Attach on Z/OS (or attachment demystified) Generic Attach on Z/OS (or attachment demystified) Jack Bailey BlueCross BlueShield of South Carolina Jack.bailey@bcbssc.com Session Code: A13 Date and Time of Presentation: May 14, 2010 08:30 AM 09:30

More information

CA Culprit for CA IDMS

CA Culprit for CA IDMS CA Culprit for CA IDMS User Modules Guide Release 18.5.00, 2nd Edition This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter referred to as the

More information

Session:17701 Multi-Row Processing Coding it in COBOL

Session:17701 Multi-Row Processing Coding it in COBOL Session:17701 Multi-Row Processing Coding it in COBOL Paul Fletcher IBM 7th October 2009 14.15-15.15 Platform:z/OS DB2 V8 promoted Multi-Row processing as one of the major performance enhancements, you

More information

MVS/QuickRef - Tailoring QW

MVS/QuickRef - Tailoring QW MVS/QuickRef - Tailoring QW Speaker Name: Chuck Davis Speaker Company: Chicago-Soft, Ltd. Date of Presentation: February 5, 2013 Session Number: 12489 cdavis@quickref.com Planned topics include - 1 of

More information

TABLE 1 HANDLING. Chapter SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC.

TABLE 1 HANDLING. Chapter SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC. TABLE 1 HANDLING Chapter SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC Objectives You will learn: C C C C C C When to use a table How to allocate and initialize a table Differences between a subscripted and

More information

CA Calendar Routines. Technical Manual

CA Calendar Routines. Technical Manual CA Calendar Routines Technical Manual r6 This documentation (the Documentation ) and related computer software program (the Software ) (hereinafter collectively referred to as the Product ) is for the

More information

COMPUTER EDUCATION TECHNIQUES, INC. (COBOL_QUIZ- 4.8) SA:

COMPUTER EDUCATION TECHNIQUES, INC. (COBOL_QUIZ- 4.8) SA: In order to learn which questions have been answered correctly: 1. Print these pages. 2. Answer the questions. 3. Send this assessment with the answers via: a. FAX to (212) 967-3498. Or b. Mail the answers

More information

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

Identification Division. Program-ID. J * * * * Copyright Wisconsin Department of Transportation * * * * Permission is hereby granted, free of

Identification Division. Program-ID. J * * * * Copyright Wisconsin Department of Transportation * * * * Permission is hereby granted, free of Identification Division Program-ID J7200521 Copyright Wisconsin Department of Transportation Permission is hereby granted, free of charge, to any person or organisation to use this software and its associated

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

PROGRAM-ID. BILLING. AUTHOR. GEORGE FOWLER-ED CHRISTENSON. INSTALLATION. TEXAS A & M UNIVERSITY-CSUS. DATE-WRITTEN.

PROGRAM-ID. BILLING. AUTHOR. GEORGE FOWLER-ED CHRISTENSON. INSTALLATION. TEXAS A & M UNIVERSITY-CSUS. DATE-WRITTEN. * WHEN KEYING A COBOL PROGRAM, THERE ARE TWO MARGINS THAT * * REQUIRE CONSIDERATION. THE 'A' MARGIN (COLUMNS 8 TO 11) AND * * THE 'B' MARGIN (COLUMNS 12 TO 72). ALL DIVISION NAMES, * * SECTION NAMES, PARAGRAPH

More information

Practical Usage of TSO REXX

Practical Usage of TSO REXX Practical Usage of TSO REXX Springer London Berlin Heidelberg New York Barcelona Hong Kong Milan Paris Singapore Tokyo Anthony S. Rudd Practical Usage of TSOREXX 3rd revised edition t Springer Anthony

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

Getting Started with Xpediter/Eclipse

Getting Started with Xpediter/Eclipse Getting Started with Xpediter/Eclipse This guide provides instructions for how to use Xpediter/Eclipse to debug mainframe applications within an Eclipsebased workbench (for example, Topaz Workbench, Eclipse,

More information

Computer Associates SRAM Sort Emulation

Computer Associates SRAM Sort Emulation Batch Mainframe applications in COBOL or PL/1 may use CA s SRAM sort on the mainframe. Mainframe Express does not support SRAM by default. SRAM sort is compatible to DFSORT (only the process of invocation

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

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

High Level Assembler Exits

High Level Assembler Exits High Level Assembler Exits Practical examples of invoking High Level Assembler exits and why they are useful by ColeSoft, a leader in all things assembler Introduction Today we will talk about modifying

More information

zcobol System Programmer s Guide v1.5.06

zcobol System Programmer s Guide v1.5.06 zcobol System Programmer s Guide v1.5.06 Automated Software Tools Corporation. zc390 Translator COBOL Language Verb Macros COMPUTE Statement Example zcobol Target Source Language Generation Macros ZC390LIB

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

CA JCLCheck Workload Automation CA RS 1404 Service List

CA JCLCheck Workload Automation CA RS 1404 Service List CA JCLCheck Workload Automation 12.0 1 CA RS 1404 Service List Description Hiper 12.0 RO62327 INVALID CAY6501 MESSAGE WITH MULTI-VOL DATASET AND NOSMS RO62328 INVALID CAY6501 MESSAGE WITH MULTI-VOL DATASET

More information

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

ISPF at EI&O UFIT. UF Information Technology. EI&O Document ID: D0040 Last Updated: 06/28/2002 UFIT ISPF at EI&O EI&O Document ID: D0040 Last Updated: 06/28/2002 The Interactive System Productivity Facility (ISPF) and the Program Development Facility (PDF) are available in TSO. This document briefly

More information

JCL Syntax Running a Simple Job

JCL Syntax Running a Simple Job JCL Statements Lesson 2: JCL consists of eight basic statements which serve specific functions. The following JCL statements will be used: JOB The job statement defines a job and provides information about

More information

Micro Focus RM/COBOL. RM/COBOL Syntax Summary

Micro Focus RM/COBOL. RM/COBOL Syntax Summary Micro Focus RM/COBOL RM/COBOL Syntax Summary Contents Micro Focus The Lawn 22-30 Old Bath Road Newbury, Berkshire RG14 1QN UK http://www.microfocus.com Copyright Micro Focus 2017. All rights reserved.

More information

IBM Education Assistance for z/os V2R3

IBM Education Assistance for z/os V2R3 IBM Education Assistance for z/os V2R3 Toolkit REXX support & Toolkit Streaming Send/Receive Element/Component: z/os Client Web Enablement Toolkit 62 2017 IBM Corporation Agenda Trademarks Session Objectives

More information

XPEDITER/TSO Stepping Through Program Execution

XPEDITER/TSO Stepping Through Program Execution XPEDITER/TSO Stepping Through Program Execution 1 XPEDITER/TSO Stepping Through Program Execution General Questions Question Page(s) Can I issue a GO command to the next paragraph? (COBOL only) 2 Can I

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

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

Version 2 Release 3. IBM IMS Configuration Manager for z/os User's Guide IBM SC Version 2 Release 3 IBM IMS Configuration Manager for z/os User's Guide IBM SC27-8789-00 Version 2 Release 3 IBM IMS Configuration Manager for z/os User's Guide IBM SC27-8789-00 Note: Before using this

More information

J E S 2 J O B L O G JES2 JOB STATISTICS JUL 15 JOB EXECUTION DATE 234 CARDS READ 407 SYSOUT PRINT RECORDS 0 SYSOUT PUNCH RECORDS

J E S 2 J O B L O G JES2 JOB STATISTICS JUL 15 JOB EXECUTION DATE 234 CARDS READ 407 SYSOUT PRINT RECORDS 0 SYSOUT PUNCH RECORDS CCCCCCCCCC OOOOOOOOOOOO BBBBBBBBBBB CCCCCCCCCC LL GGGGGGGGGG CCCCCCCCCCCC OOOOOOOOOOOO BBBBBBBBBBBB CCCCCCCCCCCC LL GGGGGGGGGGGG CC CC OO OO BB BB CC CC LL GG GG CC OO OO BB BB CC LL GG CC OO OO BB BB

More information

Legac-E Education. Appendix A. Sample Application

Legac-E Education. Appendix A. Sample Application Appendix A Sample Application Copyright Legac-e Education 2013-2018 Topics Page Introduction 1 Application Overview 2 Transactions / Programs 2 VMnn / PnnnMNU 2 VAnn / PnnnADD 2 VBnn / PnnnBRW / PnnnPTH

More information

CA-MetaCOBOL + Online Programming Language Guide. Release 1.1 R203M+11DRP

CA-MetaCOBOL + Online Programming Language Guide. Release 1.1 R203M+11DRP CA-MetaCOBOL + Online Programming Language Guide Release 1.1 R203M+11DRP -- PROPRIETARY AND CONFIDENTIAL INFORMATION -- This material contains, and is part of a computer software program which is, proprietary

More information

IBM Record Generator for Java V Version 3 Release 0 IBM

IBM Record Generator for Java V Version 3 Release 0 IBM IBM Record Generator for Java V3.0.0 Version 3 Release 0 IBM IBM Record Generator for Java V3.0.0 Version 3 Release 0 IBM Note Before using this information and the product it supports, read the information

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

TSO/ISPF TIPS By:

TSO/ISPF TIPS By: TSO/ISPF TIPS By: jimleon@cs.niu.edu I will demonstrate how to create a file/dataset with JCL, submit the work(job) to the Marist mainframe, and fetch its output in TSO/ISPF. My Marist id is KC02321. First,

More information

User Exits CHAPTER. Table 5-1 Defined User Exit Points

User Exits CHAPTER. Table 5-1 Defined User Exit Points CHAPTER 5 User Exits This chapter provides information about writing exit routines for Cisco IOS for S/390. It includes these sections: Overview Provides a brief overview of the exit routines. Exits Defines

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

XPEDITER/TSO Altering Program Flow

XPEDITER/TSO Altering Program Flow XPEDITER/TSO Altering Program Flow 1 XPEDITER/TSO Altering Program Flow General Questions Question Page(s) Will inserted XPEDITER commands change the actual load module? 2 Why does the GOTO command not

More information

CA Date Logic Generator. Installation and Reference Manual

CA Date Logic Generator. Installation and Reference Manual CA Date Logic Generator Installation and Reference Manual r6 This documentation (the Documentation ) and related computer software program (the Software ) (hereinafter collectively referred to as the Product

More information

RA/2 RACF CLI Version 1 - Release 1

RA/2 RACF CLI Version 1 - Release 1 RA/2 RACF CLI Version 1 - Release 1 Copyright racfra2.com 2008 All Rights Reserved Distributed by: SEA America Inc. SEA Europe EBM Inc. Ubiquity Pty Ltd Softplex Japan racfra2.com corp. TABLE OF CONTENTS

More information

CA Panvalet CMS Option

CA Panvalet CMS Option CA Panvalet CMS Option Getting Started r14.6 This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter referred to as the Documentation ) is for your

More information

Chapter 1. Overview Topic: What's new Topic: Features and benefits

Chapter 1. Overview Topic: What's new Topic: Features and benefits Updates that apply to IBM DB2 Analytics Accelerator Loader for z/os V2R1 User's Guide (SC27-6777-00) Date of change: August, 2016 Topics: Multiple Change description: Documentation corrections and updates

More information

Session The Catalog Search Interface

Session The Catalog Search Interface Session 14633 The Catalog Search Interface Steve Pryor DTS Software, Inc. Monday, March 10, 2014, 11:00AM Session 14633 Insert Custom Session QR if Desired. Obtaining Information from Catalogs ISPF 3.4

More information

COBOL - DATABASE INTERFACE

COBOL - DATABASE INTERFACE COBOL - DATABASE INTERFACE http://www.tutorialspoint.com/cobol/cobol_database_interface.htm Copyright tutorialspoint.com As of now, we have learnt the use of files in COBOL. Now, we will discuss how a

More information

Interactive System Productivity Facility (ISPF)

Interactive System Productivity Facility (ISPF) Procedures National Finance Center Office of the Chief Financial Officer U.S. Department of Agriculture June 1998 Interactive System Productivity Facility (ISPF) TITLE VI Systems Access Manual CHAPTER

More information

MAPnnn - Portmapper Log Messages

MAPnnn - Portmapper Log Messages CHAPTER 6 - Portmapper Log Messages This chapter describes messages written to logs by the Portmapper. MAP000I PORTMAP INITIALIZATION SUCCESSFULLY COMPLETED. Explanation The MAP task group was successfully

More information

SPICE. SPICE DL/I Product Description. Release 1.1 SPI Span Software Consultants Limited

SPICE. SPICE DL/I Product Description. Release 1.1 SPI Span Software Consultants Limited SPICE S p a n I n t e g r a t e d C h e c k p o i n t / R e s t a r t E n v i r o n m e n t SPICE DL/I Product Description Release 1.1 SPI 12 05 Span Software Consultants Limited The Genesis Centre Birchwood

More information

JRH DB2I2 for DB2 OS/390 & zos

JRH DB2I2 for DB2 OS/390 & zos JRH DB2I2 for DB2 OS/390 & zos Installation Guide Version 7.1 & 8.0 11/22/2006 310-544-1497 29011 Golden Meadow Drive Rancho Palos Verdes, CA 90275 United States Golden State Software Inc. http://www.jrh-inc.com/

More information

ISPF Behind the Scenes

ISPF Behind the Scenes Interactive System Productivity Facility (ISPF) ISPF Behind the Scenes SHARE 120 Session 12732 Peter Van Dyke IBM Australia SHARE 120, Winter 2013 pvandyke@au1.ibm.com Agenda Understanding ISPF Dialogs

More information

Chicago Interface Group, Inc. Error Codes and Messages. January 2008

Chicago Interface Group, Inc. Error Codes and Messages. January 2008 Chicago Interface Group, Inc. Error Codes and Messages January 2008 Chicago Interface Group, Inc. 858 West Armitage Avenue #286 Chicago, IL 60614 USA Phone: (773) 524-0998 Fax: (815) 550-6088 Internet:

More information

RUNC Easy Commands for the ISPF Edit User

RUNC Easy Commands for the ISPF Edit User RUNC Easy Commands for the ISPF Edit User By Lionel B. Dyck Table of Contents Change History... 3 Introduction... 4 What is RUNC?... 4 What benefit does RUNC provide?... 4 RUNC... 5 RUNC Command Syntax...

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

Chapter 13. Synchronizing secondary index databases with a DEDB with FPA

Chapter 13. Synchronizing secondary index databases with a DEDB with FPA Chapter 13. Synchronizing secondary index databases with a DEDB with FPA Use the Resync function of FPA to synchronize secondary index databases with their primary DEDB database. Topics: v Functions of

More information

Type of Cobol Entries

Type of Cobol Entries Review of COBOL Coding Rules: Columns Use Explanation 1-6 sequence numbers or page and line numbers (optional) 7 Continuation, Comment, or starting a new page Previously used for sequencechecking when

More information

Mainframe Developer NO.2/29, South Dhandapani St, Burkit road, T.nagar, Chennai-17. Telephone: Website:

Mainframe Developer NO.2/29, South Dhandapani St, Burkit road, T.nagar, Chennai-17. Telephone: Website: Mainframe Developer Mainframe Developer Training Syllabus: IBM Mainframe Concepts Architecture Input/output Devices JCL Course Syllabus INTRODUCTION TO JCL JOB STATEMENT CLASS PRTY MSGCLASS MSGLEVEL TYPRUN

More information

Version 1 Release 6. IBM Autonomics Director for Db2 for z/os User's Guide IBM SC

Version 1 Release 6. IBM Autonomics Director for Db2 for z/os User's Guide IBM SC Version 1 Release 6 IBM Autonomics Director for Db2 for z/os User's Guide IBM SC19-4389 Version 1 Release 6 IBM Autonomics Director for Db2 for z/os User's Guide IBM SC19-4389 Note: Before using this

More information

SUBSCRIPTING A 2-D Table A 3-D Table Laoding a Table The INITIALIZE Statement The Replacing Option...

SUBSCRIPTING A 2-D Table A 3-D Table Laoding a Table The INITIALIZE Statement The Replacing Option... IS SUBSCRIPTING... 1 A 2-D Table... 2 A 3-D Table... 2 Laoding a Table... 4 The INITIALIZE Statement... 5 The Replacing Option... 6 Initialising fixed length Tables... 6 Restrictions on the use of INITIALIZE...

More information

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

Chapter 2 SYSTEM OVERVIEW. SYS-ED/ Computer Education Techniques, Inc. Chapter 2 SYSTEM OVERVIEW SYS-ED/ Computer Education Techniques, Inc. Objectives You will learn: Structure of a program. Easytrieve Plus job processing logic. Easytrieve Plus syntax rules. How to use listing

More information

Using dynamic SQL in COBOL

Using dynamic SQL in COBOL Using dynamic SQL in COBOL You can use all forms of dynamic SQL in all supported versions of COBOL. For a detailed description and a working example of the method, see Sample COBOL dynamic SQL program

More information

Introduction. Chapter 1:

Introduction. Chapter 1: Introduction Chapter 1: SYS-ED/Computer Education Techniques, Inc. Ch 1: 1 SYS-ED/Computer Education Techniques, Inc. 1:1 Objectives You will learn: New features of. Interface to COBOL and JAVA. Object-oriented

More information

QPU2 & QSU2 Sample COBOL WMQ CICS Pub/Sub Transactions QSU2 & QPU2

QPU2 & QSU2 Sample COBOL WMQ CICS Pub/Sub Transactions QSU2 & QPU2 QSU2 & QPU2 Sample COBOL CICS WMQ Publication and Subscription Transactions Topic Strings with embedded blanks The IBM ATS WebSphere MQ team: Lyn Elkins elkinsc@us.ibm.com Mitch Johnson mitchj@us.ibm.com

More information

COBOL - TABLE PROCESSING

COBOL - TABLE PROCESSING COBOL - TABLE PROCESSING http://www.tutorialspoint.com/cobol/cobol_table_processing.htm Copyright tutorialspoint.com Arrays in COBOL are known as tables. An array is a linear data structure and is collection

More information

CGI Subroutines User's Guide

CGI Subroutines User's Guide FUJITSU Software NetCOBOL V11.0 CGI Subroutines User's Guide Windows B1WD-3361-01ENZ0(00) August 2015 Preface Purpose of this manual This manual describes how to create, execute, and debug COBOL programs

More information

Enterprise Modernisation

Enterprise Modernisation Enterprise Modernisation Customising the RDz Job Generation Process Anthony Rudd (anthony.rudd@datev.de) DATEV eg October 2009 Revised 06.11.2009 Customising RDz JCL Procedures 1 Job Generation Process

More information

IBM Fault Analyzer for z/os

IBM Fault Analyzer for z/os Lab 17314 IBM PD Tools Hands-On Lab: Dive into Increased Programmer Productivity IBM Fault Analyzer for z/os Eclipse interface Hands-on Lab Exercises IBM Fault Analyzer for z/os V13 Lab Exercises Copyright

More information

Identification Division. Program-ID. J * * * * Copyright Wisconsin Department of Transportation * * * * Permission is hereby granted, free of

Identification Division. Program-ID. J * * * * Copyright Wisconsin Department of Transportation * * * * Permission is hereby granted, free of Identification Division Program-ID J7200551 Copyright Wisconsin Department of Transportation Permission is hereby granted, free of charge, to any person or organisation to use this software and its associated

More information

CA Endevor Software Change Manager

CA Endevor Software Change Manager CA Endevor Software Change Manager CA Roscoe Interface Administration Guide Version 16.0.00 This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter

More information

VISION:Builder VISION:Two

VISION:Builder VISION:Two VISION:Builder VISION:Two Release 13.5 Installation and Support Manual for MVS BUINM135.PDF/D92-010-007 Copyright 1992-1997 Sterling Software, Inc. All Rights Reserved Sterling Software Information Management

More information

IBM Workload Scheduler V9.3

IBM Workload Scheduler V9.3 IBM Workload Scheduler V9.3 Workload Automation Programming Language 9 Interesting application scenarios Raffaella Viola (IBM) 03/11/2015 Abstract Workload Automation Programming Language for z/os (WAPL)

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

COMPUTER EDUCATION TECHNIQUES, INC. (JCL ) SA:

COMPUTER EDUCATION TECHNIQUES, INC. (JCL ) SA: In order to learn which questions have been answered correctly: 1. Print these pages. 2. Answer the questions. 3. Send this assessment with the answers via: a. FAX to (212) 967-3498. Or b. Mail the answers

More information

CS266 Software Reverse Engineering (SRE) Reengineering and Reuse of Legacy Software

CS266 Software Reverse Engineering (SRE) Reengineering and Reuse of Legacy Software CS266 Software Reverse Engineering (SRE) Teodoro (Ted) Cipresso, teodoro.cipresso@sjsu.edu Department of Computer Science San José State University Spring 2015 The information in this presentation is taken

More information

CA JCLCheck Workload Automation CA RS 1411 Service List

CA JCLCheck Workload Automation CA RS 1411 Service List CA JCLCheck Workload Automation 12.0 1 CA RS 1411 Service List Description Type 12.0 RO73100 INCORRECT MESSAGE CAY6077E FOR EMPTY GDG BASE DSN PTF RO73180 VARIOUS PROBLEMS WITH SOME DFSORT KEYWORDS PTF

More information

Updates that apply to IBM DB2 Analytics Accelerator Loader for z/os V2R1 User's Guide (SC )

Updates that apply to IBM DB2 Analytics Accelerator Loader for z/os V2R1 User's Guide (SC ) Updates that apply to IBM DB2 Analytics Accelerator Loader for z/os V2R1 User's Guide (SC27-6777-00) Date of change: January 2018 Topic: Multiple Change description: Documentation changes made in support

More information

About these Release Notes. This document contains important information about Pro*COBOL 12c Release 2 (12.2).

About these Release Notes. This document contains important information about Pro*COBOL 12c Release 2 (12.2). Pro*COBOL Release Notes 12c Release 2 (12.2) E85817-01 May 2017 Release Notes About these Release Notes This document contains important information about Pro*COBOL 12c Release 2 (12.2). It contains the

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

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

ISPF Editor Beyond the Basics Hands-On Lab

ISPF Editor Beyond the Basics Hands-On Lab ISPF Editor Beyond the Basics Hands-On Lab Liam Doherty Peter Van Dyke dohertl@au1.ibm.com pvandyke@au1.ibm.com SHARE 117 Orlando, FL August, 2011 Contents Getting Started...2 The ISPF Editor Lab...4 The

More information

Item A The first line contains basic information about the dump including its code, transaction identifier and dump identifier. The Symptom string

Item A The first line contains basic information about the dump including its code, transaction identifier and dump identifier. The Symptom string 1 2 Item A The first line contains basic information about the dump including its code, transaction identifier and dump identifier. The Symptom string contains information which is normally used to perform

More information

#3) Problem : IMS - DFS870A - while trying to take the image copy of IMS database

#3) Problem : IMS - DFS870A - while trying to take the image copy of IMS database #1) TIP: IMS - DFSRRC00 - Region control program PARM=(ULU,DFSUDMP0 (UDR,DFSUDMP0 ULU Specifies a load/unload region UDR Specifies a recovery region If you specify UDR a valid DBD name is require, but

More information

Enterprise Library Software

Enterprise Library Software Enterprise Library Software LCM Messages and Codes Version 7.1 Revision AA October 2010, Revision AA Submit comments about this document by clicking the Feedback [+] link at: http://docs.sun.com Copyright

More information

IBM Education Assistance for z/os V2R1

IBM Education Assistance for z/os V2R1 IBM Education Assistance for z/os V2R1 Item: AMODE 64 support for 1M and 2G large pages Element/Component: Language Environment Material is current as of June 2013 Agenda Trademarks Presentation Objectives

More information

IBM Systems. Introduction to z/vm Rexx Hands-on Lab. Updated with answers to lab exercises

IBM Systems. Introduction to z/vm Rexx Hands-on Lab. Updated with answers to lab exercises Introduction to z/vm Rexx Hands-on Lab Updated with answers to lab exercises Sessions 9167-9168 SHARE 113 Denver, Colorado August 2009 John Franciscovich IBM Phil Smith III Voltage Security, Inc. IBM Systems

More information

IBM Workload Simulator (WSim) Version 1 Release Program Number 5655-I39. General Enhancements. September 17, 2004

IBM Workload Simulator (WSim) Version 1 Release Program Number 5655-I39. General Enhancements. September 17, 2004 IBM Workload Simulator (WSim) Version 1 Release 1.0.1 Program Number 5655-I39 General Enhancements September 17, 2004 Introduction Applying the PTF which fixes APAR PQ94132 for the IBM Workload Simulator

More information

Enterprise COBOL V6.1: What s New? Tom Ross Captain COBOL February 29

Enterprise COBOL V6.1: What s New? Tom Ross Captain COBOL February 29 Enterprise COBOL V6.1: What s New? Tom Ross Captain COBOL February 29 What new features are in Enterprise COBOL V6? Improved compiler capacity to allow compilation and optimization of very large COBOL

More information

QCOPYPRP Sample COBOL WMQ CICS Copy messages adding Message Properties QCOPYPRP. Sample COBOL CICS WMQ Program Copy messages and apply a property

QCOPYPRP Sample COBOL WMQ CICS Copy messages adding Message Properties QCOPYPRP. Sample COBOL CICS WMQ Program Copy messages and apply a property QCOPYPRP Sample COBOL CICS WMQ Program Copy messages and apply a property The IBM ATS WebSphere MQ team: Lyn Elkins elkinsc@us.ibm.com Mitch Johnson mitchj@us.ibm.com Copyright IBM Corporation, 2013 QCOPYPRP

More information