Usage Note 38310: How to customize a SAS® Forecast Studio 2.1 sample stored process report
SAS Forecast Studio enables you to modify certain options in a sample stored process. The options allow SAS Forecast Studio to base the report on your current project and to include any adjustments that are made.
Note that only certain options can be adjusted in the sample stored process reports that are provided. The options that can be adjusted are shown in the following section of the SAS Forecast Studio 2.1 User's Guide:
Appendixes – Sample Reports in SAS Forecast Studio -- Description of Sample Reports
Each section includes a brief explanation of the Getting Started reports and lists the parameters that you can customize at run time.
EXAMPLE
The example here uses SAS Forecast Studio 2.1 and SAS® Management Console for SAS 9.1. Use the following steps to customize the report "Getting Started Report - Simple Example of a Stored Process". This is the description of this stored process report:
When you run this report, you can customize the title of the report.
This example customizes the default title from "Hello World" to "MY REPORT".
- Open SAS Management Console.
- In SAS Management Console, expand BI Manager ► Forecast Studio ►
Stored Processes ► Samples.
- Right-click Samples to create new a new folder named (for this
example) "Custom Reports".
In SAS Management Console, look in the folder location of your new Custom Reports
folder. In Windows Explorer, create the same Custom Reports folder, with the same
location.
For example:
"C:\SAS\ForecastStudio\StoredProcesses\Samples\custom reports"
In SAS Management Console, select the Getting Started folder (in the Samples folder)
to expand the contents. Right-click Simple Example of a stored
process. Select Properties ► Execution Tab. Note the
location of the ".sas" file for the sample stored process in Source File.
For example:
"
c:\sas\ForecastStudio\StoredProcesses\Samples\GettingStarted
\FS_GettingStarted1.sas"
Right-click the new Custom Reports folder in SAS Management Console to paste the
file. Right-click the pasted link and select Properties.
Rename the Stored Process filename in the General Tab to "My Report".
In the Execution tab "–Source File", adjust the location of the
".sas" file to reflect the new Custom Folder in Windows Explorer.
For example:
"c:\sas\ForecastStudio\StoredProcesses\Samples\Custom
Reports\FS_GettingStarted1.sas"
Copy the stored process ".sas" file from the original location in Windows
Explorer, and paste the file in the new location in Windows Explorer.
From:
"c:\sas\ForecastStudio\StoredProcesses\Samples\Getting
Started\FS_GettingStarted1.sas"
To: "
c:\sas\ForecastStudio\StoredProcesses\Samples\Custom Reports\FS_GettingStarted1.sas
"
Adjust the new file as needed. Be careful to leave "FS_ macro" variables
unchanged.
Use the code below to change the title of the report from: "Hello World" to
"MY REPORT". Open the original code using an editor such as Notepad.
*ProcessBody;
%stpbegin;
title "&FS_Title";
data test;
text="Hello World";
run;
proc print data=test; title "Hello World";
run;
%stpend;
- Save the adjusted .sas file.
The next time that the stored process "My Report" runs, the title "MY REPORT" is displayed.
Operating System and Release Information
| SAS System | SAS Forecast Studio | Microsoft Windows 2000 Advanced Server | 2.1 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows 2000 Datacenter Server | 2.1 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows 2000 Server | 2.1 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows 2000 Professional | 2.1 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows NT Workstation | 2.1 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Datacenter Edition | 2.1 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Enterprise Edition | 2.1 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Standard Edition | 2.1 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows XP Professional | 2.1 | | 9.1 TS1M3 SP4 | |
| Windows Vista | 2.1 | | 9.1 TS1M3 SP4 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Date Modified: | 2012-01-20 14:34:02 |
| Date Created: | 2010-01-06 13:13:52 |