OLIPHANT Procedure

Example 2: Querying File Details from HDFS

Details

This PROC OLIPHANT example demonstrates how to query the details of SASHDAT files.

Program

proc oliphant host="grid001.example.com" install="/opt/TKGrid"; 1
   details path="/sasdata/2011/" recursive; 2

   details file=emps path="/sasdata/2011/" column; 3
run;

Program Description

  1. The PROC OLIPHANT statement uses the HOST= and INSTALL= options to identify the SAS High-Performance Deployment of Hadoop to use.
  2. The table information details for all SASHDAT files in the /sasdata/2011 directory and any subdirectories are displayed.
  3. The column information for the emps.sashdat file is displayed.