/***************************************************************************************************************** SAS file name: MEMLIB_Option File location: _________________________________________________________________________________________________________________ Purpose: To demonstrate how to create an entire library in memory with the MEMLIB Option Author: Peter Clemmensen Creation Date: 18/12/2017 This program supports the example page "Create SAS Library In Memory With MEMLIB Option" on SASnrd.com *****************************************************************************************************************/ /* Regular library */ libname RegLib "c:\Users\Peter\Documents\"; data RegLib.DiskData; do x=1 to 10e7; output; end; run; data RegLib.DiskData1; set RegLib.DiskData; run; /* In-memory library */ libname RamLib "c:\Users\Peter\Desktop\" memlib; data RamLib.MemoryData; do x=1 to 10e7; output; end; run; data RamLib.InMemoryData1; set RamLib.MemoryData; run;