PCS - USAP configuration option

Description

As documented by SAP: The PCS option specifies a Partner Character Size. It is rarely needed, as during the initial handshake, the RFC library obtains the correct value from the back-end and uses it from then on.

However, a rare use case could be that the back-end is Unicode and you want to use a non-ISO-Latin-1 username or password for the initial logon. As the initial handshake is done with ISO-Latin-1, the characters in username/passwd would break, resulting in a refused logon. In that case, set PCS=2 and the RFC library will use Unicode for the initial handshake.

Usage

Method

Syntax

IBM i

HP NonStop

UNIX

Windows

z/OS

Command Line, Short Form

n/a

Command Line, Long Form

-rfc_pcs size

(tick)

(tick)

Environment Variable

USAP_RFC_PCS=size

(tick)

(tick)

Configuration File Keyword

rfc_pcs size

(tick)

(tick)

Value

size is the Partner Character Size.

Command Usage

The PCS option is an RFC (Remote Function Call) option.

RFC options are associated with program execution, not commands. They are used to configure the SAP NW RFC connection.