Enterprise COBOL V5/V6 and AMODE RMODE. Tom Ross Captain COBOL April 1, 2016

Size: px
Start display at page:

Download "Enterprise COBOL V5/V6 and AMODE RMODE. Tom Ross Captain COBOL April 1, 2016"

Transcription

1 Enterprise COBOL V5/V6 and AMODE RMODE Tom Ross Captain COBOL April 1, 2016

2 What are AMODE and RMODE? Attributes of executables AMODE 31, RMODE 24 Program Management Binder options AMODE=31,RMODE=24 HLASM Assembler instructions AMODE 31, RMODE 24 RMODE is also a COBOL compiler option RMODE(24 ANY AUTO) It was added to support NORENT above the line in the 1990s NORENT is no longer supported for above the line loading NORENT programs have RMODE 24 always in COBOL V5 There is no such thing as Compiling with AMODE 31 2

3 How does compiler communicate with the BINDER for AMODE and RMODE? All COBOL compilers set AMODE and RMODE BINDER reads this in Object program format Combines all of the different objects and sets the resulting attribute in Program Object All COBOL compilers set AMODE=31 COBOL compilers V5 and later set AMODE=MIN There is no way to tell the BINDER about RENT Users still have to set REUS manually if they need it From the COBOL Migration Guide: If you compile with the RENT compiler option, you must tell the binder that a module is RENT with REUS=RENT. 3

4 Where does WORKING-STORAGE data go? For NORENT programs, data is in the executable RMODE of executable decides above or below the line For RENT programs, memory is acquired for WORKING- STORAGE and other areas at run time DATA(24) says get data below the line DATA(31) says get it from wherever, which might be above the line, not guaranteed The LE runtime options ALL31 and HEAP ALL31 ALL31(OFF) says that some programs are not AMODE 31 ALL31(ON) says all programs are AMODE 31 HEAP HEAP(,,ANYWHERE) says it is OK to get HEAP above the line HEAP(,,BELOW) says HEAP must be below 4

5 Where does WORKING-STORAGE data go? Examples: RENT program, compiled with DATA(31), run with HEAP(,,BELOW): WORKING-STORAGE and other areas below the line RENT program, compiled with DATA(24), run with HEAP(,,ANYWHERE) WORKING-STORAGE and other areas below the line RENT program, compiled with DATA(31), run with HEAP(,,ANYWHERE) WORKING-STORAGE and other areas acquired from unrestricted storage (could be above the line) 5

6 Where does WORKING-STORAGE data go? For RENT programs, memory is acquired for WORKING- STORAGE and other areas at run time Always from HEAP in Pre-V5 compilers In COBOL V5.1 originally, from WSA, which is a coordinated effort between C/C++, BINDER and COBOL runtime Not a good idea! Too many cases of many large programs bound together Load time was VERY slow Also, STORAGE option no longer worked for initializing 6

7 Where does WORKING-STORAGE data go? COBOL WORKING-STORAGE is allocated from heap storage when the COBOL program is compiled with the RENT option and is in one of the following cases: Compiled with Enterprise COBOL V4.2 or earlier releases Compiled with the DATA(24) compiler option Running in CICS A COBOL V5.1.1 or later program in a program object that contains only COBOL programs (except COBOL 5.1.0) and assembler. There are no Language Environment interlanguage calls within the program object and no COBOL V5.1.0 programs. A COBOL V5 program in a program object where the main entry point is COBOL V5. In this case, the program object can contain Language Environment interlanguage calls, with COBOL statically linking with C, C++ or PL/I. All COBOL V5 programs within such program objects (even if they are not the main entry point) have their WORKING-STORAGE allocated from heap storage. A COBOL V6.1 or later program 7

8 Where does EXTERNAL data go? In addition to affecting how storage is obtained for dynamic data areas (WORKING-STORAGE, FD record areas, and parameter lists), the DATA compiler option can also influence where storage for EXTERNAL data is obtained. Storage required for EXTERNAL data is obtained from unrestricted storage if the following conditions are met: The program is compiled with the DATA(31) and RENT compiler options. The HEAP(,,ANYWHERE) runtime option is in effect. The ALL31(ON) runtime option is in effect. 8

9 Adding New COBOL to Old Apps Example: Mixing new and old (all calls DYNAMIC) NORENT RMODE (ANY) COBOL V3 P1 P1 DATA RENT DATA(31) COBOL V5 P3 RENT DATA(24) COBOL V5 P5 16 MB Line P3 DATA Won't work for P1 DATA or P3 DATA VS COBOL II P2 COBOL V5 P4 ASM P6 AMODE 24 P2DATA P4 DATA P5 DATA P6 DATA NORENT RES NORENT RMODE (AUTO 24)

10 Converting assembler to AMODE 31 More than just link-editing with AMODE=31! Sometimes just changing AMODE 24 to AMODE 31 in source is all you need to do Before you do that, check out the following first Use of the SPM (set program mask) instruction LA instruction used to clear the high-order byte of a register Address fields that are less than 4 bytes Use of the ICM (insert characters under mask) instruction AMODE of subprograms AMODE of CALLing programs S8216TR / 24FEB02

