Type: | batch macro |
%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.