Client and Server Examples for z/OS Batch

This document describes the RPC examples provided. After installation of the EntireX Development Tools package, all examples here can be found in the EntireX directory examples/RPC. They are also available as a z/OS data set, see Installing RPC Examples.
This document covers the following topics:


Basic RPC Client Examples - CALC, SQUARE

CALC Client

For z/OS Batch, the CALC client is built with COBOL Wrapper "Batch with standard linkage calling convention" interface type. See Client Interface Types for more information.

Name Type Data Set Description Notes
CALC COBOL source code EXP105.CCCO Client interface object for IDL program CALC. 1
CALCCLT COBOL source code EXP105.CCCO A client application calling the remote procedure (RPC service) CALC, with associated example.idl. 2
CALCIGY JCL EXP105.CCCO Job (JCL) to build the RPC client CALCCLT. 3
CALCRUN JCL EXP105.CCCO Job (JCL) to execute the RPC client CALCCLT. 3
CALC COBOL copybook EXP105.CICO Client interface object copybook for IDL program CALC. 1
COBSRVI COBOL source code EXP105.CCCO Generic RPC service module for Batch. 4

Notes:

  1. Under z/OS, client interface objects are delivered with the installation; under UNIX and Windows, generate these objects with the Designer.
  2. Application built according to the client-side build instructions, see Using the COBOL Wrapper for Batch (z/OS, BS2000, z/VSE and IBM i).
  3. Adapt the JCL to your needs.
  4. See Generation and Usage of Generic RPC Service Module COBSRVI.

For more information refer to the readme file in EntireX directory examples/RPC/CobolClient/zosBatch under UNIX or Windows.

SQUARE Client

For batch under operating system z/OS, the SQUARE client is built with COBOL Wrapper "Batch with standard linkage calling convention" interface type. See Client Interface Types for more information.

Name Type Data Set Description Notes
COBSRVI COBOL source code EXP105.CCCO Generic RPC service module for Batch. 4
SQRECLT COBOL source code EXP105.CCCO A client application calling the remote procedure (RPC service) SQUARE, with associated example.idl. 1
SQREIGY JCL EXP105.CCCO Job (JCL) to build the RPC client SQRECLT. 2
SQRERUN JCL EXP105.CCCO Job (JCL) to execute the RPC client SQRECLT. 2
SQUARE COBOL source code EXP105.CCCO Client interface object for IDL program SQUARE. 3
SQUARE COBOL copybook EXP105.CICO Client interface object copybook for IDL program SQUARE. 3

Notes:

  1. Application built according to the client-side build instructions, see Using the COBOL Wrapper for Batch (z/OS, BS2000, z/VSE and IBM i).
  2. Adapt the JCL to your needs.
  3. Under z/OS, client interface objects are delivered with the installation; under UNIX and Windows, generate these objects with the Designer.
  4. See Generation and Usage of Generic RPC Service Module COBSRVI.

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

Basic RPC Server Examples - CALC, SQUARE

CALC Server

For batch under operating system z/OS, the CALC server is built with COBOL Wrapper "Batch with standard linkage calling convention" interface type. See Server Interface Types for more information.

Name Type Data Set Description Notes
CALC COBOL source code EXP105.CVCO A server application providing the remote procedure CALC (RPC service), with associated example.idl. 1
CALCIGY JCL EXP105.CVCO Job (JCL) to build the remote procedure CALC (RPC service). 2

Notes:

  1. Application built according to the server-side build instructions, see Using the COBOL Wrapper for Batch (z/OS, BS2000, z/VSE and IBM i).
  2. Adapt the JCL to your needs.

For more information, refer to the readme file in EntireX directory examples/RPC/CobolServer/zosBatch under UNIX or Windows.

SQUARE Server

For batch on operating system z/OS, the SQUARE server is built with COBOL Wrapper "Batch with standard linkage calling convention" interface type. See Client Interface Types for more information.

Name Type Data Set Description Notes
SQREIGY JCL EXP105.CVCO Job (JCL) to build the remote procedure SQUARE (RPC service) 2
SQUARE COBOL source code EXP105.CVCO 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, see Using the COBOL Wrapper for Batch (z/OS, BS2000, z/VSE and IBM i).
  2. Adapt the JCL to your needs.

For more information, refer to the readme file in EntireX directory examples/RPC/CobolServer/zosBatch under UNIX or Windows.