MicroFocus.COBOL.RuntimeServices Namespace

MicroFocus.COBOL.RuntimeServices
 
Classes

  ClassDescription
Public classCode exampleCallableAttribute

Makes non-COBOL static methods callable from COBOL with the verb CALL.

Restriction:
MicroFocus.COBOL.RuntimeServices are supported for .NET managed code only.
Public classCode exampleCallableProgram
The CallableProgram type is used to create a .Net type that can be used with the CALL verb. Below is an example the type that for a program called MYPROGRAM. The type also implements ICancelProgramCallback interface so it can handle being CANCELed.
Public classCode exampleCharsetAttribute
Character set attribute to allow per-program encodings eg ANSI, UTF8, OEM or ASCII
Restriction:
MicroFocus.COBOL.RuntimeServices are supported for .NET managed code only.
Public classCode exampleInterop
Used for interfacing to managed procedural COBOL programs from other .NET languages
Restriction:
MicroFocus.COBOL.RuntimeServices are supported for .NET managed code only.
Public classCode exampleMarshallUtils
A helper classes to help marshall struct/valuetypes to/from their byte[] representation
Restriction:
MicroFocus.COBOL.RuntimeServices are supported for .NET managed code only.
Public classCode exampleRunUnit
Represents a COBOL run unit in which the programs executed are either procedural COBOL programs that are compiled for use in multiple run units or Micro Focus OO COBOL programs.
Restriction:
MicroFocus.COBOL.RuntimeServices are supported for .NET managed code only.
Public classSession Obsolete.
Session type is provided for compatibility with old products.
Restriction:
MicroFocus.COBOL.RuntimeServices are supported for .NET managed code only.
Interfaces

  InterfaceDescription
Public interfaceCallableProgramICancelProgramCallback
An interface for a type that extends CallableProgram in order get a callback when either a CANCEL or STOP RUN occurs.

See MicroFocus.COBOL.RuntimeServices.CallableProgram for an example.

Public interfaceIRunUnit
Portable interface for IRunUnit
Enumerations

  EnumerationDescription
Public enumerationRunUnitStartupOptions
An enumeration that allows the creator of the rununit specify extra options.
Restriction:
MicroFocus.COBOL.RuntimeServices are supported for .NET managed code only.
Public enumerationSessionStartupOptions Obsolete.
Restriction:
MicroFocus.COBOL.RuntimeServices are supported for .NET managed code only.