Client and Server Examples for Micro Focus (UNIX and Windows)

This document describes the examples provided for the COBOL Wrapper for Micro Focus. All examples here can be found in the EntireX directory examples/RPC under UNIX and Windows. It covers the following topics:


Basic RPC Client Examples - CALC, SQUARE

For Micro Focus environments, the CALC and SQUARE clients are built with COBOL Wrapper "Micro Focus with standard linkage calling convention" interface type. See Client Interface Types for more information.

Name Type Description Notes
CALCCLT.cbl COBOL source code A client application calling the remote procedure (RPC service) CALC, with associated example.idl. 1
SQRECLT.cbl COBOL source code A client application calling the remote procedure (RPC service) SQUARE, with associated example.idl. 1

Notes:

  1. Application built according to the client-side build instructions under Using the COBOL Wrapper for Micro Focus (UNIX and Windows).

For more information, see the readme file in EntireX directory examples/RPC/CobolClient/MicroFocus under UNIX or Windows.

Basic RPC Server Examples - CALC, SQUARE

For Micro Focus environments, the CALC and SQUARE servers are built with COBOL Wrapper "Micro Focus with standard linkage calling convention" interface type. See Server Interface Types for more information.

Name Type Description Notes
CALC.cbl COBOL source code A server application providing the remote procedure CALC (RPC service), with associated example.idl. 1
SQUARE.cbl COBOL source code A server application providing the remote procedure SQUARE (RPC service), with associated example.idl. 1

Notes:

  1. Application built according to the server-side build instructions under Using the COBOL Wrapper for Micro Focus (UNIX and Windows).

For more information, see the readme file in EntireX directory examples/RPC/CobolServer/MicroFocus under UNIX or Windows.