Connects to an SAP system.
Type: | batch macro |
Data source: | R/3 |
See: | %R3CONNB macro, %R3CONNE macro |
specifies the connection identifier to be used when connecting to the SAP system.
specifies the name of the TCP/IP host to be used when connecting to the SAS RFC Server. This parameter is used in z/OS operating environments only.
specifies the TCP/IP port to be used when connecting to the SAS RFC Server. This parameter is used in z/OS operating environments only.
specifies the user ID to be used when connecting to the SAP system.
specifies the encoded password to be used when connecting to the SAP system.
specifies the three-digit client ID to be used with the SAP system.
specifies the logon language to be used with the SAP system.
specifies the SAP server host name to be used when connecting to the SAP system.
specifies the destination name to be used when using the SIDEINFO file to specify connection parameters.
specifies the SA P System number. This parameter can be specified here or in the SIDEINFO file.
specifies the TCP service of the SAP gateway. This parameter can be specified here or in the SIDEINFO file.
specifies the name of the host on which the SAP gateway is running. This parameter can be specified here or in the SIDEINFO file.
specifies the function module to be used.
specifies the user identifier for CPIC.
specifies the encoded password for CPIC.
specifies the client for CPIC.
specifies the logon language for CPIC.
specifies the destination for CPIC communication (as defined in the TXCOM table in the SAP system).
specifies the form for CPIC.
specifies the SAS/CONNECT remote session ID to be used when connecting to the R/3 system.
%r3connc(CCONN=IDES, USR=USER1, PWD=D27A927AD9E768, CLI=800, LNG=EN, HST=HostName1, SYS=02, CPICUSR=CPICUSER, CPICPWD=6FD3E4BAC4);In this example, USER1 is connecting to an R/3 system on an application server named HostName1 with a system number of 02.
%r3connc(CCONN=IDES, USR=USER1, PWD=D27A927AD9E768, CLI=800, LNG=EN, HOST=HostName2, PORT=6998, HST=HostName1, SYS=02, CPICUSR=CPICUSER, CPICPWD=6FD3E4BAC4);In this example, SAS connects to an R/3 application server (HostName1) with system number 02 and a SAS RFC Server running on a separate host (HOSTNAME2) on port 6998.
%r3connc(CCONN=IDES, USR=USER1, PWD=D27A927AD9E768, CLI=800, LNG=EN, DST=SYSTEM1, CPICUSR=CPICUSER, CPICPWD=6FD3E4BAC4);In this example, USER1 is connecting to an R/3 system. The R/3 system is identified by a logical destination (SYSTEM1), and the connection information is defined in the SIDEINFO file.