Define a CONNECTION in the local CICS region.
CREATE CONNECTION >>-CREATE CONNECTION(data-value)--------------------------------> >--+-ATTRIBUTES(data-value)--ATTRLEN(data-value)-+------------->< +-LOGMESSAGE(cvda)----------------------------+ +-COMPLETE------------------------------------+ '-DISCARD-------------------------------------' CREATE CONNECTION attribute values: .-ACCESSMETHOD(VTAM)-----. .-ATTACHSEC(LOCAL)------. |--+------------------------+--+-----------------------+--------> +-ACCESSMETHOD(INDIRECT)-+ +-ATTACHSEC(IDENTIFY)---+ +-ACCESSMETHOD(IRC)------+ +-ATTACHSEC(MIXIDPE)----+ '-ACCESSMETHOD(XM)-------' +-ATTACHSEC(PERSISTENT)-+ '-ATTACHSEC(VERIFY)-----' .-AUTOCONNECT(NO)--. .-BINDSECURITY(NO)--. >--+------------------+--+-------------------+------------------> +-AUTOCONNECT(ALL)-+ '-BINDSECURITY(YES)-' '-AUTOCONNECT(YES)-' .-CONNTYPE(SPECIFIC)-. .-DATASTREAM(USER)-----. >--+--------------------+--+----------------------+-------------> '-CONNTYPE(GENERIC)--' +-DATASTREAM(LMS)------+ +-DATASTREAM(SCS)------+ +-DATASTREAM(STRFIELD)-+ '-DATASTREAM(3270)-----' >--+---------------------+--+---------------+-------------------> '-DESCRIPTION(char58)-' '-INDSYS(char4)-' .-INSERVICE(YES)-. .-MAXQTIME(NO)-----. >--+----------------+--+------------------+---------------------> '-INSERVICE(NO)--' '-MAXQTIME(0-9999)-' >--+----------------+--+----------------+-----------------------> '-NETNAME(char8)-' +-PROTOCOL(APPC)-+ +-PROTOCOL(EXCI)-+ '-PROTOCOL(LU61)-' .-PSRECOVERY(SYSDEFAULT)-. .-QUEUELIMIT(NO)-----. >--+------------------------+--+--------------------+-----------> '-PSRECOVERY(NONE)-------' '-QUEUELIMIT(0-9999)-' .-RECORDFORMAT(U)--. >--+------------------+--+---------------------+----------------> '-RECORDFORMAT(VB)-' '-REMOTESYSNET(char8)-' >--+-------------------------------------------+----------------> '-REMOTESYSTEM(char4)-+-------------------+-' '-REMOTENAME(char4)-' .-SINGLESESS(NO)--. >--+---------------------+--+-----------------+-----------------> '-SECURITYNAME(char8)-' '-SINGLESESS(YES)-' .-USEDFLTUSER(NO)--. .-XLNACTION(KEEP)--. >--+------------------+--+------------------+-------------------| '-USEDFLTUSER(YES)-' '-XLNACTION(FORCE)-'
Conditions: ILLOGIC, INVREQ, LENGERR, NOTAUTH
The CREATE CONNECTION commands, in combination with the CREATE SESSIONS commands, install CONNECTION and SESSIONS definitions with the attribute specified on the command to the local CICS region. They do not use resource definitions stored in the CSD. See Creating resource definitions for other general rules about CREATE commands
To create a new CONNECTION, you issue a series of commands in this order:
The CONNECTION is not added until all of these steps take place. During the time the definition is being built (that is, between the initial and final CREATE CONNECTIONs), you may not:
However, if you encounter an error or problem during the course of building a CONNECTION definition, you can terminate the process at any point by issuing a CREATE CONNECTION DISCARD command. If you do this, CICS discards the partial CONNECTION definition and any SESSIONS created for it.
Otherwise, when the final CREATE CONNECTION COMPLETE command is issued, CICS adds the CONNECTION and its SESSIONS to its resource definitions, replacing a CONNECTION definition of the same name if one exists.
CICS also performs an implicit SYNCPOINT command during the processing of the final CREATE for a connection, unless it contains an error that can be detected early in the processing. The syncpoint commits uncommitted changes to recoverable resources made up to that point in the task if the definition is successful, and rolls back changes, as if SYNCPOINT ROLLBACK had been issued, if the definition fails or ends in a DISCARD. See Creating resource definitions for other general rules governing CREATE commands.