Creating Dynamic Web Based Reporting



Similar documents
Running SAS Applications on the Web

Hands-On Workshops HW003

SAS/IntrNet 9.4: Application Dispatcher

Intelligent Power Protector User manual extension for Microsoft Virtual architectures: Hyper-V 6.0 Manager Hyper-V Server (R1&R2)

SAS/IntrNet 9.3: Application Dispatcher

VERITAS Backup Exec TM 10.0 for Windows Servers

MFPConnect Monitoring. Monitoring with IPCheck Server Monitor. Integration Manual Version Edition 1

Dell UPS Local Node Manager USER'S GUIDE EXTENSION FOR MICROSOFT VIRTUAL ARCHITECTURES Dellups.com

Deploying Intellicus Portal on IBM WebSphere

Install and Configure RelayFax

Setting up and Automating a MS Dynamics AX Job in JAMS

White Paper. Installation and Configuration of Fabasoft Folio IMAP Service. Fabasoft Folio 2015 Update Rollup 3

CONSOLEWORKS WINDOWS EVENT FORWARDER START-UP GUIDE

NovaBACKUP Remote Workforce Version 12.5 Cloud Restore

How to configure the DBxtra Report Web Service on IIS (Internet Information Server)

MICROSTRATEGY 9.3 Supplement Files Setup Transaction Services for Dashboard and App Developers

for Networks Installation Guide for the application on the server July 2014 (GUIDE 2) Lucid Rapid Version 6.05-N and later

Immotec Systems, Inc. SQL Server 2005 Installation Document

Training module 2 Installing VMware View

for Networks Installation Guide for the application on the server August 2014 (GUIDE 2) Lucid Exact Version 1.7-N and later

PHP+MYSQL, EASYPHP INSTALLATION GUIDE

Sage Abra Timesheet. Quick Start Guide

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

EventTracker: Configuring DLA Extension for AWStats Report AWStats Reports

Spam Marshall SpamWall Step-by-Step Installation Guide for Exchange 5.5

Insight Video Net. LLC. CMS 2.0. Quick Installation Guide

SAS 9.3 Foundation for Microsoft Windows

NTI Backup Now EZ v2 User s Guide

Trend ScanMail. for Microsoft Exchange. Quick Start Guide

Integration Guide. Microsoft Active Directory Rights Management Services (AD RMS) Microsoft Windows Server 2008

End User Guide The guide for /ftp account owner

Web Enabled Software for 8614xB-series Optical Spectrum Analyzers. Installation Guide

IHS Emergency Department Dashboard

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

Introduction. Before you begin. Installing efax from our CD-ROM. Installing efax after downloading from the internet

Universal Management Service 2015

IIS, FTP Server and Windows

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

F-SECURE MESSAGING SECURITY GATEWAY

Quick Start Guide for the SupportDesk Web Interface

Oracle Call Center Applications Setup

Installing Microsoft Exchange Integration for LifeSize Control

User Installation Guide for SAS 9.1 Foundation for 64-bit Microsoft Windows

IceWarp Notifier User Guide

Allworx Installation Course

Sage 200 Web Time & Expenses Guide

Monitoring Oracle Enterprise Performance Management System Release Deployments from Oracle Enterprise Manager 12c

AdminToys Suite. Installation & Setup Guide

Setting up SMTP in Talis Decisions

CS SoftDent Practice Management Software Installation Guide for Client/Server Configurations

Part No. P Multimedia Call Center. Set Up and Operation Guide

VERITAS Backup Exec 9.1 for Windows Servers Quick Installation Guide

Configuring Global Protect SSL VPN with a user-defined port

RSM Web Gateway RSM Web Client INSTALLATION AND ADMINISTRATION GUIDE

SevOne NMS Download Installation and Implementation Guide

Installation Instructions for Version 8 (TS M1) of the SAS System for Microsoft Windows

Personal Call Manager User Guide. BCM Business Communications Manager

SysPatrol - Server Security Monitor

CA /BrightStor ARCserve9 Backup Software

Feith Dashboard iq Server Version 8.1 Install Guide

Lotus Notes 6.x Client Installation Guide for Windows. Information Technology Services. CSULB

NEWTECH INFOSYSTEMS, INC. NTI Backup Now EZ. NTI Backup Now EZ User's Guide

EventTracker: Configuring DLA Extension for AWStats report AWStats Reports

RSView 32 ACTIVE DISPLAY SYSTEM GETTING RESULTS GUIDE. PUBLICATION VW32AD-GR001E-EN-E July 2011 Supersedes Publication VW32AD-GR001D-EN-E

Team Foundation Server 2013 Installation Guide

External Authentication with Windows 2012 R2 Server with Remote Desktop Web Gateway Authenticating Users Using SecurAccess Server by SecurEnvoy

PowerPanel Business Edition Installation Guide

Canto Integration Platform (CIP)

Installing GS Analyze version 8.5

What is Aconex Local Copy? Controlling Access to a Datastore Hardware Requirements Software Requirements Installing Aconex Local Copy Troubleshooting

