Invoking REXX During High Level Assembly via SETCF
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 can be extended by adding REXX to its capabilities. This session provides a practical example of how to implement a SETCF function that invokes any REXX function the during the assembly.
The HLASM SETCF function passes arguments to a module that returns a string of data. The module that we demonstrate provides a mechanism for invoking a REXX exec and returning an error indication from the exec and a string. We also demonstrate saving global variables between SETCF invocations.
Some useful execs:
1) Use PARSE to decode macro variable strings
2) Return the contents of datasets
3) Communicate with databases during assembly
Free source code is provided, with the usual disclaimers, at http://www.colesoft.com/SHARE-March2015-Robert Schreiber-ColeSoft Marketing, Inc.
Back to Proceedings File Library