You use the SHOW-BCAM-SERVER-PORTS command to show BCAM server port information.
The alias name SHBCPT exists for SHOW-BCAM-SERVER-PORTS.
BS2000 console | BS2000 SDF command | Command/SOF file | SNMP management | Parameter service |
x |
List of valid command sources
SHOW-BCAM-SERVER-PORTS / SHBCPT |
SERVER-PORT = *ALL / list-poss (8): *LOCAL / *REMOTE ,OUTPUT = *SYSOUT / *SYSLST ,OUTPUT-FORMAT = *STD / *GENERATING-CMD |
SERVER-PORT=...
Specifies the type of information.
SERVER-PORT=*ALL
Shows all BCAM server ports.
SERVER-PORT=*LOCAL
Shows the local BCAM server ports.
SERVER-PORT=*REMOTE
Shows the remote BCAM server ports.
OUTPUT=...
Specifies the output medium.
OUTPUT=*SYSOUT
The output is sent to SYSOUT.
OUTPUT=*SYSLST
The output is sent to SYSLST.
OUTPUT-FORMAT=...
Specifies the output format.
OUTPUT-FORMAT=*STD
The output format corresponds to the standard.
OUTPUT-FORMAT=*GENERATING-CMD
The output format corresponds to the generated command.
Command logging
A description of the error messages that may be issued during command processing is provided in the table below.
Command return codes
(SC2) | Maincode | Meaning |
| CMD0001 | Command successfully processed |
| CMD0202 | Operand error |
| CMD0221 | System error |
| CMD0216 | Privilege not sufficient |
| BCA0203 | Interface (&00) returns RC (&01) |
Examples
Show BCAM server ports
/SHOW-BCAM-SERVER-PORTS SERVER-PORT=*ALL
/SHOW-BCAM-SERVER-PORTS SERVER-PORT=*LOCAL,OUTPUT=*SYSLST
S variables
The command’s SERVER-PORT operand defines the S variables to which values are assigned. Possible values for SERVER-PORT are *ALL, *LOCAL and *REMOTE.
Output information | Name of the S variable | Data type | Content | Condition |
Local BCAM server ports | var(*LIST).LOC-SERVER-PORT(*LIST) | integer | <integer 1..65635> | SERV-PORT= |
Remote BCAM server ports | var(*LIST).REM-SERVER-PORT(*LIST) | integer | <integer 1..65535> | SERV-PORT= |
Generated commands | var(*LIST).GENERATING-CMD(*LIST) | integer | <text 1..256> | SERV-PORT= |