PROCESS view-name USING {operand1=operand2},
[GIVING
operand3
]
|
This document covers the following topics:
For an explanation of the symbols used in the syntax diagram, see Syntax Symbols.
The PROCESS statement is used in conjunction with Entire System Server and
Natural Messaging.
Entire System Server allows you to use various operating system facilities such as
reading and writing files, VTOC and catalog management, JES queues, etc. See the section
Getting Started in the Entire System Server User's
Guide for further information on the PROCESS statement and its
individual clauses.
Natural Messaging is a Natural add-on for z/OS that supports communication with IBM MQ.
It allows you to easily access message queues using the PROCESS and
FIND statements. For further information, see Database Management
System Interfaces > Natural Messaging in the Natural for z/OS
documentation.
This statement is only available with Entire System Server and Natural Messaging.
When the ERROR-CODE or ERROR-TEXT field is included in the view
as part of local data, the default Natural system error messages are suppressed. Instead:
ERROR-CODE will contain the error code, and
ERROR-TEXT will contain a descriptive message explaining the exact cause
of the error.
This allows the calling Natural program to handle errors programmatically, without triggering a system-level abend or Natural error message.
Operand Definition Table:
| Operand | Possible Structure | Possible Formats | Referencing Permitted | Dynamic Definition | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
operand1
|
C | S | A | N | P | B | yes | no | ||||||||||||
operand2
|
C | S | A | U | N | P | B | yes | no | |||||||||||
operand3
|
S | A | N | P | B | yes | no | |||||||||||||
Syntax Element Description:
| Syntax Element | Description |
|---|---|
view-name
|
View Name:
Name of the view used. |
USING
|
USING Clause:
The Note |
GIVING
|
GIVING Clause:
The |