BookmarkSubscribeRSS Feed
hixsone
Fluorite | Level 6

Initially used FS to create forecast models and now exported project code to productionalize.  Am going through to optimize and found system generated section where proc catalog selects and deletes airline.xml to initialize and empty the catalog entries. 

 

Is there a reason why?  Alternative that doesn't require sashelp?  Am concerned about production migration failures if sashelp isn't configured the same.

 

Here is actual code (same if select or diagnose forecast models):

 

*----------------------------------------------------------------------
* initializing and emptying catalog entry for temporary level model repository.
*---------------------------------------------------------------------;
proc catalog catalog=work.TemLevModRep_top;
copy in=sashelp.hpfdflt out=work.TemLevModRep_top;
select airline.xml;
run;
delete airline.xml;
run;
quit;
*----------------------------------------------------------------------
* initializing and emptying catalog entry for level model repository.
*---------------------------------------------------------------------;
proc catalog catalog=work.TemLevModRep_HPF0;
copy in=sashelp.hpfdflt out=work.TemLevModRep_HPF0;
select airline.xml;
run;
delete airline.xml;
run;
quit;
*----------------------------------------------------------------------
* initializing and emptying catalog entry for level model repository.
*---------------------------------------------------------------------;
proc catalog catalog=work.TemLevModRep_HPF1;
copy in=sashelp.hpfdflt out=work.TemLevModRep_HPF1;
select airline.xml;
run;
delete airline.xml;
run;
quit;
*----------------------------------------------------------------------
* initializing and emptying catalog entry for level model repository.
*---------------------------------------------------------------------;
proc catalog catalog=work.TemLevModRep_HPF2;
copy in=sashelp.hpfdflt out=work.TemLevModRep_HPF2;
select airline.xml;
run;
delete airline.xml;
run;
quit;

SAS INNOVATE 2024

Innovate_SAS_Blue.png

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. 

Register now!

Multiple Linear Regression in SAS

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.

Discussion stats
  • 0 replies
  • 285 views
  • 0 likes
  • 1 in conversation