Run SAS code with a SAS session.
Arguments
- sas_code
(character)
sas code to be executed.
- results
(character)
sas code execution results type.
- sas_session
(saspy.sasbase.SASsession) SAS session.
Value
Named list with following elements:
Details
run_sas will run sas code through SAS session.
The results is a named list of LST and LOG.
The result part will be stored in LST, and log will be stored in LOG.
If results argument is "TEXT", then results are in text format;
if results argument is "HTML", then results are in html format.