Category Archives: CLR

Reflection and COBOL

For the last couple of months I have working on Visual Studio 2010 and this include Microsoft CLR v4 and I was recently asked how to write a test that determines at runtime which CLR is being used and what … Continue reading

Posted in CLR, COBOL, Tips | Tagged , , , , | Comments Off on Reflection and COBOL

Microsoft Application Architecture Guide, 2nd Edition

Microsoft have just updated the “Application Architecture”.  I can’t say I have read it from cover to cover but it is being downloaded to my ebook reader… Microsoft Application Architecture Guide, 2nd Edition The guide helps you to: Understand the … Continue reading

Posted in CLR, ebook, pdf, Tips | Tagged , , , , , | Comments Off on Microsoft Application Architecture Guide, 2nd Edition

A Comparison Of .Net COBOL, Visual Basic and C#

Today my collegues Robert and Alex have finally 🙂 decided to publish a document that compares Visual Basic, C# and COBOL for .Net under The Creative Commons Attribution-ShareAlike 2.5 License. Rather than doing a cut-paste job, here is a quote … Continue reading

Posted in COBOL, CSharp, Tips, VB.Net | Tagged , , , | Comments Off on A Comparison Of .Net COBOL, Visual Basic and C#

Factory Method Pattern in COBOL

Continuing my series on design patterns for the COBOL, the next one on my list is the “Factory method” pattern. The pattern is useful, as it helps you hide the real implementation/creation mechanism of your classes. I you are fond … Continue reading

Posted in CLR, COBOL | Tagged , , | Comments Off on Factory Method Pattern in COBOL

Design Patterns and COBOL

As part of my working life I happy to say I use COBOL and for better or worse it is here to stay. With this in mind it annoys me I here/see saying things such as COBOL is a old … Continue reading

Posted in CLR, COBOL, Tips | Tagged , , | Comments Off on Design Patterns and COBOL

Type Safety and COBOL

Having read a recent bog about COBOL and type-safety, I though I would jot down some comments. ANS85 COBOL is naturally is type-unsafe due as every data item being part of one memory region (or storage area), because of this … Continue reading

Posted in CLR, COBOL, JVM, TypeSafety | Tagged , | Comments Off on Type Safety and COBOL

Base Class Library, Arrays, Queues and Stacks

Continuing the series of blogs about COBOL and the .Net base class library… The .Net base class library has a wealth classes and an huge of amount of methods/properties. The .Net base class library has a key handy namespace that … Continue reading

Posted in CLR, COBOL | Tagged , , | Comments Off on Base Class Library, Arrays, Queues and Stacks

Detecting the use Mono CLR dynamically

While developing something that could be used on Mono on Windows, Mono on Unix and on Windows with Microsoft’s CLR, I needed to be sensitive to the environment but didn’t want to conditionally compile my code different. So I put … Continue reading

Posted in CLR, CSharp, Mono, Tips | Tagged , , | Comments Off on Detecting the use Mono CLR dynamically

Arrays and the .Net Base Cass Library

Carrying on from the previous blog, the user of iterators in .Net and especially .Net on COBOL can be very useful. When CLR v2.0 was introduced a few new methods in System.IO.File for block reading/writing files were introduced, these works … Continue reading

Posted in CLR, COBOL, Tips | 4 Comments

Too Iterate or not…

Over the next couple of weeks, I will explore some of the reasons why I think managed environments are good for COBOL. So.. lets the show on the road… Setting up arrays/occurs items in COBOL and manipulating them can be … Continue reading

Posted in CLR, COBOL, Tips | Tagged , , , | Comments Off on Too Iterate or not…