Link3270 server adapter processing
The Link3270 server adapter enables a service requester to conduct an interactive request and reply dialog with 3270 application programs that are running in CICS by using the CICS Link3270 bridge. This interactive dialog can use BMS maps, screen buffers, or a combination of the two.
To perform Link3270 server adapter processing, you must ensure that the CICS region in which CICS Service Flow Runtime is installed is correctly configured. If the target application uses BMS maps, you must load the map sets in a load library in the DFHRPL DD statement or concatenation of the CICS® region. You must also define each map set load module in the CICS system definition (CSD) file.
When the Link3270 server adapter is invoked during request processing, it performs the following actions:
- Allocates a Link3270 bridge facility.
- Initiates the CICS target application transaction, using the data from the service requester as input to a map or screen buffer. The Link3270 bridge satisfies the command issued by the target 3270 application.
- Parses the BMS application data structure or 3270 screen buffer that is sent by the CICS target application.
- Identifies the transaction, screen fields, attributes, and data.
- Constructs and sends an appropriate response using the application data structure or screen buffer, based on the modeled flow and on simple business logic.
- Handles the next screen by parsing, identifying, and constructing another vector or keystroke. The Link3270 bridge passes the symbolic map or screen buffer to the Link3270 server adapter, where it can be used for the next transaction or to format and return a response to the service requester.
- Manages state information for the respective CICS user ID and bridge facility.
- Deletes the Link3270 bridge facility.
The Link3270 server adapter begins saving a copy of the application data structure when a SEND MAP ERASE command is issued. Additional business data and field attributes, from subsequent SEND MAP commands without the ERASE option, are merged with the saved application data structure. The saved application data structure, with the accumulated data, is used in Link3270 server adapter processing. The same processing applies to screen buffers that use a link3270 data stream.
The Link3270 server adapter can move business data from the application data structure or screen buffer to any output data-container, as modeled in the flow. If additional business data is required, the Link3270 server adapter must submit additional transactions to the Link3270 bridge. You might have to supply input data for certain fields in the current application data structure or screen buffer. The Link3270 server adapter can obtain this data from any of its input data-containers or from data collected from previously run target 3270 applications.