GDP for EA_17 in Current Prices
/*----------------------------------------------------------------
SAS SAMPLE LIBRARY
Name: oecdgs01.sas
Description: Example program from SAS/ETS User's Guide,
The SASEOECD Interface Engine
Title: GDP for EA_17 in Current Prices
Product: SAS/ETS Software
Keys: OECD data retrieval
Procs: SASEOECD
Notes:
libname oecd saseoecd "%sysget(OECD_DATA)"
SETID=SNA_TABLE1_SNA93
OUT=gstart
INSET0=keylist0
INSET1=keylist1
INSET2=keylist2
;
----------------------------------------------------------------*/
options validvarname=any
sslcalistloc="<physical path and file name to specify your security certificates>";
data keylist0;
length key0 $8;
key0='EA17'; output; /* country is euro area; 17 countries */
run;
data keylist1;
length key1 $8;
key1='B1_GA'; output; /* transaction is GDP; output approach */
run;
data keylist2;
length key2 $2;
key2='C'; output; /* measure is current prices */
run;
title 'Request GDP for EA_17 in Current Prices';
LIBNAME myLib saseoecd "physical path to your folder for storing the OECD data"
setid=SNA_TABLE1_SNA93
inset0=keylist0
inset1=keylist1
inset2=keylist2
out=gstart
;
data myGDP;
set myLib.gstart ;
run;
proc print data=myGDP; run;