Introducing FEPI functions
An application program using FEPI can provide a front end to other CICS or IMS applications. Because this is done by simulating a terminal in session with the non-FEPI application, that application does not have to be changed in any way.
Thus you can write FEPI applications that provide a single integrated interface to previously disparate applications. The scope and usability of your CICS and IMS applications can be extended by using them in combination, in different environments, or on different systems.
- Front-end
- The front-end system is the one in which the FEPI application runs.
- Back-end
- Back-end identifies the system in which the other CICS or IMS applications run. (This is equivalent to “partner” system, used elsewhere by CICS.)
- Outbound
- Identifies data sent by the FEPI application to the back-end application.
- Inbound
- Identifies data received by the FEPI application from the back-end application.
FEPI provides a programming interface. Its functions can be invoked only through that interface, which is an extension to the EXEC CICS programming interface. All FEPI requests are made by issuing EXEC CICS FEPI commands; all the commands have the qualifier FEPI. The languages supported by the EXEC CICS programming interface (Assembler, COBOL, C, PL/I) can be used. For educational and initial development purposes, you could use CECI, rather than formally writing a program.
All functions are available in the normal way to all applications, except that some functions are intended for system programmers, and their use can be restricted. All the other facilities that you can use with CICS applications, such as the execution diagnostic facility (EDF) and the command interpreter transaction, CECI, are available.
FEPI samples
To help you develop your own CICS FEPI applications, and to show you what FEPI can do, FEPI includes detailed samples. They form an integrated set, and include a program that sets up the FEPI configuration needed to run the other samples.
The samples are supplied in source format in the SDFHSAMP library, and include two back-end application programs, that show many of the principles and techniques discussed in the FEPI programming section. Although the samples are copyrighted, you may use and copy them freely for educational purposes to help you write FEPI applications.
The names of the samples have the form DFH0xZyy. Z shows that the sample is a FEPI sample and x identifies the source language of the sample. A for Assembler language, C for C, P for PL/I, and V for COBOL. yy identifies the specific program.
For more information, see FEPI samples.