Bytes Per Character (-BPC)

The following are optional client connection parameters. A command parameter, -BPC is used for Bytes Per Character.

The -BPC parameter allows the client connection to be bypassed. For example, a connection string of: "-BPC 2 -a pgm_id -g gtwy_name -x gtwy_conn -t+ ar3" will use a BPC of 2 to indicate Unicode. BPC is used only if none of the parameters for Client, User, Password, System Host and Destination are present. If neither BPC, nor the other parameters are set, a default BPC value of 1 is assumed.

In the command line, where CHUPSD represents the parameters, -C, -H, -U, -P, -S and -D
  • If (-BPC and any of CHUPSD): Log "BPC cannot be used with connection parameters"
  • If (-BPC and none of CHUPSD): the BPC is used, no connection attempted
  • If (no -BPC and any of CHUPSD): Connection is attempted to retrieve BPC
  • If (no -BPC and none of CHUPSD): default BPC of 1 is used

The parameters -C, -H, -U, -P, -S and -D are now optional.