Main Page

Get e-mail announcements

NEMUG Newsletters

NEMUG Services

Become a NEMUG Member

Directions to NEMUG Meetings

NEMUG Corporate Sponsors

NEMUG Executive Board

NEMUG Newsletter

December, 2002, Articles


Board Meetings

NEMUG Executive Board Meetings are open to anyone to attend. Your presence and views are welcome at any time. The meetings are held on the second Monday of even-numbered months, at the office of Henry Elliott in Wellesley. We try to get started at 6:00 pm. Dates for the next few meetings are:

  • 2/10/03
  • 4/14/03
  • 6/9/03
  • 8/11/03
  • 10/13/03
  • 12/8/03

If you are planning to attend, please let a board member know in advance, as we provide food and eat as we work, and need to be sure we have enough for everyone. The complete address for the meetings is:

Henry Elliott and Company Inc.
One Washington St. Suite 208
Wellesley, MA 02481

back to the top

From the Chair

We on the NEMUG Board are continuing our quest to make our organization what you want it to be, and to that end are working to understand your needs and to respond to your preferences. In order to serve you most effectively, we are LOOKING:

  • For Board Members. Our bylaws call for the presentation of candidates for office at the March meeting, so we are setting up a Nominating Committee now in anticipation of this. Ken Wagner will chair the committee, and he will be looking for people to help him find folks willing to serve on the Executive Board. If you are interested in working with Ken on this, please email him at kwag@henrye.com.
  • For your Opinions. We've been talking about what topics to present at meetings, and whether Microsoft's new location is easy for people to get to, and it seems to us that we need to know what you think about these things. At the January meeting, we will have a short survey to hand out on which you may tell us what you think about these things, and anything else you think we on the Executive Board need to know.
  • For Speakers. Last time I mentioned the idea of presentations from large users of M as one meeting topic we are considering. If you represent such an organization, or have a contact at one, please let a board member know who we might contact. Also, we are looking for folks to come and talk at the May meeting, which we hope to make a technically-oriented 'how-to' session similar to the November meeting. Here's what's on our upcoming meeting schedule:
    • March, 2003. "Highlights from DevCon 2002". InterSystems' Developers Conference this year will be held in February, in Las Vegas. Among other things, it will be a celebration of 25 years in business, and we expect there to be new announcements made there. For those who cannot attend, NEMUG has invited InterSystems to come to the March meeting and share highlights of the conference and product announcements with us.
    • May, 2003. "Web Services for MUMPSters Like Me". Our aim here is to have another how-to session, this time around web services for MUMPSters who find themselves in the position of needing to learn how to integrate M with Web technology. We'd like to have one or more presenters who have experience in this area, and are open to suggestions from the membership.

One last note on the January meeting: Please be sure to email Ben Hurley (bhurley1@partners.org) if you are going to be present at the buffet dinner. If you can't make the dinner at 6:30, feel free to arrive in time for Jeff Harrow's presentation at 7:30 pm. More details about the meeting are elsewhere.

Marilyn D. Paterno, Chair

back to the top

November Meeting: Object Representation of Globals: Mapping Made Easy

Dave Hackett demonstrated how to map classes to long lived global structures. First he presented an overview of Cache Storage. In a hands-on demonstration Dave used an example of a legacy global structure to demonstrate mapping. The definitions of storage in Cache %Library Class definition documentation of Caché.

  1. %CacheStorage - the default storage method
  2. %CacheSqlStorage - the storage method we will use. It includes embedded SQL statements
  3. %CustomStorage - contains empty storage interface methods

He demonstrated mapping using legacy globals. Try it yourself:

  • In order to start mapping you need to first set up some classes with properties.
  • Once you have set them up you go in and find the Data Map. You do this by looking in the Studio Class Inspector.
  • In the dropdown box go to Storage. Right click to make a new storage in wizard.
  • Select CacheSQL storage. Once you have finished the wizard, the new Storage comes up in the Class Inspector with the Name you gave it.
  • Still inspecting Storage in the Class inspector look under Name.
  • You will find DataLocation. You can type new storage in Manually in DataLocation.
  • Once you have made a new map you can look at it and change it in the SQL Storage Map field in the Storage inspector, you can click on Map1> and add a storage location.
  • When you click on the default and will get open up a window with fields to enter the specifics of your legacy global structure including Name of map, Type of map (for example: data), exact Name of Global, Node Structure, ($List or $Piece). You will find that you can manage it like you do files, open up at a "+" sign to find further detail.
  • In Storage you can select the data pieces. On the left is the structure, on the right is the field to define. There is a place to define delimiters for a data element within a map. You can type in "," or "\" or what ever you wish, including $c(22) for the $ListBuild standard delimiter.

Setting up relationships.

Once you create the parent the child is automatically set and vice versa.

After you have defined storage to legacy globals you can see how this changes the classes. You can view Storage methods in the Class Editor but first you must display them.

  • First open the class you wish to view.
  • Then click on the View button located in the toolbar.
  • In view you select View Storage.
  • Once you have clicked on View Storage, the class displays the methods at the bottom of the Class Editor.

~ submitted by Heidi Pape Laird

back to the top

For more information about NEMUG, contact: Gardner Trask at gtrasknemug@gt3.com or call him at (978) 774–1338.

Last Updated: 12-July-05