Calling Link3270 using LINK

The interface is the standard EXEC CICS LINK interface.

 EXEC CICS LINK PROGRAM('DFHL3270')
COMMAREA(Link3270_message)
DATALENGTH(inbound_message_length)
LENGTH(outbound_message_length)
  • PROGRAM must specify DFHL3270.
  • The COMMAREA must contain a structured Link3270 message, as described in Link3270 message formats.
If you are using DPL:
  • SYSID may be specified. If there are multiple router regions, all calls must be issued to the same region where the allocate-facility call was sent.
  • SYNCONRETURN can be used, but is not required. If it is not used, a mirror task remains in the router for the duration of the session.
  • TRANSID can be used
  • INPUTMSG and INPUTMSGLEN are ignored.

The bridge header (BRIH) indicates whether the transaction ran successfully or not. See Link3270 diagnostics for a full description of the return codes from the Link3270 call.

See LINK for a full description of the LINK command.