CREATE TCPIPSERVICE

Define a TCP/IP service in the local CICS® region.

CREATE TCPIPSERVICE

Read syntax diagramSkip visual syntax diagramCREATE TCPIPSERVICE( data-value) ATTRIBUTES( data-value)ATTRLEN( data-value)LOGNOLOGLOGMESSAGE( cvda)
CREATE TCPIPSERVICE attribute values
Read syntax diagramSkip visual syntax diagramDESCRIPTION( char58)BACKLOG(0)BACKLOG( backlog)DNSGROUP( dnsgroup)GRPCRITICAL(NO)GRPCRITICAL(YES)HOST(ANY)HOST(DEFAULT)HOST( hostname)IPADDRESS(INADDR_ANY)IPADDRESS(ANY)IPADDRESS(DEFAULT)IPADDRESS( ipaddress)PORTNUMBER( port)PROTOCOL(HTTP)Attributes used with PROTOCOL(HTTP)PROTOCOL(ECI)Attributes used with PROTOCOL(ECI)PROTOCOL(USER)Attributes used with PROTOCOL(USER)PROTOCOL(IPIC)Attributes used with PROTOCOL(IPIC)SOCKETCLOSE(NO)SOCKETCLOSE( hhmmss)STATUS(OPEN)STATUS(CLOSED)
Attributes used with PROTOCOL(ECI)
Read syntax diagramSkip visual syntax diagramATTACHSEC(VERIFY)ATTACHSEC(LOCAL)SOCKETCLOSE(NO)TRANSACTION(CIEP)TRANSACTION( transaction)
Attributes used with PROTOCOL(HTTP)
Read syntax diagramSkip visual syntax diagramAUTHENTICATE(NO)AUTHENTICATE(AUTOMATIC)AUTHENTICATE(BASIC)SSL(NO)SSL(ATTLSAWARE)SSL(YES)SSL(CLIENTAUTH)CERTIFICATE( label)CIPHERS( value)AUTHENTICATE(AUTOREGISTER)AUTHENTICATE(CERTIFICATE)SSL(ATTLSAWARE)SSL(CLIENTAUTH)CERTIFICATE( label)CIPHERS( value)REALM( string)SOCKETCLOSE(NO)SOCKETCLOSE( hhmmss)MAXDATALEN(32)MAXDATALEN( number)MAXPERSIST(NO)MAXPERSIST( number)TRANSACTION(CWXN)TRANSACTION( transaction)TSQPREFIX( prefix)URM(DFHWBAAX)URM( program_name)
Attributes used with PROTOCOL(USER)
Read syntax diagramSkip visual syntax diagramAUTHENTICATE(NO)AUTHENTICATE(AUTOMATIC)AUTHENTICATE(BASIC)SSL(NO)SSL(YES)SSL(CLIENTAUTH)CERTIFICATE( label)CIPHERS( value)AUTHENTICATE(AUTOREGISTER)AUTHENTICATE(CERTIFICATE)SSL(CLIENTAUTH)CERTIFICATE( label)CIPHERS( value)SOCKETCLOSE(NO)SOCKETCLOSE( hhmmss)MAXDATALEN(32)MAXDATALEN( number)TRANSACTION(CWXU)TRANSACTION( transaction)TSQPREFIX( prefix)URM( program)
Attributes used with PROTOCOL(IPIC)
Read syntax diagramSkip visual syntax diagramSPECIFTCPS( value)SSL(NO)SSL(YES)SSL(CLIENTAUTH)CERTIFICATE( label)CIPHERS( value)SOCKETCLOSE(NO)TRANSACTION(CISS)TRANSACTION( transaction)URM(DFHISAIP)URM(NO)URM( program_name)

Conditions: ILLOGIC, INVREQ, LENGERR, NOTAUTH

Note to COBOL programmers: In the syntax above, you must use ATTRIBUTES(data-area) instead of ATTRIBUTES(data-value).

Description

The CREATE TCPIPSERVICE command installs a TCPIPSERVICE definition with the attribute specified on the command. It does not use a resource definition stored in the CSD. If a TCP/IP service already exists with the name that you specify in the local CICS region, the new definition replaces the old one; if not, the new definition is added.

A sync point is implicit in CREATE TCPIPSERVICE processing, except when an exception condition is detected early in processing the command. Uncommitted changes to recoverable resources made up to that point in the task are committed if the CREATE ran successfully, and rolled back if not.

See Creating resource definitions for other general rules governing CREATE commands.

Options

ATTRIBUTES(data-value)
Specifies the attributes of the TCPIPSERVICE being added. The list of attributes must be coded as a single character string. See The ATTRIBUTES option for general rules for specifying attributes, and TCPIPSERVICE attributes for details about specific attributes.
ATTRLEN(data-value)
Specifies the length in bytes of the character string supplied in the ATTRIBUTES option, as a halfword binary value. The length must not exceed 32,767 bytes.
LOGMESSAGE(cvda)
Specifies whether CICS logs the attributes used for the resource that is created. CVDA values are as follows:
LOG
The resource attributes are logged to the CSDL transient data queue.
NOLOG
The resource attributes are not logged.
TCPIPSERVICE(data-value)
Specifies the 8-character name of the TCPIPSERVICE definition to be added to the CICS region.

Conditions

ILLOGIC
RESP2 values:
2
The command cannot run because an earlier CONNECTION or TERMINAL pool definition has not yet been completed.
INVREQ
RESP2 values:
n
The ATTRIBUTES string contains a syntax error, or an error occurred during either the discard or resource definition phase of the processing. See RESP2 values for EXEC CICS CREATE and EXEC CICS CSD commands for information on RESP2 values.
7
The LOGMESSAGE CVDA value is not valid.
200
The command ran in a program defined with an EXECUTIONSET value of DPLSUBSET or in a program invoked from a remote system by a distributed program link without the SYNCONRETURN option.
LENGERR
RESP2 values:
1
The length that you have specified in ATTRLEN is negative.
NOTAUTH
RESP2 values:
100
The user associated with the issuing task is not authorized to use this command.