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/basic/example/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/basic/example/CobolServer/MicroFocus under UNIX or Windows.

Reliable RPC Client Example - SENDMAIL

For Micro Focus environments, the SENDMAIL client is built with COBOL Wrapper "Micro Focus with standard linkage calling convention" interface type. See Client Interface Types for more information.

Name type Description Notes
SENDCLT.cbl COBOL source code A client application calling the reliable remote procedure (RPC service), SENDMAIL, with associated mail.idl. 1

Notes:

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

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

Reliable RPC Server Example - SENDMAIL

For Micro Focus environments, the SENDMAIL server is built with COBOL Wrapper "Micro Focus with standard linkage calling convention" interface type. See Server Interface Types for more information.

Name Type Description Notes
SENDCLT.cbl COBOL source code a server application providing the reliable remote procedure (RPC service) SENDMAIL, with associated mail.idl. 1

Notes:

  1. Application built according to the client-side build instructions under Using the COBOL Wrapper for the Client Side. See also Reliable RPC for COBOL Wrapper.

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