11 Converting assembler to AMODE 31 For a good discussion of 31-bit addressability issues, see the z/os MVS Assembler Services Guide, Chapter 5, "Understanding 31-Bit Addressing. Chapter 5.2 has notes on converting from 24- to 31-bit addressing mode. For 31-bit I/O issues, see DFSMS Macro Instructions for Data Sets Chapter 2, "Non-VSAM Macros" contains information for each macro, regarding 31-bit addressability considerations. Appendix A in Appendix 1.1 contains a table, indicating for each macro, whether it can be issued in 31-bit amode. 0/com.ibm.zos.v2r2.ieaa600/planfor.htm?lang=en S8216TR / 17FEB03

12 Converting assembler to AMODE 31 Use of the SPM (set program mask) instruction Does the module depend on the instruction length code, condition code, or program mask placed in the high order byte of the return address register by a 24-bit mode BAL or BALR instruction? One way to determine some of the dependencies is by checking all uses of the SPM (set program mask) instruction. SPM might indicate places where BAL or BALR were used to save the old program mask, which SPM might then have reset. The IPM (insert program mask) instruction can be used to save the condition code and the program mask. LA instruction used to clear high-order byte of register This practice will not clear the high-order byte in 31-bit addressing mode Use SR and ICM S8216TR / 24FEB02

13 Converting assembler to AMODE 31 Address fields that are less than 4 bytes Are any address fields that are less than 4 bytes still appropriate? Make sure that a load instruction does not pick up a 4-byte field containing a 3-byte address with extraneous data in the high-order byte Make sure that bits 1-7 are zero Use of ICM (insert characters under mask) instruction The use of this instruction is sometimes a problem because it can put data into the high-order byte of a register containing an address, or It can put a 3-byte address into a register without first zeroing the register. If the register is then used as a base, index, or branch address register in 31-bit addressing mode, it might not indicate the proper address S8216TR / 24FEB02

14 Converting assembler to AMODE 31 AMODE of subprograms If AMODE 24 then shared data must be below 16M line AMODE of CALLing programs If AMODE 24, might have to handle mode switching COBOL dynamic CALL handles this for you S8216TR / 24FEB02

15 Converting assembler to AMODE 31 If no issues with previous 6 items: Use of the SPM (set program mask) instruction LA instruction used to clear the high-order byte of a register Address fields that are less than 4 bytes Use of the ICM (insert characters under mask) instruction AMODE of subprograms AMODE of CALLing programs Just add AMODE statement to the source S8216TR / 24FEB02

16 Converting assembler to AMODE 31 ASM2COB CSECT ASM2COB AMODE 31 ASM2COB RMODE ANY * EXTRN COBSUB ============================================ * Save callers regs and chain save areas * ============================================ STM 14,12,12(13) Store incoming registers LR 12,15 Base ASM2COB on Register 12 USING ASM2COB,12 * LA 15,SAVEAREA Get this program's save area ST 13,4(,15) Save caller's save area pointer ST 15,8(,13) Store back this program's save * save area pointer LR 13,15 Load standard save area Register 13 LOAD EP=IGZEDT4,ERRET=NOTFOUND LR 1,0 MVC PGMHDR,6(1) Move in program header WTO MF=(E,WTOMSG) Display program header DELETE EP=IGZEDT4 B SETPLIST * NOTFOUND WTO 'IGZEDT4 was not found',routcde=(11) * S8216TR / 24FEB02

Assembler Issues When Migrating to LE and/or AMODE 31

Assembler Issues When Migrating to LE and/or AMODE 31 Assembler Issues When Migrating to LE and/or AMODE 31 Tom Ross SHARE Session 8216 August, 2003 S8216TR / 17FEB03 Introduction Moving COBOL and/or PL/I applications with some assembler programs mixed in

More information

Introduction to HLASM SHARE Boston 2013 High Level Assembler Bootcamp. Example 1. Example 2

Introduction to HLASM SHARE Boston 2013 High Level Assembler Bootcamp. Example 1. Example 2 Introduction to HLASM SHARE Boston 2013 High Level Assembler Bootcamp Example 1 SIMPLE HELLO WORLD PROGRAM MAIN PROGRAM STARTS HERE EX1 CSECT EX1 AMODE 31 EX1 RMODE 24 USUAL PROGRAM SETUP

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

Assembler University 303: A Gentle Introduction to Trimodal Programming on z/architecture

Assembler University 303: A Gentle Introduction to Trimodal Programming on z/architecture Assembler University 303: A Gentle Introduction to Trimodal Programming on z/architecture SHARE 116 in Anaheim, Session 8981 Avri J. Adleman, IBM adleman@us.ibm.com (Presented by John Ehrman, IBM) March

More information

Subroutine Linkage Wheeler Jump control program

Subroutine Linkage Wheeler Jump control program Subroutine Linkage We now begin discussion of subroutine linkages for simple subroutines without large argument blocks. With the mechanisms discussed in this lecture, one can use either global variables

More information

Assembler Programming

Assembler Programming 31-Bit Mode - Assembler Programming... 13:3 4095 - Limit... 4:17 A ACB: Access Method Control Block...10:2-3 Access Method... 6:1 Add Instructions - A, AR, and AH... 4:8 Addressability... 1:9 Addressing...

More information

Comparing the Assembler source to the Cobol target program

Comparing the Assembler source to the Cobol target program Comparing the Assembler source to the Cobol target program Subject, issue Assembler program Cobol program source code lines 361 199 source code lines. Reduction by 45%! branch instructions 25 No (0) GO

