Showing posts with label Virtual CICS user group. Show all posts
Showing posts with label Virtual CICS user group. Show all posts

Saturday, 19 May 2012

Making it look nice for CICS users

Let’s look at an archetypal MVS site. Kenny wrote most of the original Assembler and quite a bit of the COBOL code that drove the business all those years ago. He was a big man and a real hippie. He even came to work in his sandals and decorated his office with album covers. He thought that writing comments in code was just a waste of time. Doug, who took over from Kenny was an absolute troglodyte. Whereas Kenny was fun to go for a drink with – and boy could he drink – Doug was forever under the floor connecting high speed back-up technology that no-one else really understood. He was great because he’d help everyone with code problems, but he seldom turned up to meetings or understood the concept of budgets. But everything worked like a dream and the company made money.

Nowadays we’ve got Ross heading up software on our z/OS CICS system. He does attend meetings – lots of them. He’s on the committee at a local user group and he’s given presentations at SHARE. He’s even got a wife and children! The problem is that much of the code that Ross looks after is quite old and doesn’t have many comments. There was an effort in 1999 to document everything, but it’s now out-of-date since the SOA (Services-Oriented Architecture) project.

The trouble at many sites is that their Ross is kept very busy at the mainframe end of his CICS system and thinks that the bit of AJAX on the Web browser front-end is enough to keep the end users happy. The truth is, end users are never happy! So what if someone at a conference told Ross there was an easy way (well, perhaps not easy, but fairly straightforward certainly) to make the end user experience of his CICS applications look like it was written in 2012 and not 1912!?!? Do you think Ross would be interested?

Before we look at what this amazing solution might be, let’s briefly look at Web design. Back in 1999, a Web site was pretty much made up of static pages. Someone wrote the pages in HTML and, over time, people updated the information on those pages. Then we had PHP and MySQL. This provided a database that users could update as necessary, and the PHP pages pulled out the latest information. They still looked like static pages, but they were easier to update. Then, we had JavaScript that gave us programming capabilities and all the flexibility that goes with that. Then we had JQuery, which was JavaScript with all the hard work already done for us. You’ve seen Web sites with JQuery-like effects – the ability to click on a thumbnail image and see it large in the middle of the page while much of the rest of the screen is covered with a semi-transparent layer. An example would be clicking on a photo in Facebook.

So let’s tell Ross about the Dojo Toolkit from the Dojo Foundation. Now at Version 1.7, the Web site at http://dojotoolkit.org/ says: “Dojo saves you time and scales with your development process, using web standards as its platform. It’s the toolkit experienced developers turn to for building high quality desktop and mobile web applications.” Now, suppose there was some way to plug that into CICS. So while Ross was looking after the CICS applications, Dojo was making sure that the end users had a good experience.

The Virtual CICS user group (www.fundi.com/virtualcics/) heard from Stephen Mitchell, Managing Director of Matter of Fact Software Limited, earlier this month. He gave a talk entitled: “Utilizing the Dojo Toolkit for Web browser-driven applications from CICS”, which really got to grips with how CICS and the Dojo Toolkit could be integrated. The base functionality of the Dojo Toolkit is made available to a Web page by including a link to dojo.js. This includes plenty of features like CSS-based queries, event handling, animations, AJAX, class-based programming, and a package system that makes getting access to the rest of Dojo very easy.

There are additional stable (but optional) components for advanced animations, I/O, data, drag-and-drop, and much more with Dojo Core. Dijit is Dojo’s theme-able, accessible, easy-to-customize UI library. Dijit requires Dojo Base and various Dojo Core modules to use. It allows for the creation of widgets. For the more adventurous, there’s DojoX, which contains a number of sub-projects based on the Dojo Base. Each project has a varying states of maturity – from very stable and robust to alpha.

Stephen’s company recognized a need to control the Dojo Toolkit that was being used by their PlexSpy application status monitor product. And they decided that if it was an issue for them, it was most likely an issue for others. So they created a generic server solution that could be used by anyone with CICS on z/OS. As a consequence, the Dojo Toolkit has been taken into the mainframe environment and is served from CICS out of PDSs. This brings the strengths of the mainframe to sites using the Dojo Toolkit – providing the control over it that those sites needed.

Ross can now put his feet up at home with his family knowing that his end users are happy with their working environment. And the code Kenny and Doug wrote is still doing its job for another generation.

Sunday, 6 May 2012

If it's May it must be Madness

For the fourth year in a row, CA Technologies is hosting its free virtual trade show. As always, there are educational presentations to help mainframe users get more value from their existing products, and improve their technical skills. You can find out more and register by going to ca.com/mainframe/may. Last year’s event drew 5,000 registrants from 59 countries; and connected partners, industry experts, and colleagues via virtual booths and online chats.

MMM12 includes presentations by CA Technologies and leading industry experts including Julie Craig, research director, application management, Enterprise Management Associates; Jon Toigo, CEO of Toigo Partners, International LLC; Joe Clabby, president, Clabby Analytics; Craig Mullins, president, Mullins Consulting; Stu Henderson, president, The Henderson Group; and DB2 expert Sheryl Larson, president of Sheryl M Larson, Inc.

There’s also keynote speakers including: CA’s Dayton Semerjian; Dr Howard Rubin, President and CEO of Rubin Worldwide; Julie Craig, CA’s research director; Jon Toigo, CEO Toigo Partners; and Karen Sleeth, Senior Principal CA Labs.

From 1 to 31 May, CA claims it’s “the largest mainframe-focused event of its kind. Every weekday in May brings new insights, tools, and strategies to help you understand and maximize the strength and relevance of 21st century mainframe solutions. There are more than 100+ valuable sessions, demos, papers, and other valuable tools available over every business day in May, so you won’t want to miss a thing! From application development and performance, to databases and storage, to Linux on System z, MMM 2012 has your area covered!”

