Attention: This topic contains Product-sensitive Programming Interface
and Associated Guidance Information.
The business
logic interface allows callers to specify what presentation logic is to be
executed before and after a CICS® application program. It has two modes of operation:
- Pointer mode: the input data for Decode is in storage allocated
separately from the COMMAREA for the business logic interface. The COMMAREA
contains a pointer (wbbl_data_ptr) to the input data for Decode.
When the call to the business logic interface ends, the output from Encode is
in storage allocated separately from the COMMAREA for the business logic interface,
and the COMMAREA contains a pointer (wbbl_outdata_ptr) to the output
from Encode.
- Offset mode: the input data for Decode is part of the COMMAREA
for the business logic interface. The COMMAREA contains the offset (wbbl_data_offset)
of the input data for Decode. When the call to the business logic interface
ends, the output from Encode is part of the COMMAREA for the business
logic interface, and the COMMAREA contains the offset (wbbl_outdata_offset)
of the output from Encode.
The caller of the business logic interface uses
wbbl_mode to indicate
which mode of operation is to be used.
For information about writing
a converter for the business logic interface, see Writing a converter.