More information

SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC.

SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. Chapter 1: Assembler Language: Introduction Differences between machine and assembler instructions. Macro instructions. Assembly and link editing. Assembler processing. Macro and copy libraries. Control

More information

SHARE February, Migrating to COBOL compilers under LE. Session Number Session Title. Speaker/Author. Tom Ross

SHARE February, Migrating to COBOL compilers under LE. Session Number Session Title. Speaker/Author. Tom Ross SHARE February, 2008 Session Number Session Title Speaker/Author 8241 Migrating to COBOL compilers under LE Tom Ross 1 Migration Key Points I recommend that you have a 'COBOL DBA' What is a run-time library?

More information

IBM. Migration Guide. Enterprise COBOL for z/os. Version 6.1 GC

IBM. Migration Guide. Enterprise COBOL for z/os. Version 6.1 GC Enterprise COBOL for z/os IBM Migration Guide Version 6.1 GC27-8715-00 Enterprise COBOL for z/os IBM Migration Guide Version 6.1 GC27-8715-00 Note Before using this information and the product it supports,

More information

IBM Education Assistance for z/os V2R2

IBM Education Assistance for z/os V2R2 IBM Education Assistance for z/os V2R2 Item: J-con, RAS, Long section name and LP64 DLL Element/Component: Binder Material current as of May 2015 FP0207 J-con Page 2 of 25 Agenda Trademarks Presentation

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

The Ins and Outs of Language Environment s CEEPIPI Service. Thomas Petrolino IBM Poughkeepsie

The Ins and Outs of Language Environment s CEEPIPI Service. Thomas Petrolino IBM Poughkeepsie The Ins and Outs of Language Environment s CEEPIPI Service Thomas Petrolino IBM Poughkeepsie tapetro@us.ibm.com copyright IBM Corporation 2001, 2006 Trademarks The following are trademarks of the International

More information

Assembler Language "Boot Camp" Part 3x - Implicit Addresses and USING SHARE in New York City August 15-20, 2004 Session 8188

Assembler Language Boot Camp Part 3x - Implicit Addresses and USING SHARE in New York City August 15-20, 2004 Session 8188 Assembler Language "Boot Camp" Part 3x - Implicit Addresses and USING SHARE in New York City August 15-20, 2004 Session 8188 1 Introduction Who are we? John Dravnieks, IBM Australia John Ehrman, IBM Silicon

More information

S16150: What s New in COBOL Version 5 since GA

S16150: What s New in COBOL Version 5 since GA S16150: What s New in COBOL Version 5 since GA Tom Ross IBM Aug 4, 2014 1 Title: What's new in COBOL v5 since GA Refresher about COBOL V5 requirements Service updates Improved compatibility New Function

More information

LE Performance Tips and Techniques - COBOL and PL/I issues

LE Performance Tips and Techniques - COBOL and PL/I issues LE Performance Tips and Techniques - COBOL and PL/I issues Tom Ross SHARE Session: 8213 March, 2002 COPYRIGHT IBM 2002 S8213TR / 01MAR2002 Performance Tips for COBOL and PL/I: topics Run-time tips are

More information

Saving Your Caller's Registers - Not Your Father's Save Area

Saving Your Caller's Registers - Not Your Father's Save Area Saving Your Caller's Registers - Not Your Father's Save Area Tom Marchant Compuware thomas.marchant@compuware.com Tuesday, August 7, 2012 Session 11408 1 Acknowledgments Peter Relson, z/os Core Technology

More information

With a Little Help from My Friends: How HLASM Interacts with LE, Binder, C, CICS and MQ

With a Little Help from My Friends: How HLASM Interacts with LE, Binder, C, CICS and MQ With a Little Help from My Friends: How HLASM Interacts with LE, Binder, C, CICS and MQ Barry Lichtenstein and Sharuff Morsa IBM smorsa@uk.ibm.com barryl@us.ibm.com Thursday, August 15, 2013 Insert Custom

More information

Enable your COBOL applications to exploit the latest z/architecture

Enable your COBOL applications to exploit the latest z/architecture IBM Enterprise COBOL for z/os, Version 6 Release 1 IBM Enable your COBOL applications to exploit the latest z/architecture Enterprise COBOL is a premier enterprise class COBOL compiler for IBM z/os. It

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

TITLE 'BTRS002 - CALL AMATERSE from user program' * * *

TITLE 'BTRS002 - CALL AMATERSE from user program' * * * PPPPPPPPPPP RRRRRRRRRRR TTTTTTTTTTTT 00000000 11 JJJJJJJJJJ OOOOOOOOOOOO BBBBBBBBBBB PPPPPPPPPPPP RRRRRRRRRRRR TTTTTTTTTTTT 0000000000 111 JJJJJJJJJJ OOOOOOOOOOOO BBBBBBBBBBBB PP PP RR RR TT 00 0000 1111

More information

IBM Education Assistance for z/os V2R1

IBM Education Assistance for z/os V2R1 IBM Education Assistance for z/os V2R1 Item: Boundary Alignment Element/Component: Binder Material is current as of June 2013 Agenda Trademarks Presentation Objectives Overview Usage & Invocation Interactions

More information

SHARE Pittsburgh 2014 High Level Assembler Bootcamp (16153, 16154, 16155)

