Previous Topic Next topic Print topic


Managed COBOL

Visual COBOL now provides support for Java managed means (MBean) in JVM COBOL code that enable you to manage and monitor RunUnits, and to identify certain issues such as leaks and long-running RunUnits.

  • You can enable an MBean only for a particular RunUnit level or for all RunUnits you create.
  • You can view and use MBeans from programs such as Oracle's Java Mission Control or JConsole.
  • MBeans include the LogicalRunUnitCount and LiveRunUnitCount attributes that enable a visual indication of how many RunUnits are live. if the values of these two attributes are different, this might indicate some issues.

This release includes the following enhancements to the managed COBOL syntax:

Specifying parameters in the method signature
You can now specify passing parameters and returning items in the method signature, instead of using a Procedure Division header. This applies to methods, indexers, iterators, constructors and delegates.
CONSTANT keyword
Use the CONSTANT keyword on a field to protect it from being altered.
Operations on string fields
You can now use the STRING, UNSTRING and INSPECT statements on fields of type string.

Tutorials

This release includes the following new tutorials for managed COBOL:
Deploying JVM COBOL to an Application Server
Using some ready-made sample projects, this tutorial guides you through implementing your JVM COBOL code into an Enterprise JavaBean (EJB), then deploying it to a JBoss application server. Instructions are also included on how to deploy the application to WebSphere and WebLogic application servers.
Previous Topic Next topic Print topic