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;