SHARE Pittsburgh 2014 High Level Assembler Bootcamp (16153, 16154, 16155) Richard Cebula IBM HLASM SHARE Pittsburgh 2014 High Level Assembler Bootcamp (16153, 16154, 16155) 2013 IBM Corporation Who am I? Sharuff Morsa HLASM, IBM Hursley, UK Material written by Richard Cebula

More information

Structured Programming in Assembler Session 16321

Structured Programming in Assembler Session 16321 IBM HLASM SHARE Seattle 2015 Structured Programming in Assembler Session 16321 Richard Cebula (riccebu@uk.ibm.com) IBM HLASM 2009 IBM Corporation Who am I? Richard Cebula HLASM, IBM Hursley, UK riccebu@uk.ibm.com

More information

Adventures In Porting

Adventures In Porting Adventures In Porting An ISV's Continuing Journey From AMODE 31 to AMODE 64 in Assembler M. Ray Mullins Phoenix Software International 13 August 2015 Session 17407 Legalese These techniques are presented

More information

Assembler Bonus Pack Pgm Language 1 is Assembler

Assembler Bonus Pack Pgm Language 1 is Assembler Assembler Bonus Pack Pgm Language 1 is Assembler Peter Dennler Credit Suisse AG, Hagenholzstrasse 20/22, CH-8050 Zürich Tel. +41 44 334 13 27 Email P: don@krawacki.ch Email G: peter.dennler@credit-suisse.com

More information

z/os Basics: ABEND and Recovery (All You Need to Know to Write Your First ESTAE)

z/os Basics: ABEND and Recovery (All You Need to Know to Write Your First ESTAE) z/os Basics: ABEND and Recovery (All You Need to Know to Write Your First ESTAE) Vit Gottwald CA Technologies August 3, 2010 Session Number 8017 Agenda Introduction Basic Hardware Terms Instruction Execution

More information

COBOL performance: Myths and Realities

COBOL performance: Myths and Realities COBOL performance: Myths and Realities Speaker Name: Tom Ross Speaker Company: IBM Date of Presentation: August 10, 2011 Session Number: 9655 Agenda Performance of COBOL compilers - myths and realities

More information

Assembler Language "Boot Camp" Part 4 - Program Structures; Arithmetic. SHARE 118 in Atlanta Session March 14, 2012

Assembler Language Boot Camp Part 4 - Program Structures; Arithmetic. SHARE 118 in Atlanta Session March 14, 2012 Assembler Language "Boot Camp" Part 4 - Program Structures; Arithmetic SHARE 118 in Atlanta Session 10347 March 14, 2012 1 Introduction Who are we? John Ehrman, IBM Software Group Dan Greiner, IBM Systems

More information

Compiler and Runtime Migration Guide

Compiler and Runtime Migration Guide Enterprise COBOL for z/os Compiler and Runtime Migration Guide Version 4 Release 2 GC23-8527-01 Enterprise COBOL for z/os Compiler and Runtime Migration Guide Version 4 Release 2 GC23-8527-01 Note! Before

More information

Assembler Language "Boot Camp" Part 4 - Program Structures; Arithmetic SHARE 116 in Anaheim March 2, 2011

Assembler Language Boot Camp Part 4 - Program Structures; Arithmetic SHARE 116 in Anaheim March 2, 2011 Assembler Language "Boot Camp" Part 4 - Program Structures; Arithmetic SHARE 116 in Anaheim March 2, 2011 Introduction Who are we? John Ehrman, IBM Software Group John Dravnieks, IBM Software Group Dan

More information

LE/390 Migration and Consolidation

LE/390 Migration and Consolidation LE/390 Migration and Consolidation Eberhard Ramm, Diplom Engineer of Data Systems Technology fuer Datentechnik mbh Industriestrasse 35 D-82194 Groebenzell, Germany Phone: +49 (0)8142 57264 email: SibraGmbh@t-online.de

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

SHARE Anaheim 2014 High Level Assembler Bootcamp (15250, 15251, 15252)

SHARE Anaheim 2014 High Level Assembler Bootcamp (15250, 15251, 15252) Richard Cebula IBM HLASM SHARE Anaheim 2014 High Level Assembler Bootcamp (15250, 15251, 15252) 2009 IBM Corporation 2013 IBM Corporation HLASM Structured Programming The location counter and USINGs 2

More information

IBM Rational COBOL Runtime Guide for zseries

IBM Rational COBOL Runtime Guide for zseries IBM Rational COBOL Runtime Guide for zseries Version 6 Release 0.1 SC31-6951-03 IBM Rational COBOL Runtime Guide for zseries Version 6 Release 0.1 SC31-6951-03 Note Before using this information and the

More information

z390vse User Guide v1.5.06

z390vse User Guide v1.5.06 Table of Contents z390vse User Guide v1.5.06 1. Introduction 2. VSE Macros 3. Demo programs 4. Regression test programs 5. References 6. Appendix a. Demo application source code b. Demo application assembly

More information

String Instructions In Cobol Delimited By Spaces

String Instructions In Cobol Delimited By Spaces String Instructions In Cobol Delimited By Spaces The fourth division in a COBOL (sub)program is the PROCEDURE DIVISION, which of the instruction STOP RUN, or, in the case of a subprogram, EXIT PROGRAM,

More information

Assembler Language "Boot Camp" Part 4 - Arithmetic; Program Structures SHARE in San Francisco August 18-23, 2002 Session 8184

