INSIDE! REPORT FROM THE 25TH INTERNATIONAL SPECTRUM CONFERENCE & EXHIBITION $7.00 U.S. INTERNATIONAL
® SPECTRUMTHESPECTRUM BUSINESS COMPUTER MAGAZINE MARCH/APRIL 2006 • AN INTERNATIONAL SPECTRUM, INC. PUBLICATION NewNew LeadershipLeadership VisionVisionandand forfor InternationalInternational Spectrum Spectrum PLUS! The first in a series: Business Knowledge for Programmers — Inventory
INTERNATIONAL
® SPECTRUMMARCH/APRIL 2006
INVENTORY FOR PROGRAMMERS (PART I) Sometimes knowing 40 how to do something is the easy part. Knowing what to do is a bit more diffi- cult. In this first article of a series, Charles gives us an overview of the inventory process. BY CHARLES BAROUCH
MY BLOG SPACE When you’ve written as many articles as Mel has, NEW LEADERSHIP you itch to try a new format. Mel cautions us about the business issues related 6 FOR INTERNATIONAL 10 to blogs, then announces what he intends to be up to next. BY MELVIN SORIANO SPECTRUM So who is this new guy, and what is he going to do to our Spectrum? Find out what HIGHLIGHTS FROM SPECTRUM ’06 Didn’t make it to the 2006 the new Chairman of International 21International Spectrum MultiValue Conference and Exhibition? Here’s a recap Spectrum plans to pursue. of the events with a few pictures. Are we trying to entice you to come to the 2007 Conference? But of course! BY SHANNON STOLTZ
INTERVIEW WITH INTERSYSTEMS InterSystems, the makers of 32 Caché, are the newcomers to the MultiValue marketplace. We caught up with Robert Nagle, Vice President of Development for a conversation. This is a new take on a mature market.
MIDDLEWARE METADATA AND MULTIVALUE It’s all about DEPARTMENTS 36 the data. But you have to talk about the data. And the data about the data is the metadata. Robert clears up this issue and explores the developments of metadata 3 From the Inside and its impact on our MultiValue way of looking at the world. BY ROBERT HOUBEN 25 Feedback 26 Newsmaker USING THAT TRIGGER FINGER Mike shows you how to use 28 New Products 14 Modifying File Systems. Make that application do things the way you’ve always thought it should be done. BY MIKE RUANE 47 Clif Notes MVCMS — OPEN SOURCE BACKED BY MULTIVALUE International Spectrum and MultiValue 30 TECHNOLOGY MultiValue and OpenSource take on the world of Web is a registered trademark of International Content Management. There’s a new project in town. BY CHARLES BAROUCH Spectrum, Inc. All other registered trademarks and trademarks are the property of the respective trademark holders. DATABASE CHALLENGE Take a look at the specifications for the 42 2006 MultiValue Application Database Challenge. Seems straightforward enough? Then you should have signed up. We will look forward to your entry next year!
BY CINDI HART
INTERNATIONAL SPECTRUM MARCH/APRIL 2006 3 FROM THE INSIDE INTERNATIONAL
by Nathan Rector SPECTRUM® MARCH/APRIL 2006 e had a good show this year in Long Beach. There was a lot of Wactivity and many new products. I NATHAN RECTOR also talked with a lot of you at the President show. Many of the questions that I was asked dealt with the market- CLIFTON OLIVER place, such as “Where do I think the Managing Editorr market is going?” and “Why did you purchase International Spectrum?” I talked with many of you one- TECHNICAL ADVISORY BOARD Henry Eggers, Independent Consultant on-one, but I thought it would be a good idea to talk to everyone else in case you were as curious as the people that cornered me throughout the show. Tim Holland, Holland Consulting Most of you know, I’ve been in the marketplace for many years, despite the fact that Bruce Johnson,Tag Consulting many people complain that I don’t look more than 25. I remember the old Spectrum Ronald H. Jones, Ron Jones Consulting shows in the 1980s that had thousands of people and the days when the vendors of mini- Nathan Rector, Natec Systems computers showed off the number of concurrent terminals their systems could run. I Bryan Shumsky, Revelation Software started writing for Spectrum magazine and speaking at the shows in the early 1990s, and Melvin M. Soriano, Eagle Rock Information Systems I started exhibiting in the late 1990s. So as you can see,I’ve been around for a few years and have actually been on just about every side of the market: End User, Consultant, Presenter,Vendor, and Exhibitor. MISSION STATEMENT International Spectrum magazine’s editorial mission is to be the premier independent source of When I started looking at purchasing International Spectrum, the first question that my useful information for users, developers, and resellers of MultiValue wife asked me when I told her about it was: “Where is the market going? Will it still be database management systems, open systems business database solutions, and related hardware, software, and peripherals. Published around in 25 years?” My first reaction was a resounding “YES,”but then I had to think about bimonthly, International Spectrum provides comprehensive coverage of it.Why do I have such a strong feeling that things will stay around for the next 25 years? the products, companies, and trends that shape the MultiValue market- place as well as the computer industry at large — helping its readers get The first thing that came to mind was some PowerPoint slides that Gus showed me back the most out of their business computer systems. in 2002. He had put together some slides that showed the businesses that used MultiValue. Those slides showed me solid facts that supported my feeling unto that point. Some of the companies on those slides that I still remember are: DataTel, Epicor,WalMart,ADP,EpiTech, Reynolds and Reynolds systems, Intuit Eclipse, PetCo, Blue Cross, Marriott, and it went on and on.There were about 58 prominent companies on that list. The next thing that came to mind was the fact that the Long Beach Show was the 25th MV.ENTERPRISE Mentor Pro anniversary show.Look around you a little at the other computer shows.The 25th anniversary MO/E MULTI show makes International Spectrum the longest running computer trade show in the US. Verse Native PICK The next thing I found interesting was the number of DIFFERENT verticals our mar- ketplace has. Granted, this is nothing unique in a database market But I still found the PCVerse PICK OA
diversity interesting.There are about 89 different verticals out of the 10,000 subscribers tm to the International Spectrum magazine, in 55 countries. Some of these are: Power95 • Medical Billing • Wholesale Warehousing • University Administration R91 REALITY • Hospital Management • State and City Government • MRP • Document Images • Accounting • ERP AP/PRO • Retail POS • Aerospace • And the list goes on • Construction RPL
Why is this important to me? Well,it shows that the vertical solutions providers can adapt MV•BASE to the business market to provide solutions to new emerging markets quickly and easily.You all know that it takes less time to create, install, maintain, and administer a MultiValue appli- International Spectrum is published six (6) times per year at the subscrip- tion price of $40.00 U.S. in the U.S.A.; $45.00 U.S. in Canada and cation than something written in another database. Mexico; $50.00 U.S. for other countries. Single copy rates are $7.00 Well,this ease of development has caused MultiValue applications to show up in just about U.S. in the U.S.A. and Canada, and $9.00 U.S. in all other countries. International Spectrum is published by International Specturm, Inc., 8956 any vertical market.That is a strength that many companies can’t boast of. Fox Drive, Suite 102; Thornton, CO 80260; Tel: 720/259-1356; Fax: That last thing I would like to point out before signing off is that we have 10,000 active 603/250-0664 E-Mail: [email protected]. Copyright 2006 magazine subscribers. When I term active subscribers, I’m referring people that have International Database Management Association, Inc. All rights reserved. Reproduction in whole or in part, without written permission, is prohibited. resubscribed to the magazine or has attended a show since 2001. If I take that back to 1994, when I first started giving presentations at the shows, that number jumps to 47,000 PRINTED IN USA • ART AND DESIGN: CP Design; 619-246-6878; San Diego, CA individuals that have received the magazine in the past. That being said,Gus has done an excellent job of building a foundation for me to work NEWS RELEASES/UNSOLICITED ARTICLES International Spectrum is eager to print your submissions of up-to- the- from. I’m very grateful for that and wish Gus well in his retirement. Now it’s my turn to minute news and feature stories complementary to the MultiValue market- help the MultiValue marketplace through the next 26 years… I have to top Gus before place. Black and white or color photographs are welcome. Although there retiring myself. is no guarantee a submitted article will be published, every article will be considered. International Spectrum retains all reprint rights.
— NATHAN RECTOR, PRESIDENT, INTERNATIONAL SPECTRUM — International Spectrum is a registered trademark and MultiValue is a trade- mark of International Spectrum, Inc. All other registered trademarks and [email protected] trademarks are the property of the respective trademark holders. 4 INTERNATIONAL SPECTRUM MARCH/APRIL 2006
BY SHANNON STOLTZ New Leadershipand
After 25VISIONfor years at the International helm of International Spectrum, Gus Giobbi Spectrum has stepped down. At the International Why Sell Now? providers are in great shape and most significantly, the continued suc- When asked why they decided to sell, Spectrum show in Gus Giobbi explained, “It was time. cess of IBM’s U2 group bodes well March, Gus and Monica After 25 years, [International Spec- for the future.” trum] needed someone to take a fresh Giobbi announced the Nathan Rector agrees,“The MultiValue look at where Spectrum and the Multi- market is positioned for growth. I look sale of International Value market could be improved and forward to aligning International Spec- advanced.” Spectrum to Nathan trum with the growth and vision of A year ago, the Giobbis’ put the word the market.” Rector of Natec Systems. out that they were looking to sell. Sev- Nathan has distinct plans for making Nathan Rector may be eral parties expressed interest, but dis- that happen. At the International spec- cussions stalled. “When Nathan ex- the new owner of trum show in March, he unveiled his pressed interest in exploring the acqui- three-year plan and goals. “Gus and International Spectrum, sition, we immediately liked the idea.As Monica have laid out a solid founda- a long time writer for the magazine and but he is not a new tion to build on.I’m looking forward to featured speaker at many Spectrum taking it to the next level,”he said. face. Known for his shows, Nathan seemed the ideal candi- date to move Spectrum forward to new International Spectrum An Industry Portal achievements,”said Gus Giobbi. The first changes have already begun. show presentations and This month a new International Spec- magazine column, A Vision for the Future trum web site launched. “I wanted to Citing Nathan’s relative youth and update the International Spectrum web Nathan Rector has industry knowledge, Gus Giobbi site to be more of an industry portal, shared his MultiValue expressed his confidence in the new where users and consultants can find owner. To ensure success, Monica information, read white papers, register knowledge with Giobbi is staying on to “provide meet- for webinars, and access back issues of International Spectrum ing planning and business continuity the magazine and the E-xtra Spectrum services to Nathan.” Gus is stepping newsletter,”said Nathan Rector. readers since 1993. aside completely so Nathan Rector can At the moment, the web site is a work- “effectively take over the leadership role” at International Spectrum. in-progress. However, visitors will notice one new feature: Surveys. According to Gus Giobbi,“The timing Nathan explained, “Our readers are of this sale is perfect…, the MultiValue important.To provide information that market has been on an upswing in is valuable and helpful to them, we the past three years. All of the key need to know what tools they are Continues on page 8 6 INTERNATIONAL SPECTRUM MARCH/APRIL 2006
New The 2006 regional show schedule includes Cincinnati, Ohio; New Jersey; Seattle, Washington; and Clearwater, Leadership Florida. Main shows will be held in X Sydney,Australia and Long Beach, Cali- and fornia. Florida is a new location for the regional International Spectrum show, as the user group in Florida is no VISIONContinued from page 6 longer putting on their own show.
using, what they are interested in, how information that helps our readers solve Industry Marketing they are using their MultiValue systems. practical problems as well as stay up-to- Materials date with industry news.” We need to get to know our readers bet- Another avenue on the International ter.” Nathan Rector also has expressed Spectrum’s three-year plan is to develop this desire to hear from More Training materials for the MultiValue community his readers and audience Opportunities to educate the general public about at the International Spec- Along the same theme, MultiValue systems. Initially, copies of trum show, where he “The webinars are also on International Spectrum magazine are invited interested audi- Nathan’s list of enhance- being made available to consultants ence participants to ments. “When Spectrum and VARs who want to give copies come talk with him. MultiValue began offering webinars away at their booths at vertical trade market is last year, those who can’t shows and conferences. However, the Changes at the make it to a show gained vision is much more than this. Magazine positioned for a great resource. Entire “We’d like to develop the Multivalue.org At the magazine, change shops are sharing a con- website into a marketing tool for the began two months ago growth. I look ference room to listen in MultiValue marketplace,” said Nathan when long-time editor on the training webinars.I Rector. The vision includes access to Nichelle Johnson stepped forward to want to expand the webi- industry marketing materials, a Rent-a- down to pursue her nars to include free ven- Coder service, and a Consultant Find teaching career. “As a aligning dor product demos and database. writer, I worked with more training content,” Nichelle for twelve years. International shared Nathan Rector. A Fresh Vision and She did a great job and New Resources will be missed,” said Spectrum The “more training con- Nathan Rector. tent” theme continues in With the plans and goals laid out, the Nathan’s plans for the new International Spectrum team has Replacing Nichelle is with the growth regional and main Spec- its work cut out for itself.The goals for Clif Oliver, another long- trum shows. “This year the first year are aimed at building show time consultant, speaker, and vision of we’re focusing on the attendance, increasing webinar partici- and writer.“Clif brings a pation, and building the new Interna- expanded show sched- comprehensive back- the market.” tional Spectrum web site. With the ule already planned, but ground to Spectrum. He MultiValue market on an upswing, a going forward, we want knows the industry and new leader at its helm,and experienced to include more training the publishing business. staff on board, the new International presentations at the shows, particular- His writing, training, and editing expe- Spectrum company is posed to offer the rience as well as his technical expert- ly the regionals,” explained Nathan MultiValue community new and ise will be a great asset.” said Nathan Rector. expanded resources, based on the solid Rector. “Show participants have expressed foundation Gus and Monica Giobbi so aptly built. is Readers can look forward to increased interest in more training opportunities technical content, book reviews, and for technical staff and more seminars two new columns — Clif Notes written and case studies aimed at non-techni- SHANNON STOLTZ is a freelance by editor,Clif Oliver,and From the Inside cal and management personnel.We are written by publisher, Nathan Rector. looking at offering multiple seminar writer specializing in business and “We’re expanding the magazine’s base tracks at future shows and at other of writers and adding more technical ways to add value for show partici- technology. She can be contacted articles to the magazine,” said Nathan pants. We’re open to feedback.” said Rector,“We want the magazine to share Nathan Rector. at [email protected].
8 INTERNATIONAL SPECTRUM MARCH/APRIL 2006 Gain Secure, D3 Easy Access to XMLjBase Reality .net Your MultiValue mvBase Data from mvEnterprise Windows UniData/UniVerse & More or Java SOA Environments .net Data Access Products Built on Standards New! ADO.NETODBC New! ReportingJDBC Services OLEODBC DB 2 MVJDBCSQL OLE DB onware.netMV2 SQL
Future-proofXML Your MultiValue Systems • Web Transactions • Independent of database vendor or version • SOA – Web Services • Avoid forced version upgrades • Easily integrate with non-MultiValue systems • Database Integration • Extend.net MultiValue systems with non-proprietary reach • Reporting Solutions
FUSIONWARE CORPORATION I www.fusionware.net I tel: 866.266.2326 [ Webonomics 101] My BY MELVIN SORIANO SpaceBlog Lookatme, Hereiam, Listenifyoucare
BLOG. It sounds so icky. As with other 2nd generation Internet terms, it’s a contraction of other words That led to two separate developments (1st generation was prefixing every word with “i”or “e”,as that overlapped somewhat and are in e-Commerce). Blog stands for web log, an online diary or today bleeding back together. First was article that is frequently added to and edited. the rise of columnists writing on their own web sites. With the strong public Blogs often have random philosophical be indexed, googled, browsed, and fol- interest in politics, society,celebrity,reli- thoughts,opinions of the day,and rants. lowed. It means that those with the gion,and music,regular people began to Perhaps 100,000 new blogs are appear- biggest e-mouths are able to get their put down their favorite ideas and ing each day. Forbes estimates that feelings and ideas out to anyone willing thoughts, with links to the writers, nearly 20 million are now online. You to listen.And it’s altering the way peo- pages,and opinions that reflected them. can be reasonably sure your employees ple exchange ideas. That’s because and relatives are among the millions of blogs are also influential. The other development was the rise of bloggers out there—not just while at Friendster and MySpace.Young people There was a day when you had to sub- home, but while they are at work. around the country began to document scribe to newspapers, journals, and their interests,friendships,dates,family, Clearly blogs are popular. That’s magazines in order to get current because a blog is an entirely different news, commentaries, and editorials. jobs, and hobbies in web sites with animal. Yes, a blog is an online diary. News made the huge jump to the Inter- appealing templates. An individual Yet, unlike those worn books locked net early on, but those other aspects of could take these basic templates and and hidden under mattresses of yester- journalism lagged behind. easily add custom graphics, pictures, year, these writing efforts are public. music, text, and links.They link to each The first foray into the exchange of Very public. Musings and blatherings other,too, creating virtual communities opinions started on personal web sites. are laid down on virtual paper,but with rather quickly. Students communicate After years of looking at pictures of pets, the wonders of the Internet allow and with their classmates; long distance children, and vacations, people started encourage one’s opinions, longings, friendships can be sustained with a to rethink their web efforts. It frequently regrets, and experiences to be shared combination of these personalized took too much time, and most people with the entire world. web pages and online chat. simply do not have the hardware,graph- So unlike the secretive, paranoid world ic software, skills, and talent to develop It’s the equivalent of a vanity license of personal diaries, blogs are meant to pages that represent them well. plate. Continues on page 12
10 INTERNATIONAL SPECTRUM MARCH/APRIL 2006
• Act like an academic journal and cre- sonably be seen as speaking for the com- ate a self-edited group.You can draw on pany, the employer bears some liability My excellent writers to places like Huff- for the employee’s flames. ingtonPost.com. After a well-docu- Blog So, like your e-mail and web surfing reg- mented accident, HuffingtonPost was Space ulations, you should develop for your Continued from page 10 able to pour out dozens of articles company better rules regarding blog and still come out with a Hunt-With- You get to let the world know what reading and writing.Here are a few ideas. Dick-Cheney online game in less than you listen to. You can search out who 24 hours. • Be sure blogs are added to your else listens to what you listen to and employee acceptable behavior rules get a feel for your personality.You could • Redo the blog as a that dictate appropriate read a listing of musical likes and type of online maga- e-mail and Internet use. decide whether you’d enjoy chatting or zine with editors and keeping up on this person. For exam- other traditional hier- Be sure blogs • Ban disclosure or dis- ple, in the last month, I saw Mamma archies. cussion of confidential Mia, the Trojan Marching Band, and information for blogs, as Madama Butterfly; I sang Matthias, And what is the effect are added to you would for e-mail. of all this on regular Moses Hogan,Gretchaninov,and Taize;I • Disallow any unap- karaoked to Beatles and Eagles; and I businesses? Well, first one must recognize your employee proved use of trade- XM’d and iPod’d to the 80’s, Bette, marks and logos. Phantom, Babs, and South African that blogging repre- ryhthms. A MySpace website or blog sents a significant a- acceptable • Make it clear that blogs would definitely allow similarly minded mount of time both on represent the employer oddballs to monitor my activities and those who write so as well as the employee. perhaps get ideas for things to listen to much, but also those behavior rules Customers and competi- or laugh about. who can’t resist reading tors are to be treated about others’ opinions. with the same respect as And although blogs primarily share they would be treated in And you thought it that dictate ideas and opinions through words, a non-blog setting. MySpaces mostly shares ideas and opin- was tough keeping ions through music. It’s a generational your employees from appropriate • Mandate that employ- divide that doesn’t matter, since the doing personal shop- ees who maintain blogs web can handle both cohorts. ping and, er, adult must state that the web surfing at work. e-mail and views they express in Of course, Webonomics 101 is about their blogs are personal Blogs, though, repre- money,productivity,and exploitation of and unrelated to the sent a special concern the Internet. And blogs are no excep- employer. tion to this guy’s eye.There seem to be for companies.They are Internet use. several business opportunities for pro- interactive, outspoken, So, just as I warned y’all fessional bloggers. public, and many times a few years ago about anonymous. Google it yourself: many this stuff, it’s time to add these few • Grow bigger and bigger then sell out major companies have some blog criti- extra items on your list of Internet con- to mainstream media. Many political cizing them for some reason or another. siderations. web blogs such as andrewsullivan.com And it’s not the customers you should have sold off to traditional media. Which, oddly enough, leads me to a worry about. final few comments. • Become a content supplier to a big Blogs allow disgruntled employees, Internet or media company. You then whether current or former, to trash any- Footnote in History **** encourage good blogging with popular body and any company. Moreover, you Columnists like me are used to writing writers and then deliver those words to also have the potentially frightening pos- a piece every so often, at the pressure the big guys. sibility that trade secrets and private data of a stressed out editor. For example, I • Go the route of cartoonists and star can be released to the world. Public cor- often take an idea that’s been perco- columnists. By syndicating, you can porations also have to worry about stock lating in the back of my head for the maintain your brand names and market and the laws that govern them. past several days, spice it for you and author’s independence. And,like e-mail,if an employee could rea- Continues on page 14
12 INTERNATIONAL SPECTRUM MARCH/APRIL 2006
QM, A New Approach PICK to MultiValue My PROFESSIONAL Blog Only $119 per user Don’t make the mistake of placing your career in the hands of just ANY Space 10 year upgrades just $30 search firm. We are professionals who Continued from page 12 Proven for 4 years understand the importance of CONFI- Thousands in use DENTIALITY and RESPECT of a job give you the chance to eat it up. Hope- U2/Prime Compatibility search, and our database of clients is D3 extensions one of the largest in the country. fully it’s tasty. Network Ready Unlike the rest, we will work in YOUR best interests’ to help you further your But it’s different now. And since Webo- Remote files career. Because of our dedication and Client/server API professionalism, we are recognized as nomics 101 has been going on for a Useful bundled items: the leaders in the PICK/UniVerse/Unida- dozen years, and with the changes at AccuTerm + GUI ta placement industry in the Tri-State International Spectrum, perhaps it’s Coyote Web Server area and throughout the U.S. So if you Companion GUI/Web 4GLs are tired of putting yourself at the time to groove to a different beat. So, mercy of the rest. OpenTPH $30/user with the next column, I thought I’d Neucleus $72/user CALL THE BEST! Contact... start to evolve along with the Net. Supported Platforms: Matt Hart Windows 98, XP Instead of going on about one specific Windows NT, 2000, 2003 EXECU-SYS, LTD topic, I’ll more likely touch upon sever- BSD, Linux 1 Penn Plaza, Suite 3306 al different Internet developments that OpenQM New York, NY 10119 GPL on Linux w/ source (212) 967-0505 caught my eye and made me think (800) 423-1964 x 302 about Webonomics. I’ll describe these Fax: (212)947-8593 topics and my thoughts. Give links. EasyCo.com Email: [email protected] Maybe talk about music. 800-470-2756 Consultants Needed Nationwide Yup. A blog.
So... until this experiment fails and I
INTERNATIONAL have to try out podcasting,hasta la vista Webonomics-circa-1994. Hola 2006.
® SPECTRUMSPECTRUMTHE BUSINESS COMPUTER MAGAZINE Mel Soriano (HTMMel aka XMMel) is - ™ extra MELVIN M. SORIANO Have you seen it? works at Eagle Rock Information Everyone’s talking about it, International Spectrum Systems (ERIS), an Internet e-xtra™, the new e-newspaper. Application Service Provider and WebWiz- Look for e-xtra, on the first and the fifteenth of each month. This e-newspaper has timely industry news, hot topic, classified ard/MultiValue Developer. ERIS has ads, and things of interest heard on the MultiValue grapevine. deployed enterprise-wide solutions on • Let us know what you’ve heard on the grapevine that you think we should look into. most MultiValue platforms and operating • Let us know what’s new at your company that you’d like other people to know! systems. HTM-Mel can be contacted at • Find out how to add e-xtra punch to your International Spectrum Magazine ad with a complementing ad in International [email protected] and visited at Spectrum’s e-xtra. • Take advantage of placing an inexpensive classified ad in www.eriscorp.com. You can always call International Spectrum e-xtra. him directly at ERIS’s Pasadena, Calif., Get your FREE subscription at www.intl-spectrum.com offices: (626) 535-9658. 14 INTERNATIONAL SPECTRUM MARCH/APRIL 2006
[REVELATION TECH TIPS] Using thatTrigger
NOTE: With the recent sale of Spectrum Magazine, all of us at Rev- elation Software would like to wish Gus, Monica and the rest of the crew the best Understanding Revelation’s of luck and thank them for the years of FINGER great service and support they’ve given MFS Technology us and the rest of the MultiValue community. We’d also like to take this What is an MFS and An MFS, being a subroutine, is written in opportunity to wish good luck to Nathan what does it do? OpenInsight’s flavor of BASIC called Rector, Clif Oliver, and the rest of their An MFS is nothing more than a subrou- Basic+. In OpenInsight there are two crew in this newest endeavor. We look forward to working with them for a long tine that can view and modify data just sample MFSs provided, and online at time to come. after it has been read or just before it www.revelation.com there is an MFS will be written to disk. It is at a level so manual available for download. The idea of a trigger in a database has low that it is just above the Base Filing An MFS can do that work that it can been around and practical for many System (BFS) in the chain of access from years now. The basic idea of a trigger is because it allows a developer to modify the operating system. In fact, Revela- that if an action occurs, another action one or more of a number of primitive tion’s U2 Connector mentioned in an must take place, automatically, without operations,such as READ,WRITE,DELETE, earlier article is an example of a BFS. any input from the user. In many cases a LOCK, UNLOCK, and many others--a total trigger is used to automatically update Specifically, a BFS is a of thirty-four in all. information in a database: tagging a program or series of In an MFS a devel- record with who last updated a record programs that provide oper can choose to and when they did so, logging all users in the interface between a system, and encrypting data are just a have the primitive few examples of actions that could take the physical storage of work as normal, place as a result of triggers. In the the data and the Basic+ work in a modified Revelation world, we use something programs that make way, or not at all. called a Modifying Filing System (MFS) to the file I/O requests. A This ability is what create our triggers. In this article we will BFS constitutes a filing makes an MFS so explore the theory, creation, and use of system. powerful. Because MFSs in an OpenInsight-based application. An MFS is an extra of the nature of the While writing an MFS is not for the layer between Basic+ beast, every action meek of heart, it can be done fairly and the BFS.The MFS that happens to a easily. Like writing any critical piece of monitors files activity, table can be moni- software, a good knowledge of and then passes file tored or modified. OpenInsight and Basic+ routines will let I/O requests, along an experienced developer gain Once an MFS is tremendous control over a system, with any data used by installed onto a whether it be for audit, security, or that request, on for table, a user cannot protection. further processing. get around whatev- er actions are triggered by it,whether data FIGURE 1- The flow from a program is modified by the Editor,a data entry win- or window to the OS and back dow,or an update process. Even trying to
BY MIKE RUANE, REVELATION SOFTWARE
16 INTERNATIONAL SPECTRUM MARCH/APRIL 2006 access the data from an external source, operations the developer want to hap- For example, on a delete, a developer such as ODBC or a .Net connector, will pen only the first time a file is accessed, can decide that only users logged in have to pass through the MFS.If the table this is the place to put that code. with a certain security level or user- is physically moved out of the system and name can delete records.The developer Next, the OPEN operation is called.The an attempt is made to access it, the lack can set an error status with a system rou- file is then checked to see if it has been of the MFS will cause all access to that file tine and the delete will not go through. opened before. to fail. Once an MFS has been written,it can be The LOCK is installed onto the file or files using the called next. SET_MFS command available at TCL. After the record has Before we start writing, let’s look at the been locked, the flow of an MFS. READ operation is invoked. When the Flowing through an MFS record has been modified, the user then FIGURE 2 - an Example of limiting saves it. The WRITE primitive comes Given that a developer has written an the DELETE primitive MFS with the functionality he or she next, and when it completes, the envisioned,and it has been installed onto UNLOCK primitive comes next. While the primitives mentioned above the file, we’ll discuss the flow through When you think about it, the primitives are simple enough to understand, some opening a record in the editor, changing are matching the steps that the develop- others are not necessarily so. Suppose a field name, and then saving it. er would follow if doing the same that you were writing a security MFS, and that this MFS let a user see only First, the very first time the file is processes. If the developer wanted to records that belonged to employees in accessed, a primitive called ‘INSTALL’ is do some work with any of these primi- their department. Rather than modify invoked. It is invoked only the very first tives, they would make the intercep- every report already in existence, or try- time that a file is accessed,so if there are tions at the primitive level. Continues on page 18
INTERNATIONAL SPECTRUM MARCH/APRIL 2006 17 create a named common variable for use Using that in the program.Figure 3 shows our com- mon in the program. Once the common variable has been set up, we need to open the BOOKS_BAK file in the INSTALL.We’ll try to open the Trigger file,and if the open fails,we’ll just let the common variable be null. Figure 4 FINGER shows the code. Continued from page 17
ing to limit what the user For the purposes of this exam- could do from TCL, it ple, let’s assume the following would be far easier and requirements: more secure to limit the The MFS will be put on only access with an MFS. In this one file, named BOOKS. case, a developer would 1 need to work with the Every time a record in the SELECT and READNEXT 2file is updated, fields 7 and 8 primitives, making sure that the data of the record (named LAST_UPDATE_ FIGURE 4 - the code change around passed back to the calling process DATE and LAST_UPDATE_BY respectively) for the INSTALL primitive received only the data that should be must be updated. received according to the security set- Whenever a record is deleted, we tings. It requires more knowledge, but it Some observant readers no doubt saw will first copy it to a file named is very,very powerful. 3 two other primitives in the screen shot BOOKS_BAK, and if we can’t, the delete above, and noticed that in the INSTALL is stopped. there is a variable named STATUS that Writing your own MFS Looking at the requirements, it appears gets set to TRUE, and that in the other As mentioned above, OpenInsight ships that only two primitives will need any primitives the code executes a gosub to with two example MFS shells.The first, changes—WRITE and DELETE. However, a label called NEXT.MFS.What happens named MFS_SHELL1 is an example of a we will also need to modify the INSTALL in NEXT.MFS requires some explaining. drop-through routine. The second, primitive to set up some variables and When a file is opened,the system does a named MFS_SHELL2, is an example of a do some housekeeping. Let’s start with bit of processing and creates an entry in case statement. In my opinion the case the INSTALL changes. a memory-resident table named SYSTA- statement is easier to work with, and is what I have used as a basis for all the Since the MFS code is run by the system BLES with information about that file. MFSs that I have written. It will be used every time one of the primitive opera- Some of the information stored con- in the examples in this article. tions is called, it must be very efficient. cerns the directory where the file For example, we don’t want to have to resides, the type of file, the account or The first thing to remember when writ- open the BOOKS_BAK file every time application the table belongs to, the ing an MFS is that just put putting an we do a delete; it would be much more name of the file at the operating system MFS on a table, the developer takes efficient to open it in the INSTALL and level, and a list of MFSs and BFSs associ- responsibility for all of the operations that keep the handle available to us in a com- ated with that table. Figure 5 shows the the primitives perform. In other words, mon variable. So, the first thing we do is entry for the BOOKS table. make sure that you only modify the parts of the MFS that you care about, and leave the rest alone. FIGURE 3 - The common statement in the BOOK_MFS
18 INTERNATIONAL SPECTRUM MARCH/APRIL 2006 and if that is successful, we allow the FIGURE 5 - DELETE primitive to be called. If it fails The SYSTA- BLES entry for we’ll generate a system error that will get the BOOKS file passed back to the user.Figure 7 show the simple changes needed in the code. And that’s it.All that’s left is to install the MFS onto the BOOKS file. That can be done by typing in the SET_MFS com- mand at TCL, which brings up the win- If we look at the values in field 4 of the So, back in our BOOKS_ MFS, when the dow seen in figure 8. In the window, entry, we see an @SVM delimited list of WRITE primitive is called, we want to Specify the Table upon which you want MFSs on the file.This is called the MFS update the LAST_UPDATE_DATE and to install the MFS, the name of the MFS chain. In this example, SI.MFS is used by LASTY_UPDATE_BY fields. All that’s you wish to install, and where it should secondary indexing, RIGHTDEX.MFS is required to do this is to modify the RECORD go in the MFS chain. In most cases, any used to maintain a sorted list of keys in variable that gets passed into the MFS auto- MFS you write should be added to the the file for quick lookup, BOOK_MFS is matically. Figure 6 shows that change. end of the chain. Continues on page 20 the code we’re describing now, and Finally,our last bit of RTP57 is the BFS used by OpenInsight’s tinkering in the MFS Linear Hash filing system. has to do with the When writing an MFS, there is placed delete. As specified upon the developer the responsibility in our requirements, to make sure that the next filing system, every time a record whether it is an MFS or a BFS is called is about to be delet- FIGURE 6- or skipped correctly. Knowing how to ed, it must first be Modification of control this flow is the most powerful written to the the WRITE primitive way of working. BOOKS_BAK table,
INTERNATIONAL SPECTRUM MARCH/APRIL 2006 19 Using that By tracking changes at the field level, indexes are maintained automatically. Trigger Some practical MFSs for your own use may be one put on a source code file to automatically put a time,date,and version CREDIT CARD INTEGRATION FINGER Continued from page 17 stamp on the code. Another may be an encryption MFS, Seamless Integrations into POS, where the data Order Entry and e-Commerce stored on disk is Single or Multiple Merchants encrypted and TCP/IP - Secure Internet Single or Multiple Modems looks like garbage Your Clearinghouse or Ours to systems other VAR Partnerships than the one with the MFS, which Visa MasterCard AMEX would also han- Discover Diners JCB dle the decryp- Debit Cards Custom tion. There are numerous pos- FIGURE 7 sibilities, limited only by your imagina- tion and customer needs.
1-866-796-7600 In Summary… [email protected] MFS, though simple in theory, are very www.TotaLinkcc.com powerful in practice.Writing an MFS, or trigger as they are known in other data- base technologies, can give a developer a tremendous amount of power,and can save huge amounts of work by doing that which a trigger is designed to do: take some action automatically as a ® PRC result of another action.Writing an MFS Get It Right From in a Revelation product is almost a rite the Source. of passage;nearly every top OpenInsight or Arev developer will have written one. Want control over the changes Hopefully, this article will whet your you make to your software? FIGURE 8 - The SET_MFS window appetite to have a go at it, or at least PRC can help you get it make it a bit less intimidating. Good right — and keep it secure. luck with writing yours! is For U2/MultiValue and At this point the developer should test SB+ environments the MFS thoroughly. We’ll leave that as an exercise for the reader. Problem Reporting MIKE RUANE is president Change Control Practical Uses of MFSs Project Management OpenInsight itself uses a number of Time Tracking and CEO of Revelation Software, devel- Test Management MFSs within the product. One used by every file, or rather dictionary, is called Deployment oper of OpenInsight. The company Rollback DICT_MFS and it does a tremendous Audit amount of work. can be reached at 800-262-4747 or SJ+ Systems Associates Another very useful and practical MFS is www.sjplus.com SI.MFS, a Revelation-supplied MFS used 954•796•9868 for OpenInsight’s Secondary Indexing. www.revelation.com.
20 INTERNATIONAL SPECTRUM MARCH/APRIL 2006 Highlights from Spectrum
The 25th Annual International Spectrum MultiValue’06 Conference & Exhibition
variety of speakers. Tuesday through Thursday evenings had special events, including a trip to the Queen Mary for the 25th This was just one part of the buf- Anniversary Reception. But even fet. With the way this gang eats, do with all hard work that goes into you have any idea With twenty-seven vendors from which to of the challenge in planning, organizing, and choose, there was something for everyone. getting a picture accomplishing an event this large, with nobody in line? a conference like this would not arch 7th through the 10th, be a success if it were not for the M2006, the 25th annual vendors, speakers, and especially International Spectrum MultiValue you, the attendees and supporters Conference and Exhibition was of International Spectrum. held in Long Beach, California. Twenty-five years. That makes International Spectrum the longest running computer trade show in the United States. We