Coding instructions

This section includes general coding information that applies to all CSPs.


Parameters

CSPs have optional and required parameters. Required parameters must have values supplied; optional parameters default to predefined values.

These rules apply to CSP parameters:


Syntax

Using the DirectConnect for z/OS Option DB2 access service, a client application can initiate a CSP by issuing this statement:

exec sp_name parm1, parm2, . . .

where:

Using the DirectConnect Transaction Router Service or from a two-tier, gateway-less environment, a client application can initiate a CSP by issuing this statement:

exec|execute sp_name parm1, parm2, . . .

where:


Coding examples

You can execute CSPs with a language command or through an RPC event.

You can specify the parameters for a CSP in one of these forms:


Table name, owner, and qualifier parameters

This section describes how the parameters table_name, table_owner, and table_qualifier are used in this product: