Connects to or disconnects from an SAP system using a profile.
| Type: | batch macro |
| Data source: | R/3 |
| See: | %R3CONNC macro, %R3CONNE macro |
identifies the name of the profile that contains the information used in the Logon to R/3 window.
identifies the SAS library containing the LIBREF.R3CONN data set. This data set contains the logon parameters defined for the profile.
specifies the logon parameters that are defined in SOURCE type catalog entries. Although the SOURCE parameter is supported in this version, logon parameters should now be defined in profiles that are stored in a SAS data set.
%r3connb(PROFILE=BatchUser, LIBREF=batch, FUNCTION=open);In this example, the profile BatchUser is used to connect to the R/3 system. The BatchUser profile uses the connection parameters stored in the BATCH.R3CONN data set.
%r3connb(PROFILE=BatchUser, LIBREF=batch, FUNCTION=close);The BatchUser profile was used to connect to the R/3 system. This example demonstrates how to use the %R3CONNB macro to close the BatchUser profile's connection to the R/3 system.