Nikkei JASDAQ Stock Average Index

/*----------------------------------------------------------------

                   SAS SAMPLE LIBRARY

       Name: quanex04.sas
Description: Example program from SAS/ETS User's Guide,
             The SASEQUAN Interface Engine
      Title: Nikkei JASDAQ Stock Average Index
    Product: SAS/ETS Software
       Keys: Quandl data extraction
      Procs: SASEQUAN
      Notes: Read this before you run this sample.
             The sample data provided resides in the ets/sasmisc folder.
             If you are using automap=READONLY, then you must copy the
             map of your incoming XML data to a writeable folder before
             using it. So, define a system environment variable
             ,QUANDL, to the path of your  writeable folder containing
             the QUANEX01.MAP file and QUANEX01.xml.
             To assign a fileref to the external file to be processed,
             use the following form of the libname statement:

           libname quan sasequan "%sysget(QUANDL)"
              FORMAT=XML
              OUTXML=quanex04
              AUTOMAP=replace
              MAPREF=MyMap
              XMLMAP="%sysget(QUANDL)quanex04.map"
              APIKEY='<your Quandl apikey>'
              IDLIST='<your list of Quandl codes>'
              START='<trim_start>'
              END='<trim-end>'
              ;
 ----------------------------------------------------------------*/

options validvarname=any
   sslcalistloc="/SASSecurityCertificateFramework/1.1/cacerts/trustedcerts.pem";

title 'NIKKEI JASDAQ Stock Average Index ';
libname _all_ clear;
libname mylib "/sasusr/playpens/saskff/quan/doc/";

/* export QUANDL=/sasusr/playpens/saskff/quan/test/ */

libname myTOP20 sasequan "/sasusr/playpens/saskff/quan/test/"
   apikey='XXXXXXXXXXXXXXXXXXXX'
   idlist='NIKKEI/JASDAQ'
   format=XML
   outXml=jasdaq
   automap=replace
   mapref=MyMap
   xmlmap="/sasusr/playpens/saskff/quan/test/jasdaq.map"
   start='2018-06-06'
   end='2018-09-05'
   ;

data mylib.jasdaq;
   set myTOP20.jasdaq;
run;

proc contents data=mylib.jasdaq; run;
proc print data=mylib.jasdaq(obs=35); run;