CICS ONC RPC user-replaceable programs

Servicing a client request involves not only a CICS® program, but a converter program and XDR routines. For compatibility with earlier releases of CICS you can use a resource checker program to validate incoming client requests, or you can use CICS security facilities.

XDR routines

XDR (eXternal Data Representation) is described in XDR routines.

You need to provide one or two XDR routines for each 4-tuple. You always need an inbound XDR routine, and unless the client call is nonblocking, you need an outbound XDR routine as well.

The XDR routines for each 4-tuple are specified by using the connection manager.

Resource checker module

CICS ONC RPC provides an interface to a resource checker (which you write). The module can be used to validate incoming client requests. It is described in Writing the resource checker.

Converters

You can also supply a converter for each program-version-procedure-protocol 4-tuple. Each converter can contain up to three functions.

Not all 4-tuples need a converter with all three functions. You use the connection manager to specify the converter and the use of Getlengths, Decode, and Encode for each 4-tuple.

The way that particular language data structures are stored is documented in the appropriate language manuals, and a correspondence between C data types and those in other languages is given in the Language Environment® for OS/390® & VM Programming Guide.

For detailed instructions on the writing of converters, refer to Write theCICS ONC RPC converter.

Related concepts
ONC RPC concepts
ONC RPC remote procedures and CICS programs
CICS ONC RPC transactions
CICS ONC RPC control flow
CICS ONC RPC data flow
Related tasks
Setting up CICS ONC RPC
[[ Contents Previous Page | Next Page Index ]]