EXEC CICS® FEPI commands provide several ways of developing CICS FEPI applications. The commands are at three logical levels:
The high-level front-end programming interface consists of two interfaces for everyday use: key stroke and screen-image, collectively known as formatted data. They allow programmers to build their own CICS FEPI applications in a straightforward manner. However, the programmer must understand data communication and protocols.
See FEPI key stroke and screen-image applications for details.
The key stroke interface allows programmers writing in any of the CICS-supported languages, to specify the keys that an operator might press while using an existing application. The key strokes are specified using easily coded mnemonics; no hexadecimal values are required.
The screen-image interface allows programmers writing in any language supported by CICS, to define the contents of a 3270 screen, using a data structure appropriate to the programming language. It uses a buffer with one byte for each screen position (for example, 1920 bytes for a 24 × 80 character screen). This buffer can be defined in any way that suits the application program and the programming language. It is passed as a complete screen buffer to the back-end application.
In both cases, key stroke and screen-image, the data received from the back-end application is presented as a screen image.
For many applications, the key stroke and screen-image interfaces should be quite adequate. However, where they are not, FEPI data-stream-level commands give an application complete control of the 3270 data stream. These commands are also needed for SLU P applications, which can use only this interface. FEPI does not buffer or interpret the data stream; it is presented as it arrives from the back-end application, and the front-end application must be prepared to handle whatever is presented. Similarly, data sent by the front-end application is transmitted without verification.
A detailed knowledge of data communication and protocols and of data stream format is required.
See FEPI data stream applications for details.
These are some of the specialized functions that can be accessed through FEPI:
See Specialized FEPI functions for details.
All the logical levels use more or less the same set of commands, though the options used may vary. The EXEC CICS FEPI application programming commands are: