Examples of Invoking High Level Assembler Exits and Why They Are Useful
Project and Program:
Application Architecture Development and Integration,
LE and Programming Languages
Tags:
Proceedings,
SHARE in Orlando 2015,
2015
The power of the High Level Assembler language cannot be fully realized without the use of the assembler's exit facilities. This session provides practical examples of two simple exits and how to code them in a general framework for writing other exits. At the end of the session you will be able to write, compile, and install your own exits.
The first exit that we demonstrate shows how to remove ASA and Machine carriage controls from the SYSPRINT listing and replace them with blank lines. This is useful for viewing listings with text editors that do not understand them and renders the SYSPRINT pages more naturally.
The second exit that we present demonstrates how to inspect and modify source code by implementing a new format for statement labels.
MYLABEL:
is converted into
MYLABEL DS 0H
Other possible exits would be to
1) enforce coding standards
2) inject automated commentary
3) control SYSLIB under Unix System Services
Free source code is provided, with the usual disclaimers, at http://www.colesoft.com/SHARE-March2015
Speaker: Robert Schreiber, Sr. Architect, ColeSoft-Robert Schreiber-ColeSoft Marketing, Inc.
Back to Proceedings File Library