Home > Data Center Tips > > Essential tools for mainframe operation and management
Data Center Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Essential tools for mainframe operation and management


Robert Crawford, Contributor
09.12.2008
Rating: -3.50- (out of 5)


IT infrastructure news
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


If you've been in the mainframe business for long enough you have a set of favorite tools to help you work better, faster and hopefully smarter. Here's a list of my favorites.

Cut and paste
This may sound silly, but those of us who started with dumb terminals back in the 1980s remember that looking for a dataset used to work like this:

  1. View an online catalog listing.
  2. Find the dataset you want in the listing and carefully write down the name.
  3. Go to Interactive System Productivity Facility (ISPF) browse and type the dataset name just copied down.
  4. Read the "dataset not found" message at the top of the panel.
  5. Carefully retype the dataset name exactly as written.
  6. Sigh in despair at a second "dataset not found" message.
  7. Go back to the catalog listing and repeat step 2.

Hardly a week goes by when I don't wonder to myself how I got along before cut-and-paste.

Horrible spreadsheet format (HSSF)
Now that I've mastered cut and paste, I seem to spend a large amount of my professional career cutting and pasting figures from reports into spreadsheets. Not only is this cumbersome it won't work for automated reporting jobs. HSSF, a set of Java classes able to read, create and modify Excel spreadsheets, can help.

Because it's Java, the classes port easily to the host. Once there, an HSSF program can become part of a batch job that extracts, for instance, performance data, inserts it into a spreadsheet to be saved in a UNIX system services (USS) hierarchical file system (HFS) directory. Then the spreadsheet can be shared with through the mainframe's HTTP server or SAMBA.

HSSF is part of the bigger POI project which also includes classes for creating MS Word and PowerPoint documents. See the Apache POI project web site for more details.

Statistical analysis system (SAS)
SAS is not for the faint of heart. The software expensive and it can be very resource intensive. Its quirky language looks like PL/1, but it's not, and it takes a while to get the hang of using "procedures" (PROC) instead of programming logic.

On the other hand, the rewards for SAS implementation are tremendous. Properly summarized and maintained data can provide valuable information in very little time. My favorite example job contains five lines of code that tells me how many times our production regions went short-on-storage in July 2007 in less than five minutes.

The scope of SAS can be daunting. There are dozens of PROCs able to analyze and produce just about any statistic you want. SAS also has extensive presentation services, from green screen to HTML, and data warehousing facilities.

You can mitigate the cost of SAS through familiar tricks such as running in on the smallest processor you got. The SAS institute sells the software by component so you can just buy the pieces you need. If the mainframe version is too dear, SAS runs on UNIX and Windows if you don't mind porting the data. Visit their website at www.sas.com.

MXG
MVS' System Management Facility (SMF) is a rich source of performance and resource utilization data. However, one look at the record layouts and the sheer volume of data puts off a lot of programmers.

Merrill Associates provides MXG for taming SMF data. MXG is an enormous collection of integrated SAS macros and programs along with excellent documentation on performance tuning and capacity planning. Note that SAS must be purchased separately.

MXG makes it simple to collect any and all SMF data into SAS files. There are also facilities for merging record types together, such as type 110 CICS monitoring facility (CMF) records with DB2 accounting data. In addition, the installation datasets provide documentation of MXG's structure and macros allowing very granular control of what data gets collected and when.

Lastly, Merrill Associates serves as a model to other software vendors. MXG's price and licensing terms are very reasonable. The company is also responsive the problems and suggestions of the active user community.

Restructured extended executor (REXX)
Assembler may separate the men from the boys, but REXX will save your bacon. Do you have to collect one column of data from a huge variable format report? Do you need a quick and dirty ISPF panel for application programmers to submit compile jobs? Do you need to be able to figure out a 3270 column and row based on 3270 set buffer address (SBA) orders? Write it in REXX.

REXX is incredibly flexible and almost scary in its extensibility. Its powerful text processing functions make it a breeze to parse reports. REXX avoids some of the pitfalls of other languages (such as data typing) while providing some unique features of its own (stem variables). It also runs well in batch. Extending REXX is easily done either through function packages or just by calling the program you want.

I have a couple of small quibbles with REXX. First, the I/O model is awkward, although you do have the ability to load the entire file into memory which makes subsequent processing easier. Second, if you don't have the compiler, REXX is interpreted which chews up more resources. But, on the whole, I would not want to do without it.

ABOUT THE AUTHOR: For 24 years, Robert Crawford has worked off and on as a CICS systems programmer. He is experienced in debugging and tuning applications and has written in COBOL, Assembler and C++ using VSAM, DLI and DB2.

Did you find this helpful? Write to Matt Stansberry about your data center concerns at mstansberry@techtarget.com.

Rate this Tip
To rate tips, you must be a member of SearchDataCenter.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Mainframe operating systems and management
CA announces Mainframe 2.0
Should you deploy a Linux-only mainframe?
Use DFHLS2WS to expose CICS applications as a Web service
Sun OpenSolaris available on the IBM System z mainframe
IBM welcomes z10 mainframe's new sibling to the family
Using IBM IPCS to battle software bugs
On the path to ubiquitous Intel, Unisys refreshes ClearPath mainframes
The future of the mainframe in healthcare: Two scenarios
CICS and Web services: Ready to go
Mainframe application modernization: Web services aren't the only option

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
epoch  (SearchDataCenter.com)
ISPF  (SearchDataCenter.com)
job  (SearchDataCenter.com)
Job Entry Subsystem  (SearchDataCenter.com)
job scheduler  (SearchDataCenter.com)
job step  (SearchDataCenter.com)
MVS  (SearchDataCenter.com)
P/390  (SearchDataCenter.com)
Remote Job Entry  (SearchDataCenter.com)
z/OS  (SearchDataCenter.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



White Papers - Data Center Networking

The Intel IT Technology Center - Power, Performance and Mobility Solutions

HomeNewsTopicsITKnowledge ExchangeTipsBlogsMultimediaWhite PapersEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2005 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts