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();
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.