Version 9.6
 —  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 EXP960.CCCO Client interface object for IDL program CALC. 1
CALCCLT COBOL source code EXP960.CCCO A client application calling the remote procedure (RPC service) CALC, with associated example.idl. 2
CALCIGY JCL EXP960.CCCO Job (JCL) to build the RPC client CALCCLT. 3
CALCRUN JCL EXP960.CCCO Job (JCL) to execute the RPC client CALCCLT. 3
CALC COBOL copybook EXP960.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 file README1.TXT in EntireX directory examples/RPC/basic/example/CobolServer/vseBatch under UNIX or Windows, or the downloaded example sublibrary EXAMPLE.COBSRVB.

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 Sublibrary Description Notes
README1.TXT Text file EXAMPLE.COBSRVB SQUARE sever build instructions and description.  
SQUARE.C COBOL source code EXAMPLE.COBSRVB A server application providing the remote procedure SQUARE (RPC service), with associated example.idl. 1
SQUARE.J JCL EXAMPLE.COBSRVB Job control to build the remote procedure SQUARE (RPC service). 2

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 EXP960.CVCO A server application providing the remote procedure CALC (RPC service), with associated example.idl. 1
CALCIGY JCL EXP960.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/OSD, 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/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 EXP960.CVCO Job (JCL) to build the remote procedure SQUARE (RPC service) 2
SQUARE COBOL source code EXP960.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 EXP960.CCCO A client application calling the reliable remote procedure (RPC service), SENDMAIL, with associated mail.idl. 1
SENDIGY JCL EXP960.CCCO Job (JCL) to build the RPC client SENDCLT. 2
SENDMAIL COBOL source code EXP960.CCCO Client interface object for IDL program SENDMAIL. 3
SENDRUN JCL EXP960.CCCO Job (JCL) to execute the RPC client SENDCLT. 2
SENDMAIL COBOL copybook EXP960.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 EXP960.CVCO Job (JCL) to build the remote procedure SENDMAIL(RPC service). 1
SENDMAIL COBOL source code EXP960.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, BS2000/OSD, z/VSE and IBM i). 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