Version 9.5 SP1
 —  EntireX COBOL Wrapper  —

Client and Server Examples for z/OS Batch

This document describes the examples provided for the COBOL Wrapper for z/OS Batch. All examples here can be found in the EntireX directory examples/RPC under UNIX and Windows. They are also available for z/OS, if this is installed. See Extract the EntireX RPC Examples from their Container Data Set. This document covers the following topics:


Basic RPC Client Examples - CALC, SQUARE

This section covers the following examples:

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 EXP951.CCCO Client interface object for IDL program CALC. 1
CALCCLT COBOL source code EXP951.CCCO A client application calling the remote procedure (RPC service) CALC, with associated example.idl. 2
CALCIGY JCL EXP951.CCCO Job (JCL) to build the RPC client CALCCLT. 3
CALCRUN JCL EXP951.CCCO Job (JCL) to execute the RPC client CALCCLT. 3
CALC COBOL copybook EXP951.CICO Client interface object copybook for IDL program CALC. 1

Notes:

  1. Under z/OS, client interface objects are delivered with the installation; under UNIX and Windows, generate these objects with the EntireX Workbench.
  2. Application built according to the client-side build instructions, see Using the COBOL Wrapper for Batch (z/VSE, IBM i, BS2000/OSD and z/OS).
  3. Adapt the JCL to your needs.

For more information refer to the readme file in EntireX directory examples/RPC/basic/example/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
SQRECLT COBOL source code EXP951.CCCO A client application calling the remote procedure (RPC service) SQUARE, with associated example.idl. 1
SQREIGY JCL EXP951.CCCO Job (JCL) to build the RPC client SQRECLT. 2
SQRERUN JCL EXP951.CCCO Job (JCL) to execute the RPC client SQRECLT. 2
SQUARE COBOL source code EXP951.CCCO Client interface object for IDL program SQUARE. 3
SQUARE COBOL copybook EXP951.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/VSE, IBM i, BS2000/OSD and z/OS).
  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 EntireX Workbench.

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

Top of page

Basic RPC Server Examples - CALC, SQUARE

This section covers the following examples:

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 EXP951.CVCO A server application providing the remote procedure CALC (RPC service), with associated example.idl. 1
CALCIGY JCL EXP951.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, IBM i, BS2000/OSD and z/VSE).
  2. Adapt the JCL to your needs.

For more information, refer to the readme file in EntireX directory examples/RPC/basic/example/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 EXP951.CVCO Job (JCL) to build the remote procedure SQUARE (RPC service) 2
SQUARE COBOL source code EXP951.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/VSE, IBM i, BS2000/OSD and z/OS).
  2. Adapt the JCL to your needs.

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

Top of page

Reliable RPC Client Example - SENDMAIL

For batch on operating system z/OS, the SENDMAIL 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
SENDCLT COBOL source code EXP951.CCCO A client application calling the reliable remote procedure (RPC service), SENDMAIL, with associated mail.idl. 1
SENDIGY JCL EXP951.CCCO Job (JCL) to build the RPC client SENDCLT. 2
SENDMAIL COBOL source code EXP951.CCCO Client interface object for IDL program SENDMAIL. 3
SENDRUN JCL EXP951.CCCO Job (JCL) to execute the RPC client SENDCLT. 2
SENDMAIL COBOL copybook EXP951.CICO Client interface object copybook for IDL program SENDMAIL. 3

Notes:

  1. Application built according to the client-side build instructions, see Using the COBOL Wrapper for Batch (z/VSE, IBM i, BS2000/OSD and z/OS). See also Reliable RPC for COBOL Wrapper.
  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 EntireX Workbench.

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

Top of page

Reliable RPC Server Example - SENDMAIL

For batch on operating system z/OS, the SENDMAIL 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
SENDIGY JCL EXP951.CVCO Job (JCL) to build the remote procedure SENDMAIL(RPC service). 1
SENDMAIL COBOL source code EXP951.CVCO A server application providing the reliable remote procedure (RPC service) SENDMAIL, with associated mail.idl. 2

Notes:

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

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

Top of page