Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

BCCONN: Shut down connections

&pagelevel(3)&pagelevel

You use this command to shut down one or more connections.
One of the operands APPLICATION or PARTNER must be specified:
If only APPLICATION is specified, all connections for this application are shut down.
If PARTNER is specified, all connections to this partner are shut down for any application.If both APPLICATION and PARTNER are specified, all connections to the specified partner are shut down for the specified application.

BS2000 console

BS2000 SDF command

Command/ SOF file

SNMP management

Parameter service

x


x

x


List of valid command sources

BCCONN

APPLICATION = *all / ( [ NEA ] , <nea-name 1 .. 16> / [ NEA ] , <c-string 1 .. 16>) /








( OSI , <osi-name 1 .. 78> / <c-string 1 .. 78> / <x-string 1 .. 156> ) /








( SOCKET , <socket-name 1 .. 78> / <c-string 1 .. 78> / <x-string 1 .. 156> )

, PARTNER = *all / ( [ NEA ] , <nea-name 1 .. 16> / [ NEA ] , <c-string 1 .. 16>) /








( OSI , <osi-name 1 .. 78> / <c-string 1 .. 78> / <x-string 1 .. 156> ) /








( SOCKET , <socket-name 1 .. 78> / <c-string 1 .. 78> / <x-string 1 .. 156> )

, W = NO / YES

APPLICATION=...
Name of application in the local processor

APPLICATION= *all
All connections which the partner application maintains (PARTNER) to applications in the local processor are to be shut down.
In this case, a valid value must be entered for PARTNER.

APPLICATION=([NEA],<nea-name 1..16> / <c-string 1..16>)
NEA name of the application.
For NEA names, the first eight characters of the application name and the first eight characters of the host name are to be used (one to eight alphanumeric characters in each case, left-justified, and padded with blanks). If the application name is shorter than eight characters, then the NEA name must be specified as a C string.
If only the name part containing the application name is specified, the part containing the HOST name is derived from the HOST specification when BCAM is started.

APPLICATION=(OSI,<osi-name 1..78> / <c-string 1..78> / <x-string 1..156>)
OSI name of the application.
(1 to 78 alphanumeric characters)

APPLICATION=(SOCKET,<socket-name 1..78> / <c-string 1..78> /  <x-string 1..156>)
SOCKET name of the application.
(1 to 78 alphanumeric characters)

PARTNER=...
Name of the partner application

PARTNER= *all
All connections which APPLICATION maintains to any partners are to be shut down.In this case, a valid value must be entered for APPLICATION.

PARTNER=([NEA],<nea-name 1..16> / <c-string 1..16>)
NEA name of the partner application
For NEA names, you use the first eight characters of the NEA name and the first eight characters of the processor name (one to eight alphanumeric characters in each case, left-justified, and padded with blanks). If the application name is shorter than eight characters, the NEA name must be specified as a C string.
If only the part containing the NEA name is specified, the part containing the HOST name is derived from the HOST specification when BCAM is started.

PARTNER=(OSI,<osi-name 1..78> / <c-string 1..78> / <x-string 1..156>)
OSI name of the partner application.
(1 to 78 alphanumeric characters)

PARTNER=(SOCKET,<socket-name 1..78> / <c-string 1..78> / <x-string 1..156>)
SOCKET name of the partner application.
(1 to 78 alphanumeric characters)

W=...
Mode for warning about connection shutdown

W=NO
Specifies that the application is not to be warned about connection shutdown.

W=YES
Specifies that the application is to be warned about connection shutdown.
With W=YES, all applications receive a warning about connection shutdown. After the warning time has expired, all remaining connections are automatically shut down.
The length of warning time is determined by the specification for the time interval between warnings (WARN operand in the BCTIMES command). 

Command logging

For reasons of compatibility, successful processing is acknowledged with news BCA0763, and unsuccessful processing with news BCA0762, followed by the message NBR0740. In addition, for positive acknowledgments, the messages BCA0863, BCA086F and BCA063A may also appear.
A description of the error messages that may be issued during command processing is provided in the table below. 

Command return codes

(SC2)      SC1

Maincode

Meaning

   0        0

CMD0001

Command successfully processed

   2        0

BCA063B

Connection not established

   0        1

BCA0768

Syntax error in command

   0       64

BCA0862

No connection was found

   0       64

BCA08E5

Connection is unknown

   0      128

BCA0814

BCAM is being terminated abnormally

   0      128

BCA0816

BCAM is terminating

   0      130

BCA0766

BCAM is not active