Assembler Language Boot Camp Part 4 - Arithmetic; Program Structures SHARE in San Francisco August 18-23, 2002 Session 8184 Assembler Language "Boot Camp" Part 4 - Arithmetic; Program Structures SHARE in San Francisco August 18-23, 2002 Session 8184 1 Introduction Who are we? John Dravnieks, IBM Australia John Ehrman, IBM Silicon

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

IBM. Performance Tuning Guide. Enterprise COBOL for z/os. Version 6.1

IBM. Performance Tuning Guide. Enterprise COBOL for z/os. Version 6.1 Enterprise COBOL for z/os IBM Performance Tuning Guide Version 6.1 Enterprise COBOL for z/os IBM Performance Tuning Guide Version 6.1 Note Before using this information and the product it supports, be

More information

CA Compiler Construction

CA Compiler Construction CA4003 - Compiler Construction David Sinclair When procedure A calls procedure B, we name procedure A the caller and procedure B the callee. A Runtime Environment, also called an Activation Record, is

More information

IBM. Performance Tuning Guide. Enterprise COBOL for z/os. Version 6.2 SC

IBM. Performance Tuning Guide. Enterprise COBOL for z/os. Version 6.2 SC Enterprise COBOL for z/os IBM Performance Tuning Guide Version 6.2 SC27-9202-00 Enterprise COBOL for z/os IBM Performance Tuning Guide Version 6.2 SC27-9202-00 Note Before using this information and the

More information

IBM Enterprise COBOL for z/os, V5.2 delivers support for the latest IBM z13 processor architecture

IBM Enterprise COBOL for z/os, V5.2 delivers support for the latest IBM z13 processor architecture IBM United States Software Announcement 215-027, dated January 14, 2015 IBM Enterprise COBOL for z/os, V5.2 delivers support for the latest IBM z13 processor architecture Table of contents 1 Overview 9

More information

Uni Hamburg Mainframe Summit 2010 z/os The Mainframe Operating. Part 5 Application Support

Uni Hamburg Mainframe Summit 2010 z/os The Mainframe Operating. Part 5 Application Support Uni Hamburg Mainframe Summit 2010 z/os The Mainframe Operating Part 5 Application Support Redelf Janßen IBM Technical Sales Mainframe Systems Redelf.Janssen@de.ibm.com Course materials may not be reproduced

More information

IBM. Compiler and Run-Time Migration Guide. Enterprise PL/I for z/os. Version 5 Release 1 GC

IBM. Compiler and Run-Time Migration Guide. Enterprise PL/I for z/os. Version 5 Release 1 GC Enterprise PL/I for z/os IBM Compiler and Run-Time Migration Guide Version 5 Release 1 GC27-8930-00 Enterprise PL/I for z/os IBM Compiler and Run-Time Migration Guide Version 5 Release 1 GC27-8930-00

More information

Chapter 30. Using preinitialization services

Chapter 30. Using preinitialization services Chapter 30. Using preinitialization serices You can use preinitialization to enhance the performance of your application. Preinitialization lets an application initialize an HLL enironment once, perform

More information

IBM. Language Environment Runtime Application Migration Guide. z/os. Version 2 Release 3 GA

IBM. Language Environment Runtime Application Migration Guide. z/os. Version 2 Release 3 GA z/os IBM Language Environment Runtime Application Migration Guide Version 2 Release 3 GA32-0912-30 Note Before using this information and the product it supports, read the information in Notices on page

More information

JSON and COBOL. Tom Ross Captain COBOL GSE Nordic Reykjavik June 3, 2016

JSON and COBOL. Tom Ross Captain COBOL GSE Nordic Reykjavik June 3, 2016 JSON and COBOL Tom Ross Captain COBOL GSE Nordic Reykjavik June 3, 2016 JSON and COBOL What is JSON? IBM products support JSON! Scenarios 2 What is JSON? JavaScript Object Notation JSON is the new XML

More information

Pointers II. Class 31

Pointers II. Class 31 Pointers II Class 31 Compile Time all of the variables we have seen so far have been declared at compile time they are written into the program code you can see by looking at the program how many variables

More information

Disclaimer. This talk vastly over-simplifies things. See notes for full details and resources.

Disclaimer. This talk vastly over-simplifies things. See notes for full details and resources. Greg Kroah-Hartman Disclaimer This talk vastly over-simplifies things. See notes for full details and resources. https://github.com/gregkh/presentation-spectre Spectre Hardware bugs Valid code can be tricked

More information

A System z Developer's Journey Through the Application Lifecycle

A System z Developer's Journey Through the Application Lifecycle A System z Developer's Journey Through the Application Lifecycle Rosalind Radcliffe / Dana Boudreau IBM 13 March 2012 Session #: 10437 Disclaimer Copyright IBM Corporation 2011. All rights reserved. IBM

More information

Exploit Condition Handling in Language Environment

Exploit Condition Handling in Language Environment Exploit Condition Handling in Language Environment Thomas Petrolino IBM Poughkeepsie tapetro@us.ibm.com SHARE Session 12339 Copyright IBM 2012 1 Trademarks The following are trademarks of the International

More information

CA IDMS Using VSAM Transparency

CA IDMS Using VSAM Transparency Using VSAM Transparency Date: 16-Jan-2018 This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter referred to as the Documentation ) is for your