The cloud server setup program installs the cloud server application, Apache Tomcat, Java Runtime Environment, and PostgreSQL.

8.7. NET SatisFAXtion Gateway Installation Guide. For NET SatisFAXtion 8.7. Contents

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

Implementing a SAS 9.3 Enterprise BI Server Deployment TS-811. in Microsoft Windows Operating Environments

Implementing Microsoft SQL Server 2008 Exercise Guide. Database by Design

Symantec Backup Exec TM 11d for Windows Servers. Quick Installation Guide

User Manual. Version Yeastar Technology Co., Ltd.

Pharos Control User Guide

Integrated Virtual Debugger for Visual Studio Developer s Guide VMware Workstation 8.0

Symantec Backup Exec 12.5 for Windows Servers. Quick Installation Guide

GP REPORTS VIEWER USER GUIDE

Disaster Recovery. Websense Web Security Web Security Gateway. v7.6

DEPLOYMENT OF I M INTOUCH (IIT) IN TYPICAL NETWORK ENVIRONMENTS. Single Computer running I m InTouch with a DSL or Cable Modem Internet Connection

Quick Setup Guide. FaxGwise Version 6.0. SKyPRO AG, Gewerbestrasse 7, 6330 Cham Switzerland, SKyPRO USA,

Crystal Reports Installation Guide

Burst Technology bt-loganalyzer SE

AXIOM 4 AXIOM SERVER GUIDE

S m a r t M a s t e B T E C O R P O R A T I O N USER MANUAL

GroupWise to PST Migrator

StarWind iscsi SAN Software: Installing StarWind on Windows Server 2008 R2 Server Core

etoken Enterprise For: SSL SSL with etoken

FioranoMQ 9. High Availability Guide

WhatsUp Gold v16.3 Installation and Configuration Guide

NetWrix File Server Change Reporter. Quick Start Guide

Product Manual. MDM On Premise Installation Version 8.1. Last Updated: 06/07/15

for Networks Installation Guide for the application on a server September 2015 (GUIDE 2) Memory Booster version 1.3-N and later

Transcription:

Creating Dynamic Web Based Reporting Prepared by Overview of SAS/INTRNET Software First, it is important to understand SAS/INTRNET software and its use. Three components are required for the SAS/INTRNET software to work. Web Server Software such as Microsoft s Personal Web Server/Internet Information Services, or the Apache Web Server. Global Business Intelligence Solutions Destiny Corporation 100 Great Meadow Rd Suite 601 Wethersfield, CT 06109-2379 Phone: (860) 721-1684 - 1-800-7TRAINING Fax: (860) 721-9784 Email: info@destinycorp.com Web: www.destinycorp.com In this hands on workshop, we'll demonstrate and discuss how to take a standard or adhoc report and turn it into a web based report that is available on demand in your organization. In the workshop, attendees will modify an existing report and display the results in various web based formats, including HTML, PDF and RTF. Web Browser Such as Microsoft s Internet Explorer or Netscape s Navigator. SAS/INTRNET Software Called the Application Dispatcher. It is composed of 2 pieces. o o SAS Application Server A SAS program on a Server licensed with the SAS/INTRNET Module. Application Broker A Common Gateway Interface (CGI) program that resides on the web server and communicates between the Browser and the Application Server. These components can all reside on the same system, or on different systems. To do this, we ll use Dreamweaver software as a GUI tool to create HTML web pages. We ll use SAS/Intrnet software as a back end tool to execute SAS programs with parameters selected on the HTML screen presented to the user. Our goal is to create the following screen for user input. Types of Services Socket Service: Is constantly running, waiting for incoming Transactions. Launch Service: A new service is started for each request. Pool Service: Provides a pool of servers that will be started when needed. Installing and Running a Web Server In order to execute the SAS/INTRNET software you need a Web Server. There are numerous Web Servers on the market today. Microsoft IIS/Personal Web Server or Apache are amongst the most common since they are free. SAS/INTRNET needs to be installed in your environment. You still need to configure the Software for use. You need to select the type of Service you wish to use and set it up for use. Socket Service Description We will use a simple program that looks like the following and modify it. Socket services consist of one or more application servers that run continuously servicing client requests. Socket services start when a machine is restarted (either manually or by an operating system mechanism for starting processes at boot or login time). The service usually runs until the machine is shut down. Socket services are relatively simple to configure and manage.

Socket services are adequate for most development applications Advantages Socket services are supported on all SAS/IntrNet platforms. Other service types are not supported everywhere. The server is already running by the time a client request appears. Clients do not have to wait for a server to start. The administrator has explicit control of resources allocated to the service. The administrator can control how many servers are run on each system and what resources are allocated to each server. Increasing load can be handled by adding more servers to the service. Disadvantages Servers must be started and stopped manually or by the operating system. No automated start-up and shutdown is provided by SAS/IntrNet software. Select a name for your service. You can choose any name for your service. We are going to choose default. No dynamic scaling to meet increasing loads is provided. A fixed number of servers is available to handle all client requests. A few long-running requests can slow the entire service for all clients. Setting up the Application Server SAS provides the INETCFG utility to setup the Application Server. To run it select the Windows Start menu, by selecting Start, then Programs, then The SAS System, then INTRNET, then Create a New INTRNET Service. The Welcome Screen is displayed. Select a Destination Folder for your service. Usually you will use the Default. Select Create a Socket Service. Select an available port as the PORT number for your service. This will be the where your application Server listens for incoming requests from the broker.

