Module

getTableList

get the list of tables in a specific library

Parameters:
Name Type Description
lib string

caslib or libref (must match source)

appEnv appEnv

app Environment from setup

  • returns an array of table names(cas or SAS)
promise
Example
let list = await getTableList('sashelp', appEnv);
 returns a list of tables - based on the value of source (cas|compute)