/***************************************************************************************************************** SAS file name: Available_Memory.sas File location: _________________________________________________________________________________________________________________ Purpose: To demonstrate how to obtain the available memory in SAS. Author: Peter Clemmensen Creation Date: 18/12/2017 This program supports the example page "Available Memory To SAS Session" on SASnrd.com *****************************************************************************************************************/ data _null_; mem = input(getoption('xmrlmem'),20.2)/10e6; format mem 20.2; put "You have " mem "GB memory available"; run;