Start data
For various events, FEPI invokes a transaction, as a CICS® started task, to handle the event. This might be in response to FEPI START, or to handle STSN, begin-session, end-session, or unsolicited-data.
The transactions have a start code of ‘SZ’, as can be determined with the EXEC CICS ASSIGN command. FEPI provides start data which describes the event, and the conversation which is to be used to handle it. All of this data must be retrieved by the transaction using EXEC CICS RETRIEVE. The transaction can then gain access to the conversation identified in the data by using FEPI ALLOCATE PASSCONVID.
The structure for start data is shown in the table; the copy books DFHSZAPA, DFHSZAPO, DFHSZAPC, and DFHSZAPP (according to your programming language) provide declarations for this structure.
| Name | Description |
|---|---|
| DATATYPE | Fullword binary data-area |
| EVENTTYPE | CVDA |
| EVENTVALUE | CVDA |
| EVENTDATA | 8-character data-area |
| *spare* | 4-character data-area |
| POOL | 8-character data-area |
| TARGET | 8-character data-area |
| NODE | 8-character data-area |
| CONVID | 8-character data-area |
| DEVICE | CVDA |
| FORMAT | CVDA |
| *spare* | 8-character data-area |
| FLENGTH | Fullword binary data-area |
| USERDATA | 128-character data area. |