[HIC] Mick Glasson - Getting the most from V8 on MVS
description
Transcript of [HIC] Mick Glasson - Getting the most from V8 on MVS
Getting the most from V8 on OS/390 at the
Health Insurance Commission
Mick Glasson - Glassick Pty Ltd – 24/05/2001
Click to edit Master title style
Glassick Pty Ltd
Agenda
• HIC Overview
• Me @ HIC
• SAS @ HIC
• SAS Online Doc
• Access to DB2
• Output Delivery System (ODS)
• Dynamic web reporting – Internet
• Web applications on OS/390 – Intranet
• SAS/Connect
• Features Etc…….
• New features coming with V8.2
Click to edit Master title style
Glassick Pty Ltd
Disclaimer
• The views expressed in this presentation are my own and not necessarily those of the Health Insurance Commission.
Mick GlassonGlassick Pty LtdMay 2001
Click to edit Master title style
Glassick Pty Ltd
The Health Insurance Commission
• 1974 HIC established to administer Medibank
• 1976 Medibank Private created
• 1984 Responsibilities to administer Medicare
• 1985 Responsibilities for fraud/overservicing
• 1989 Administration of PBS
• 1994 Commonwealth Childcare Rebate Scheme
• 1996 Australian Childhood Immunisation Register
• 1996 compensation case management system
• 1998 30% rebate for private health insurance
• 1999 Australian hearing services
• 2000 Health Research trials
• 2001 Australian organ donor
Click to edit Master title style
Glassick Pty Ltd
The Health Insurance Commission
• Processes over 330 Million transactions each year
– Since 1975 Processed over 7,126,600,000 transactions
• Paying over 9 Billion dollars each year
– Since ’75 payed out $112,612,200,000 dollars
• HIC Purpose
Improving Australia’s health through
payments and information
Click to edit Master title style
Glassick Pty Ltd
Mick @ HIC
• Started at HIC in September 1987 as a TCO
• Senior operator in 1988
• Operations technical specialist in 1990
• A/g shift leader 1991
• Production support analyst 1992
• Performance analyst in 1994
• Senior performance analyst in 1997
• Out-sourced in 2000
• Glassick Pty Ltd.
• Contract with HIC June 2000
Click to edit Master title style
Glassick Pty Ltd
Mick @ HIC
• Development and presentation of an OS/390 training course covering fundamentals in OS/390 hardware and software, TSO/ISPF, JCL, Interactive SAS and SAS performance techniques.
• Batch reporting, automation and redevelopment.• Development of web based applications using
SAS/Intrnet on OS/390 and NT.• Maintenance of the current HIC statistics public
web site.• Onsite SAS Technical support and HIC technical
site representative.• Provide on the job training and support for
reporting teams as required.• Provide technical advice as required.
Click to edit Master title style
Glassick Pty Ltd
Client / Developer
Browser
SAS V8.1
SAS/Connect
TCP/IP
Full Local Client install
Internet & Intranet
NT Servers
Prod, Dev & Test
SAS V8
SAS/IntrNet
SAS/Connect
OS/390 Server
OS/390 2.8
Websphere
TCP/IP 3.?
SAS V8.1
SAS/IntrNet V8.1 & V8.2 early release
SAS/Share
SAS/Connect
SAS/MDDB Server
LAN File and Print Servers
NT
SAS/Warehouse Administrator
SAS Enterprise Miner
SAS AppDev Studio
Mainframe data stays on OS/390 utilising the Performance, Reliability and Scalability that HIC legacy applications enjoy.+1200 MIPS+6 Terabytes DASD+200 Terabytes on Tape
Clients access data from a browser
Dynamic Web Reports
Drill Down
Transparent access to the power of the SAS System on OS/390 when required.
Developers access data via PC SAS or
TSO
HIC SAS SYSTEM CONFIGURATION
Click to edit Master title style
Glassick Pty Ltd
SAS Online Doc
• Installed on OS/390
• Access via browsers on desktop
• Search facility
• Working examples– Familiarity will eventually overcome
reluctance to use
• PDF Version also available
• Not currently installed @ HIC
• Print in booklet format as with downloadable PDF documentation
Click to edit Master title style
Glassick Pty Ltd
Access to DB2
• HIC has 1300 DB2 tables in the production environment. (>690 Gb capacity)
• One libname statement can enable access to entire DB2 environments.
• %HICDB2 macro.
– Can execute and connect to any DB2 subsystem in the sysplex.
– DB2 tables can then be treated as SAS datasets directly.
– Simplifies DB2 access dramatically!
Click to edit Master title style
Glassick Pty Ltd
Output Delivery System (ODS)
• Prior to ODS used in house written code to create simple html.
• Web tools available later for OS/390
• ODS Provides ability to write HTML and RTF, amongst others directly to a PDS, Sequential dataset or HFS
• Direct access by the OS/390 web server or upload to desktop for further processing
Click to edit Master title style
Glassick Pty Ltd
Output Delivery System (ODS)
• Creation of HTML
ods listing close ;ods html body=‘hic.dev.html(sausag)’ rs=none ; or body=‘\websrv\users\imd\sausag.html’ rs=none ;
non graphical SAS procedure output created here
run ;ods html close ;
The URL can then be entered directly from any browser on the HIC intranet to view the output.
• wwwdev/hic/html/sausag.html
Click to edit Master title style
Glassick Pty Ltd
Output Delivery System (ODS)
• Creation of a Rich Text Format document (Windows)
ods _all_ close ;ods rtf body='c:\sasout\test_ods_mapoz.rtf' rs=none ;proc gmap map=maps.austral data=maps.austral2 ; id id ; block id / cblkout=black;
run;quit;ods rtf close;run;
Click to edit Master title style
Glassick Pty Ltd
Create html with graphics included (Windows)
filename odsout 'c:/sasout/' ;
goptions reset=global gunit=pct cback=white
colors=(black blue green red)
ftext=swiss ftitle=swissb htitle=6 htext=4;
ods listing close ;
ods html body='test_ods_graph.html' rs=none
path=odsout;
proc gmap map=maps.austral data=maps.austral2 ;
id id ;
block id / cblkout=black;
run;
quit;
ods html close ;
run;
Click to edit Master title style
Glassick Pty Ltd
Exit here
• Exit to HTML and RTF OZ map.
&
• Exit to view download and upload code when moving data between OS/390 and NT
Click to edit Master title style
Glassick Pty Ltd
Dynamic Web Reporting – Internet
• In production since September 1999• Rewritten as a metadata driven
application in 2000• Intention was to simplify creation of
new information products and subsequent ongoing maintenance
• Currently on NT• Currently produces dynamic tables
and charts• Migration to mainframe possible after
resolution of performance problems
Click to edit Master title style
Glassick Pty Ltd
Web applications on OS/390 - Intranet
• Simple static reporting
– Write reports directly to a PDS or HFS path under the OS/390 Unix shell
– Easy report dissemination for HIC staff
– Default ODS settings produce acceptable format.
– Further enhancements easily added to existing code to include gifs and colours etc
Click to edit Master title style
Glassick Pty Ltd
Web applications on OS/390 - Intranet
• Dynamic performance reports
– Performance data bases (PDB’s) defined to the SAS/Inrnet server (RMF data)
– Form coded and placed in HTML dataset– Can select reporting period and variable– Allocates required PDB’s– Produces charts for all systems in
Sysplex– Quantity of data increases reporting
time– Suitable for internal reporting
Click to edit Master title style
Glassick Pty Ltd
Web applications on OS/390 - Intranet
• Exit to HTML output for RMF reports
Click to edit Master title style
Glassick Pty Ltd
Web applications on OS/390 - Intranet
• Search and update facility– 3 separate databases containing participant
names– Ability to search on names and ID numbers– Ability to update and withdraw participants– Ability to add new participants
• Stateless. Each page• SAS program interprets variables passed
via the CGI and acts accordingly.• SAS code writes out standard headers and
nav bar prior to writing output to _WEBOUT• 1 click Switching between databases,
search, update and add.
Click to edit Master title style
Glassick Pty Ltd
Web application exit
• Exit to Screen shots of web application
Click to edit Master title style
Glassick Pty Ltd
SAS/Connect
• Spawner installed for SAS/Intrnet and SAS/Connect
• Spawner initiates a started task address space under connecting userid.– Inherits RACF authority from userid– Feels more stable than TSO– Increases productivity
• Removes the need to connect to OS/390 via a TSO address space
• Currently using socket services• Load manager and pool services
Click to edit Master title style
Glassick Pty Ltd
Emailing from SAS
• Not working at HIC on OS/390still investigating!!!!
• EMAILHOST= <server>
– Default = localhost• EMAILSYS= MAPI | VIM | SMTP
• EMAILPORT= <SMTP port number>
– Default = 25
• FILENAME fileref EMAIL 'address' <email-options>;
Click to edit Master title style
Glassick Pty Ltd
Features with V8
• Long variable names
• Long dataset names
– Provides self documenting programs?
• File statement options
– DLM=‘,’ – simple creation of CSV files
Click to edit Master title style
Glassick Pty Ltd
SAS System Options
• Validvarname=<V6>
– Handy for “bodgy” old PROC SQL code
• Datastmtchk=<Corekeywords>
– Prevents possible loss of data due to a slip of the finger
Data extract set bigdasd.very_large_dataset; sas statements…….; run ;
Click to edit Master title style
Glassick Pty Ltd
New SAS Functions
• DINFO
• DOPEN
• DOPTNAME
• DOPTNUM
• FOPEN
• FCLOSE
• FDELETE
• FEXIST
• FILENAME
• FILEREF
• FILEEXIST
• FINFO
• PATHNAME
• MOPEN
• FOPTNAME
• FOPTNUM
• LIBNAME
• SYSGET
Click to edit Master title style
Glassick Pty Ltd
SAS Commands
• Interactive SAS commands new since 6.09E– DSINFO– FILENAME– FNAME– LIBNAME– MEMLIST– HOSTEDIT
Click to edit Master title style
Glassick Pty Ltd
Features coming with V8.2
• COMPRESS= SAS will determine if the resulting compressed file will be larger than uncompressed. If so a message will be issued and the file will be uncompressed. V8.2 only
• Bulkload= Calls a DB2-specific bulk load facililty in order to insert or append rows to a DBMS table. V8.2 only
• Improved file compression when using proc upload or download V8.2 only