CREATE TYPETERM

Define a terminal type in the local CICS® region.

CREATE TYPETERM

Read syntax diagramSkip visual syntax diagramCREATE TYPETERM( data-value) ATTRIBUTES( data-value)ATTRLEN( data-value)LOGNOLOGLOGMESSAGE( cvda)

Conditions: ILLOGIC, INVREQ, LENGERR, NOTAUTH

CREATE TYPETERM attribute values (part 1 of 3)
Read syntax diagramSkip visual syntax diagramDESCRIPTION( char58)ALTPAGE(0,0)ALTPAGE( 0-255, 0-255)ALTSCREEN( 0-255, 0-255)ALTSUFFIX( char1)APLKYBD(NO)APLKYBD(YES)APLTEXT(NO)APLTEXT(YES)ASCII(NO)ASCII(7)ASCII(8)ATI(NO)ATI(YES)AUDIBLEALARM(NO)AUDIBLEALARM(YES)AUTOCONNECT(NO)AUTOCONNECT(ALL)AUTOCONNECT(YES)AUTOPAGE(NO)AUTOPAGE(YES)BACKTRANS(NO)BACKTRANS(YES)BRACKET(YES)BRACKET(NO)BUILDCHAIN(NO)BUILDCHAIN(YES)CGCSGID(0,0)CGCSGID( 0-65535, 0-65535)COLOR(NO)COLOR(YES)COPY(NO)COPY(YES)CREATESESS(NO)CREATESESS(YES)DEFSCREEN(0,0)DEFSCREEN( 0-255, 0-255)DEVICE( char8)DISCREQ(YES)DISCREQ(NO)DUALCASEKYBD(NO)DUALCASEKYBD(YES)ERRCOLOR(NO)ERRCOLOR(BLUE)ERRCOLOR(GREEN)ERRCOLOR(NEUTRAL)ERRCOLOR(PINK)ERRCOLOR(RED)ERRCOLOR(TURQUOISE)ERRCOLOR(YELLOW)ERRHILIGHT(NO)ERRHILIGHT(BLINK)ERRHILIGHT(REVERSE)ERRHILIGHT(UNDERLINE)ERRINTENSIFY(NO)ERRINTENSIFY(YES)ERRLASTLINE(NO)ERRLASTLINE(YES)
CREATE TYPETERM attribute values (part 2 of 3)
Read syntax diagramSkip visual syntax diagramEXTENDEDDS(NO)EXTENDEDDS(YES)FMHPARM(NO)FMHPARM(YES)FORMFEED(NO)FORMFEED(YES)HILIGHT(NO)HILIGHT(YES)HORIZFORM(NO)HORIZFORM(YES)IOAREALEN(0,0)IOAREALEN( 0-32767, 0-32767)KATAKANA(NO)KATAKANA(YES)LDCLIST( char8)LIGHTPEN(NO)LIGHTPEN(YES)LOGMODE( char8)LOGMODE(0)LOGONMSG(NO)LOGONMSG(YES)MSRCONTROL(NO)MSRCONTROL(YES)NEPCLASS(0)NEPCLASS( 0-255)OBFORMAT(NO)OBFORMAT(YES)OBOPERID(NO)OBOPERID(YES)OUTLINE(NO)OUTLINE(YES)PAGESIZE(24,80)PAGESIZE( 0-255, 0-255)PARTITIONS(NO)PARTITIONS(YES)PRINTADAPTER(NO)PRINTADAPTER(YES)PROGSYMBOLS(NO)PROGSYMBOLS(YES)QUERY(NO)QUERY(ALL)QUERY(COLD)RECEIVESIZE(256)RECEIVESIZE( 0-30720)RECOVNOTIFY(NONE)RECOVNOTIFY(MESSAGE)RECOVNOTIFY(TRANSACTION)RECOVOPTION(SYSDEFAULT)RECOVOPTION(CLEARCONV)RECOVOPTION(NONE)RECOVOPTION(RELEASESESS)RECOVOPTION(UNCONDREL)RELREQ(NO)RELREQ(YES)ROUTEDMSGS(ALL)ROUTEDMSGS(NONE)ROUTEDMSGS(SPECIFIC)RSTSIGNOFF(NOFORCE)RSTSIGNOFF(FORCE)
CREATE TYPETERM attribute values (part 3 of 3)
Read syntax diagramSkip visual syntax diagramSENDSIZE(0)SENDSIZE( 0-30720)SESSIONTYPE( char8)SHIPPABLE(NO)SHIPPABLE(YES)SIGNOFF(YES)SIGNOFF(NO)SIGNOFF(LOGOFF)SOSI(NO)SOSI(YES)TERMMODEL(1)TERMMODEL(2)TEXTKYBD(NO)TEXTKYBD(YES)TEXTPRINT(NO)TEXTPRINT(YES)TTI(YES)TTI(NO)UCTRAN(NO)UCTRAN(TRANID)UCTRAN(YES)USERAREALEN(0)USERAREALEN( 0-255)VALIDATION(NO)VALIDATION(YES)VERTICALFORM(NO)VERTICALFORM(YES)
Note to COBOL programmers: In the syntax above, you must use ATTRIBUTES(data-area) instead of ATTRIBUTES(data-value).

Description

The CREATE TYPETERM command installs a TYPETERM definition with the attribute specified on the command. It does not use a resource definition stored in the CSD. If there is already a terminal type definition with the name you specify in the local CICS region, the new definition replaces the old one; if not, the new definition is added.

A syncpoint is implicit in CREATE TYPETERM 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 executes 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 TYPETERM being added. The list of attributes must be coded as a single character string using the syntax shown in TYPETERM attributes. See The ATTRIBUTES option for general rules for specifying attributes, and TYPETERM definition 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 may not exceed 32767 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.
TYPETERM(data-value)
specifies the 8-character name of the TYPETERM definition to be added to the CICS region.

Conditions

ILLOGIC
RESP2 values:
2
The command cannot be executed because an earlier CONNECTION or TERMINAL pool definition has not yet been completed.
INVREQ
RESP2 values:
n
There is a syntax error in the ATTRIBUTES string, 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 was executed in a program defined with an EXECUTIONSET value of DPLSUBSET or a program invoked from a remote system by a distributed program link without the SYNCONRETURN option.
LENGERR
RESP2 values:
1
The length 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.