SHARE in Seattle

16891: Invoking REXX during High Level Assembly via SETCF

Wednesday, March 4, 2015: 1:45 PM-2:45 PM
University (Level 4) (Sheraton Seattle)
Speaker: Robert Schreiber(ColeSoft Marketing, Inc.)
  • Presentation Slides (994.5 kB)
  • Presentation Slides with speaker notes (3.8 MB)
  • 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

    Tracks: Application Development, z/OS Systems Programming, z/VM Systems Programming and zNextGen
    Share |

    See more of Project: LE and Programming Languages
    See more of Program: Application Architecture Development