You may recall that Arcati’s Mark Lillycrop and I were involved in a Networking Lounge conversation during last year’s mainframe madness.

The great thing about this event is that you don’t need to leave your desk. There’s no travel costs, hotel costs, meals, replacement staff costs etc. You just log-in from your laptop.

The same applies to the Virtual CICS user group meeting on Tuesday 8 May. At 10:30am CDT, Stephen Mitchell, Managing Director of Matter of Fact Software Limited, will be discussing “Utilizing the Dojo Toolkit for Web browser-driven applications from CICS”.

Modern Web applications need a user interface that gives a positive experience, is functionally effective, and pleasing on the eye. Creating such user interfaces can be quite difficult using the browser’s native Javascript language. Javascript libraries such as the Dojo Toolkit facilitate the creation and delivery of modern Web applications. CICS on z/OS is fully capable of servicing the needs of Web applications. This presentation discusses how the Dojo Toolkit can be exploited by CICS Web applications. Reference is made to the business issues encountered when deciding to use the Dojo Toolkit in a software solution that already uses the CICS Web interface.

If you want to register for the presentation, you need to go to https://www1.gotomeeting.com/register/624487633. If you want to find out more go to  http://www.fundi.com/virtualcics/. Or if you’re an IMS specialist go to http://www.fundi.com/virtualims/ to find out about future IMS-related presentations.

Online events like CA’s May Mainframe Madness and virtual user group meetings like the Virtual CICS user group this coming week save attendees time while delivering the information they’d get from physically attending an event. And for their organization, the savings are huge – which is why we’re seeing more events of this type, and why they are so successful.

Sunday, 11 September 2011

Get the size of all site collections for a Web application

Get the size of all site collections for a Web application

This week, Darren Pritchard, our SharePoint guru, lays out clearly exactly what needs to be done in order to find out the size of all site collections for a Web application in SharePoint 2007.

The first step is to create a batch file containing:

SET STSADM="c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\bin\STSADM.EXE"
%STSADM% -o enumsites -url SiteStats.txt
Pause


Pretty obviously, where it says , you need to change that to the name of the Web application that you need to produce the statistics for.

Next you need to copy the batch file to your Web front-end server and run it.

The output will be in a file called SiteStats.txt. Open the file and for each site collection you will see ‘StorageUsedMB=’ and a value. It’s the value that you’re interested in.

On a completely different topic: on Tuesday 13 September the Virtual CICS user group meets. Rocket Software’s Charles Jones will be discussing “CICS TS 4.2: Leveraging event processing and high-performance Java”. More details about how to register can be found on the user group Web site at fundi.com/virtualcics.

Sunday, 10 July 2011

He CICS, he scores!

Sadly, as a title, it only works if you’re in the parts of the world where CICS is pronounced ‘kicks’ and where people play football (and getting the ball in the back of the net is very important!). But wherever you are, I want to talk about IBM’s transaction processing system whose full title is Customer Information Control System and which runs under z/OS and z/VSE.

Basically, CICS allows users to sit at their screen and run transactions against data. It’s reckoned that about 90% of the Fortune 500 companies use CICS for banking, insurance, and various industrial systems. CICS is incredibly resilient with users potentially logging in through browsers, and the application programs they use being written in a wide variety of programming languages. The most recent version is CICS TS 4.2.

CICS first appeared in July 1969 – the year a man first walked on the moon and films such as Midnight Cowboy, Butch Cassidy and the Sundance Kid, and True Grit were nominated for Oscars. The DFH prefix for CICS messages has been apocryphally attributed to stand for the Denver Foot Hills. Development of CICS has been at the Hursley UK site since 1974.

CICS programs were pseudo-conversational – which means that they appeared as if they were conversational, while actually not being. This design meant that valuable resources were not locked waiting for a user to respond to a message. In fact coding to maximize what could be done while using the minimum amount of resources was a trick that COBOL programmers were forced to learn. Programs were multi-threaded, which meant one copy of the code could be used by more than one transaction.

System calls to CICS (eg reading a record) originally required the use of a macro call – hence the name macro-level CICS. During the 1980s we got command-level CICS. Command-level-only CICS came in the 1990s and support for macro-level application programs went.

In terms of programming languages, early users had COBOL and PL/I, and, of course, Assembler. More recently, we’ve seen Enterprise Java Beans (EJB). CICS transactions can now be invoked using an HTTP request, so CICS transactions can act as servers in a POX or REST conversation. JCICS classes allow CICS services  to be called using Java. CICS programs can be Web service providers or requesters.

The new CICS Explorer Eclipse-based graphical tooling interface for CICS provides a modern-looking management interface to CICS.

If you are interested in finding out more about CICS, you’ll be interested in the Virtual CICS user group at www.fundi.com/virtualcics. You’ll also be very interested to know that there’s a user group meeting on Tuesday 12 July at 10:30 CDT. The meeting uses Citrix GoToMeeting so you don’t need to leave your desk, and will include a presentation by Jeff Geminder, who’s a Principal Consultant with CA. The title of the presentation is: Cross-enterprise application performance monitoring and CICS-specific drill-down: approaches to finding the performance problem needle in the heterogeneous haystack. Jeff says; “In today’s complex multi-platform world, how can businesses stay ahead of the curve by reducing outages and minimizing downtime? Specifically, how can we tell whether CICS is or is not the culprit. In effect how can we find that needle in the heterogeneous haystack and get the right people in the right place at the right time.”

To find out more and to get details about how to register for the webinar, go to www.fundi.com/virtualcics/meetings.htm.