More information

Disclaimer. This talk vastly over-simplifies things. See notes for full details and resources.

Disclaimer. This talk vastly over-simplifies things. See notes for full details and resources. Greg Kroah-Hartman Disclaimer This talk vastly over-simplifies things. See notes for full details and resources. https://github.com/gregkh/presentation-spectre Spectre Hardware bugs Valid code can be tricked

More information

Debug Tool: Introduction. Performance Objectives

Debug Tool: Introduction. Performance Objectives z/os Mainframe Utilities & Development Tools Performance Objectives You will learn: The features and facilities of the Debug Tool. Identify and use the Debug Tool interfaces. Compiler options associated

More information

Do-While Example. In C++ In assembly language. do { z--; while (a == b); z = b; loop: addi $s2, $s2, -1 beq $s0, $s1, loop or $s2, $s1, $zero

Do-While Example. In C++ In assembly language. do { z--; while (a == b); z = b; loop: addi $s2, $s2, -1 beq $s0, $s1, loop or $s2, $s1, $zero Do-While Example In C++ do { z--; while (a == b); z = b; In assembly language loop: addi $s2, $s2, -1 beq $s0, $s1, loop or $s2, $s1, $zero 25 Comparisons Set on less than (slt) compares its source registers

More information

SHARE MVSE Requirements

SHARE MVSE Requirements SHARE MVSE Requirements Cheryl Watson Watson & Walker, Inc. www.watsonwalker.com August 12, 2013 Session 14266 Insert Custom Session QR if Desired. What is a Requirement? SHARE member creates a online

More information

IBM. Language Environment Customization. z/os. Version 2 Release 3 SA

IBM. Language Environment Customization. z/os. Version 2 Release 3 SA z/os IBM Language Environment Customization Version 2 Release 3 SA38-0685-30 Note Before using this information and the product it supports, read the information in Notices on page 285. This edition applies

More information

English BS2000/OSD CRTE V2.9A. Common Runtime Environment. User Guide

English BS2000/OSD CRTE V2.9A. Common Runtime Environment. User Guide English BS2000/OSD CRTE V2.9A Common Runtime Environment User Guide Edition June 2012 Comments Suggestions Corrections The User Documentation Department would like to know your opinion on this manual.

More information

IBM. Data Sheet. Enterprise COBOL for z/os. Version 6.2

IBM. Data Sheet. Enterprise COBOL for z/os. Version 6.2 Enterprise COBOL for z/os IBM Data Sheet Version 6.2 Enterprise COBOL for z/os IBM Data Sheet Version 6.2 Third edition (January 2018) This edition applies to Version 6 Release 2 of IBM Enterprise COBOL

More information

Runtime Environments I. Basilio B. Fraguela

Runtime Environments I. Basilio B. Fraguela Runtime Environments I Basilio B. Fraguela Runtime System Responsibilities Allocation of storage for program data Sometimes also deallocation Garbage collection Management of data structures the compiled

More information

IBM. Developing CICS System Programs. CICS Transaction Server for z/os. Version 5 Release 4

IBM. Developing CICS System Programs. CICS Transaction Server for z/os. Version 5 Release 4 CICS Transaction Server for z/os IBM Developing CICS System Programs Version 5 Release 4 CICS Transaction Server for z/os IBM Developing CICS System Programs Version 5 Release 4 Note Before using this

More information

Enterprise COBOL. B Batch Compilation...7:14-15 BINARY... 9:41 BINARY (COMP or COMP-4)...9:39-40 Bit Manipulation Routines... 7:45

Enterprise COBOL. B Batch Compilation...7:14-15 BINARY... 9:41 BINARY (COMP or COMP-4)...9:39-40 Bit Manipulation Routines... 7:45 A Accessing XML Documents...4:8-9 Addressing: 24 versus 31 Bit... 6:3 AIXBLD... 9:20 AMODE... 6:4 ARITH - EXTEND or COMPAT... 9:4 Assignment... 2:10 Automatic Date Recognition... 8:4 AWO or NOAWO... 9:5

More information

Make Your C/C++ and PL/I Code FLY With the Right Compiler Options

Make Your C/C++ and PL/I Code FLY With the Right Compiler Options Make Your C/C++ and PL/I Code FLY With the Right Compiler Options Visda Vokhshoori/Peter Elderon IBM Corporation Session 13790 Insert Custom Session QR if Desired. WHAT does good application performance

More information

Elevating Application Performance with Latest IBM COBOL Offerings. Tom Ross Captain COBOL March 9, 20017

Elevating Application Performance with Latest IBM COBOL Offerings. Tom Ross Captain COBOL March 9, 20017 Elevating Application Performance with Latest IBM COBOL Offerings Tom Ross Captain COBOL March 9, 20017 Agenda Why the need to stay current with compiler technology? COBOL V6.1 ABO V1.2 Benefits of Using

More information

CICS Comet. Installation Notes. Release 4.2.0

CICS Comet. Installation Notes. Release 4.2.0 CICS Comet Installation Notes Release 4.2.0 First Edition printed September 2011 2008 UNICOM Systems, Incorporated All Rights Reserved No part of this manual may be reproduced or transmitted in any form

More information

Run-time Environment

Run-time Environment Run-time Environment Prof. James L. Frankel Harvard University Version of 3:08 PM 20-Apr-2018 Copyright 2018, 2016, 2015 James L. Frankel. All rights reserved. Storage Organization Automatic objects are

More information

WebSphere Developer for zseries

WebSphere Developer for zseries WebSphere Developer for zseries Using eclipse based tooling for the mainframe Isabel Arnold IBM Germany Technical Sales AD/PD Tools & CICS isabel.arnold@de.ibm.com 2005 IBM Corporation What is it Eclipse

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

Implementing the z/vse Fast Path to Linux on System z

Implementing the z/vse Fast Path to Linux on System z Implementing the z/vse Fast Path to Linux on System z Ingo Franzki, IBM z/vse s communicating with s on Linux z/vse Data DB2 Client CICS VSE Conn Server WebSphere MQ CICS Web Support & SOAP TCP/IP Stack

More information

Chapter 6 What's this Stuff on the Left?

Chapter 6 What's this Stuff on the Left? Chapter 6 What's this Stuff on the Left? Objectives Upon completion of this chapter you will be able to: Describe the SI instruction format as used with the MVI and CLI instructions, Describe the SS instruction

More information

Coverage Utility User's Guide and Messages

Coverage Utility User's Guide and Messages DebugToolforz/OS Coverage Utility User's Guide and Messages Version 12.1 SC19-3714-02 DebugToolforz/OS Coverage Utility User's Guide and Messages Version 12.1 SC19-3714-02 Note! Before using this information

More information

CICS TS for VSE/ESA Virtual Storage Management and Tuning

CICS TS for VSE/ESA Virtual Storage Management and Tuning CICS TS for VSE/ESA Virtual Storage Management and Tuning John Lawson 1950 Stemmons Frwy. Suite 5001 Dallas, Texas 75207 Phone: 214-800-8900 Email: info@illustro.com or http://www.illustro.com WAVV2004-1

More information

Systems Architecture The Stack and Subroutines

Systems Architecture The Stack and Subroutines Systems Architecture The Stack and Subroutines The Stack p. 1/9 The Subroutine Allow re-use of code Write (and debug) code once, use it many times A subroutine is called Subroutine will return on completion

More information

S Coding in COBOL for optimum performance

S Coding in COBOL for optimum performance S16613 - Coding in COBOL for optimum performance Tom Ross IBM March 4, 2015 Insert Custom Session QR if Desired. Title: Coding in COBOL for optimum performance Compiler options Dealing with data types

More information

Operating Systems CMPSCI 377, Lec 2 Intro to C/C++ Prashant Shenoy University of Massachusetts Amherst

Operating Systems CMPSCI 377, Lec 2 Intro to C/C++ Prashant Shenoy University of Massachusetts Amherst Operating Systems CMPSCI 377, Lec 2 Intro to C/C++ Prashant Shenoy University of Massachusetts Amherst Department of Computer Science Why C? Low-level Direct access to memory WYSIWYG (more or less) Effectively

More information

M2 Instruction Set Architecture

M2 Instruction Set Architecture M2 Instruction Set Architecture Module Outline Addressing modes. Instruction classes. MIPS-I ISA. Translating and starting a program. High level languages, Assembly languages and object code. Subroutine

More information

IBM Enterprise Modernization for System z: Wrap existing COBOL programs as Web Services with IBM Rational Developer for System z

IBM Enterprise Modernization for System z: Wrap existing COBOL programs as Web Services with IBM Rational Developer for System z IBM Enterprise Modernization for System z: Wrap existing COBOL programs as Web Services with IBM Rational Developer for System z Extend value of existing enterprise software assets Skill Level: Intermediate

More information

64 bit virtual in z/vse V5.1

64 bit virtual in z/vse V5.1 z/vse Live Virtual Class 64 bit virtual in z/vse V5.1 Ingolf Salm salm@de.ibm.com 2011 IBM Corporation Trademarks The following are trademarks of the International Business Machines Corporation in the

More information

IBM Application Performance Analyzer for z/os Version IBM Corporation

IBM Application Performance Analyzer for z/os Version IBM Corporation IBM Application Performance Analyzer for z/os Version 11 IBM Application Performance Analyzer for z/os Agenda Introduction to Application Performance Analyzer for z/os A tour of Application Performance

More information

Chapter 5. Names, Bindings, and Scopes

Chapter 5. Names, Bindings, and Scopes Chapter 5 Names, Bindings, and Scopes Chapter 5 Topics Introduction Names Variables The Concept of Binding Scope Scope and Lifetime Referencing Environments Named Constants 1-2 Introduction Imperative

More information

Design Issues. Subroutines and Control Abstraction. Subroutines and Control Abstraction. CSC 4101: Programming Languages 1. Textbook, Chapter 8

Design Issues. Subroutines and Control Abstraction. Subroutines and Control Abstraction. CSC 4101: Programming Languages 1. Textbook, Chapter 8 Subroutines and Control Abstraction Textbook, Chapter 8 1 Subroutines and Control Abstraction Mechanisms for process abstraction Single entry (except FORTRAN, PL/I) Caller is suspended Control returns

More information

Lecture 4: Instruction Set Design/Pipelining

Lecture 4: Instruction Set Design/Pipelining Lecture 4: Instruction Set Design/Pipelining Instruction set design (Sections 2.9-2.12) control instructions instruction encoding Basic pipelining implementation (Section A.1) 1 Control Transfer Instructions

More information

IBM Debug Tool Utilities and Advanced Functions V3.1 Helps Maximize Availability of z/os and OS/390 Applications

IBM Debug Tool Utilities and Advanced Functions V3.1 Helps Maximize Availability of z/os and OS/390 Applications Software Announcement August 20, 2002 IBM Debug Tool Utilities and Advanced Functions V3.1 Helps Maximize Availability of z/os and OS/390 Applications Overview IBM Debug Tool Utilities and Advanced Functions

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

IMS User Exits for Data Tailoring

IMS User Exits for Data Tailoring IMS User Exits for Data Tailoring Outline Intro Assembler primer General user exit conventions Exit: Segment Edit (compression) Exit: Segment Edit (unload/reload/reorg) Exit: Index Maintenance Exit: Partition

More information

Writing User Exits in the C Language

Writing User Exits in the C Language Writing User Exits in the C Language Mike McNamee mikem@e3sciences.com Copyright e3 Sciences Ltd 2000 Agenda The history of Exits Times are changing Changes to the C Compiler So where do I start The history

More information

Introduction to Assembler Programming Sessions 16317, 16318

Introduction to Assembler Programming Sessions 16317, 16318 IBM HLASM SHARE Seattle 2015 Introduction to Assembler Programming Sessions 16317, 16318 Richard Cebula (riccebu@uk.ibm.com) IBM HLASM 2009 IBM Corporation Who am I? Richard Cebula HLASM, IBM Hursley,

More information

C5500 Compiler Build Options One Use Case

C5500 Compiler Build Options One Use Case C5500 Compiler Build Options One Use Case May 2008 Page 1 Page 1 TI Internal Use Only Overview These slides are the collective wisdom on C5500 Compiler Build options from a highly experienced development

More information

Chapter 5 Names, Binding, Type Checking and Scopes

Chapter 5 Names, Binding, Type Checking and Scopes Chapter 5 Names, Binding, Type Checking and Scopes Names - We discuss all user-defined names here - Design issues for names: -Maximum length? - Are connector characters allowed? - Are names case sensitive?

More information

CS 536 Introduction to Programming Languages and Compilers Charles N. Fischer Lecture 11

CS 536 Introduction to Programming Languages and Compilers Charles N. Fischer Lecture 11 CS 536 Introduction to Programming Languages and Compilers Charles N. Fischer Lecture 11 CS 536 Spring 2015 1 Handling Overloaded Declarations Two approaches are popular: 1. Create a single symbol table

More information

IBM PDTools for z/os. Update. Hans Emrich. Senior Client IT Professional PD Tools + Rational on System z Technical Sales and Solutions IBM Systems

IBM PDTools for z/os. Update. Hans Emrich. Senior Client IT Professional PD Tools + Rational on System z Technical Sales and Solutions IBM Systems IBM System z AD Tage 2017 IBM PDTools for z/os Update Hans Emrich Senior Client IT Professional PD Tools + Rational on System z Technical Sales and Solutions IBM Systems hans.emrich@de.ibm.com 2017 IBM

More information

CA IDMS VSAM Transparency

CA IDMS VSAM Transparency CA IDMS VSAM Transparency VSAM Transparency User Guide Release 18.5.00, 2nd Edition This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter referred

More information

IBM Education Assistance for z/os V2R1

IBM Education Assistance for z/os V2R1 IBM Education Assistance for z/os V2R1 Item: Allow Groups of SPM Rules Element/Component: WLM/SRM Material is current as of March 2013 IBM Presentation Template Full Version Agenda Trademarks Presentation

More information

Relative Addressing (the bits I didn't mention in part one!)

Relative Addressing (the bits I didn't mention in part one!) II Relative Addressing (the bits I didn't mention in part one!) Part II Author: Sharuff Morsa smorsa@uk.ibm.com Copyright IBM (UK) Ltd 2012 1 II Introduction Part I demonstrated how to replace base registers

More information

SE352b: Roadmap. SE352b Software Engineering Design Tools. W3: Programming Paradigms

SE352b: Roadmap. SE352b Software Engineering Design Tools. W3: Programming Paradigms SE352b Software Engineering Design Tools W3: Programming Paradigms Feb. 3, 2005 SE352b, ECE,UWO, Hamada Ghenniwa SE352b: Roadmap CASE Tools: Introduction System Programming Tools Programming Paradigms

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

IBM Education Assistance for z/os V2R1

IBM Education Assistance for z/os V2R1 IBM Education Assistance for z/os V2R1 Item: Launch PL/I Element/Component: BCP Batch Runtime Material is current as of June 2013 Agenda Trademarks Presentation Objectives Overview Usage & Invocation Interactions

More information

Mainframe Operating Systems Boot Camp

Mainframe Operating Systems Boot Camp Robert Rannie Milica Kozomara Northern Illinois University - DeKalb, IL Texas Instruments - Dallas, TX Our Agenda for the Week Mainframe Operating Systems Boot Camp SVCs and More SVCs Part 3 Session #2897

More information

Development tools: Version control, build tools, and integrated development environments 1

Development tools: Version control, build tools, and integrated development environments 1 Development tools: Version control, build tools, and integrated development environments 1 HFOSS 2010 Faculy Workshop 18 May 2010 1 CC by-nc-sa 3.0 Development tools Why do we need version control? With

More information