Hi All,
in myproject, if i override few values, can i export and import in another project?
i don't want to copy and paste the data but want to export into a file and then want to import it into the project.
sue let me know how and where
Hi:
I can think of two ways of doing it.
The flow for method 2 is as follows:
This is just an example of the code where the original project has OUTOVRD data set at three levels.
**********************************************************************
* DECLARING LIBRARIES.
*********************************************************************;
%let HPF_LIBNAME_OPTIONS=;
%let HPF_PROJECTDIR = C:\SAS\SASForecastServer14.1\Default\Projects\myOldProject\;
libname _project "&HPF_PROJECTDIR" &HPF_LIBNAME_OPTIONS;
libname _top "&HPF_PROJECTDIR\hierarchy\top" &HPF_LIBNAME_OPTIONS;
libname _HPF0 "&HPF_PROJECTDIR\hierarchy\regionName" &HPF_LIBNAME_OPTIONS;
libname _HPF1 "&HPF_PROJECTDIR\hierarchy\productLine" &HPF_LIBNAME_OPTIONS;
libname _HPF2 "&HPF_PROJECTDIR\hierarchy\productName" &HPF_LIBNAME_OPTIONS;
libname mylib "c:\FS";
**********************************************************************
* GATHER OVERRIDES
*********************************************************************;
data mylib.allovrd;
set _hpf2.outovrd _hpf0.outovrd _top.outovrd ;
run;
**********************************************************************
* APPLY OVERRIDES TO NEW PROJECT
*********************************************************************;
%fslogin (user = yourSASUserName,
password = yourSASPassword,
);
%fssetovr(ovrds=mylib.allovrd,
projectName=myNewProject,
environment=default,
reconcile=YES,
outfailed=IHopeNone
);
%fslogout();
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.