enterprise guide - How can I assign libname to WORK Data Library in SAS? -


we have enterprise guide project, have multiple process flows. output of each process flow saved specific library called "save", defined libname statement. done easier jump , work on process flow without needing run above process flows (except of course process flow initialize save library libname statement).

however, when want run code on production server, save library points sas work data library, dont need in-between data.

is possible direct library work data library, using libname statement (e.g. "libname save sas.work;") ?

the define libref use libname statement. find path used existing libref use pathname() function.

libname save %sysfunc(quote(%sysfunc(pathname(work)))) ; 

be careful using trick because save.memname , work.memname refer same physical file. code worked in development environment might not work because of name conflicts.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -