link

void link(CclFlow& flow,
             const  char* programName,
             CclBuf* commarea = 0,
             CclUOW* unit = 0)

flow
A reference to the CclFlow object used to control the server request call.
programName
The name of the server program that is being called. The length is adjusted to 8 characters by padding with blanks or truncating, if necessary.
commarea
A pointer to a CclBuf object that holds the data to be passed to the called program in a COMMAREA. The default is not to pass a COMMAREA.
unit
A pointer to the CclUOW object that identifies the unit of work (UOW) in which this call participates. The default is none. See Managing logical units of work in the CICS® Transaction Gateway: Programming Guide.

Requests execution of the specified program on the server. The server program sees the incoming call as an EXEC CICS LINK call.

If the commarea buffer object is too long, a dataLength exception is raised and the request is denied. CICS imposes a limit of 32 KB which can be made smaller by using the MaxBufferSize parameter in the CICS Transaction Gateway Initialization file.