The CALLRFC Procedure

Example 2: Using the Output Delivery System with the DESCRIBE FUNCTION statement

This example shows using the Output Delivery System (ODS) to redirect the output for the DESCRIBE FUNCTION statement to SAS data sets.
The output data sets WORK.RFC_PARM, WORK.RFC_ATTR and WORK.RFC_COLS are created with the metadata information about function RFC_SYSTEM_INFO.

Program

ods listing close;
ods output parameter=rfc_parm attributes=rfc_attr column=rfc_cols;
proc callrfc user='USER' passwd='PASS' client='800'
   lang='EN' ashost='sapr3srv.sup.com' sysnr='03';

   describe function 'RFC_SYSTEM_INFO';
run;
ods output close;