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();
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.