z/OS MVS Programming: Callable Services for High-Level Languages
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Programming Examples

z/OS MVS Programming: Callable Services for High-Level Languages
SA23-1377-02

Start of change

BCPii provides sample programs to aid in the creation of BCPii applications in both C and REXX programming languages. The samples are shipped in SYS1.SAMPLIB.

HWIXMCS1 (Metal C programming language) provides an example of how to use all of the BCPii APIs and how to construct a simple BCPii application. HWIXMCX1 (Metal C programming language) provides a simple example of how a BCPii Event Notification Facility (ENF) exit could be coded to field various BCPii-registered events.

HWIXMRS1 (REXX programming language) provides an example of how to use the most common BCPii APIs. It can easily be invoked in the System REXX environment by utilizing the IBM-provided HWIREXX program using the provided sample JCL HWIXMRJL.

Another REXX sample (HWIXMRS2) is provided to show how a REXX application can utilize the HWIEVENT and HWICMD APIs. It is invoked using an AXREXX macro invocation in the sample assembler "helper" program (HWIXMRA1). This second sample can utilize the Metal C ENF exit HWIXMCX1.

End of change

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014