Add a session group to the CONNECTION definition being created.
CREATE SESSIONS >>-CREATE SESSIONS(data-value)--ATTRIBUTES(data-value)----------> >--ATTRLEN(data-value)--LOGMESSAGE(cvda)----------------------->< CREATE SESSIONS attribute values: .-AUTOCONNECT(NO)--. .-BUILDCHAIN(YES)-. |--+------------------+--+-----------------+--------------------> +-AUTOCONNECT(ALL)-+ '-BUILDCHAIN(NO)--' '-AUTOCONNECT(YES)-' >--CONNECTION(char4)--+---------------------+-------------------> '-DESCRIPTION(char58)-' .-DISCREQ(NO)--. .-IOAREALEN(0,0)-------------. >--+--------------+--+----------------------------+-------------> '-DISCREQ(YES)-' '-IOAREALEN(0-32767,0-32767)-' .-MAXIMUM(1,0)---------. >--+----------------------+--+-----------------+----------------> '-MAXIMUM(0-999,0-999)-' '-MODENAME(char8)-' .-NEPCLASS(0)-----. >--+-----------------+--+-----------------+---------------------> '-NEPCLASS(0-255)-' '-NETNAMEQ(char8)-' .-PROTOCOL(APPC)-. >--+----------------+--+---------------------+------------------> +-PROTOCOL(LU61)-+ '-RECEIVECOUNT(1-999)-' '-PROTOCOL(EXCI)-' .-RECEIVESIZE(4096)----. >--+-------------------+--+----------------------+--------------> '-RECEIVEPFX(char2)-' '-RECEIVESIZE(1-30720)-' .-RECOVOPTION(SYSDEFAULT)--. .-RELREQ(NO)--. >--+--------------------------+--+-------------+----------------> +-RECOVOPTION(CLEARCONV)---+ '-RELREQ(YES)-' +-RECOVOPTION(NONE)--------+ +-RECOVOPTION(RELEASESESS)-+ '-RECOVOPTION(UNCONDREL)---' >--+------------------+--+----------------+---------------------> '-SENDCOUNT(1-999)-' '-SENDPFX(char2)-' .-SENDSIZE(4096)----. >--+-------------------+--+-----------------+-------------------> '-SENDSIZE(1-30720)-' '-SESSNAME(char4)-' .-SESSPRIORITY(0)-----. .-USERAREALEN(0)-----. >--+---------------------+--+--------------------+--------------> '-SESSPRIORITY(0-255)-' '-USERAREALEN(0-255)-' >--+---------------+--------------------------------------------| '-USERID(char8)-'
Conditions: ILLOGIC, INVREQ, LENGERR, NOTAUTH
The CREATE SESSIONS command installs a SESSIONS definition with the attribute specified on the command. It does not use a resource definition stored in the CSD. You can use it only after issuing the initial CREATE CONNECTION command that defines the attributes of a connection and before the final CREATE CONNECTION COMPLETE (or DISCARD) command that ends the process.
The sessions you define always belong to the current connection, and the name that you specify in the CONNECTION option within your ATTRIBUTES string must match the name of the connection specified in the preceding CREATE CONNECTION command. See CREATE CONNECTION for rules about the order of the commands that build a connection, and Creating resource definitions for general rules governing CREATE commands.