You will be shown a summary of your selections. If you are in doubt as to which port to select, you can consult the services file. Click Next. You do not have to make an entry in this file to make the port work for the Application Server. This file is located in the c:\winnt\system32\drivers\etc directory under Windows 2000 and Windows NT. It lists all the ports that are currently in use. Typically ports 5001 and above are available for this purpose. Select an Administrator password for your service. SAS/INTRNET allows you to Administer your service through your browser. You will be given some instructions. In particular to edit the Broker.CFG file. You can restart or even shutdown your service. Assigning a password forces you to use a password with these commands. For local development, a password is not necessary. Select Finish to complete the installation.

The system has setup the Default Service for us. It has created the following SAS program. This program runs proc appsrv and establishes data and program libraries for us to use. This program will be located in the directory that you chose above. Under Windows 2000 the default location is c:\documents and Settings\<USER>\My Documents\My SAS Files\INTRNET\v8\<SERVICE NAME>\ Line Line 10: Line 9: Line 16 Line 19 Starting Your Service Allocates a location called myprogs. The use of allocate file indicates that this location will contain.sas programs Allocates a library called saved. Designates these libraries as Program Libraries. Multiple proglibs lines are allowed. Designates these libraries as data libraries. Multiple datalibs statements are allowed. Libraries defined here are available only in this Application Server. There are several ways to run your SAS/INTRNET Server. 1. Start SAS. Open the proc appsrv program you have created, and run it. 2. Use the Shortcut SAS prepares for you. 3. Setup the SAS/INTRNET Server as a Windows NT/2000 Service. We will use the Shortcut SAS creates for us. Click on Start on the Taskbar, then Programs, then The SAS System, then INTRNET, then Start Default Service. Editing the Broker Configuration File The broker is an executable program that is placed in a directory under your Web Server. Line Line 17: Starts PROC APPSRV and listens at port 5001. Line 18: Allocates a file library to reference.sas programs. Line 19 21: Allocates data and program libraries. In our example it is located in C:\Program Files\Apache Group\Apache\cgibin. The broker.cfg file is the configuration file for this program. It is located in the same directory. It contains several global variables and then a set of entries for each service. Line 23: Line 24: Line 25: Sets program libraries. Sets data libraries. Sets the logfile. When the file is installed from SAS it contains a lot of comments. In the following pages the GLOBAL options are displayed. The comments have been removed. You can and will need to allocate your own program and data libraries. The program to add libraries would look like the following.

Option Service Description Service Admin ServiceAdminMail Server Port Description of the Service Name of the System Administrator Email Address of your System Administrator The name of the Server running the Application Server.(Required). Multiple Servers are allowed. The port number the Application Server is listening too. (Required). Multiple ports are allowed. You can override the Global options here. If they are left blank then the defaults are used. The socket service after editing is displayed below. Option SelfURL Administrator Administrator Mail Allow get post Debug DebugMask FieldWidth PrependFile AppendFile DefaultService LoadManager LocalAddress Export Set Sets the URL of the BROKER. Normally not set. Name of your System Administrator Email Address of your System Administrator Allows you to toggle the get and post CGI methods Allows you to set a default value for Debug Sets the maximum allowable value for Debug Sets the field width for variables being passed. Default is 80. File inserted at the beginning of every HTML page generated. File inserted at the end of every HTML page generated. Default service used in the event no service value is available Specifies the machine/port that the Load Manager is running Overrides the automatic determination of the local host IP Address. Allows you to export any environment variable. Allows you to specify any other variables you want. Testing Your Service SAS provides the PING program to test your service. To run it you need to open your browser and enter the following: http://localhost/cgi-bin/broker.exe?_service=default&_program=ping Where Localhost/cgi-bin/broker.exe represents the URL of your BROKER executable. _service represents your service name. _program represents your program name. The typical Socket Service entry appears below.

First, the program needs to be modified to use ODS statements and several macro variables that will be passed from the HTML screen. We choose to specify a title, data set, three options and type of output. The code has been modified to use several global options in case a user does not select some options on the HTML web page. The follow HTML code is created to build the web page listed earlier in this paper. The specifics for SAS and how it ties to the web page will be discussed further in the workshop. When all of the pieces are put in place, the resulting HTML screen The key areas to focus on are the hidden tags that specifically call SAS. The following screen is how this looks in Macromedia s Dreamweaver software. Dreamweaver software provides an easy to use HTML interface with a menuing system to allow for easy modification of HTML. Will produce the following report.

For more information, please come to the Hands on Workshop or contact Destiny Corporation 800-787-2464. Trademarks: SAS is a registered trademark of SAS Institute, Cary, NC. Dreamweaver is a registered trademark of Macromedia, Inc., San Francisco, CA