The CALLRFC Procedure

Example 2: Use 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 WORK.RFC_PARM, WORK.RFC_ATTR and WORK.RFC_COLS output data sets 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;