Previous Topic: DELETE StatementNext Topic: REPORT Statement


PROCESS Statement

Purpose

The PROCESS statement specifies the area or file to be processed.

Syntax

►►── PROcess ─┬─ SEGment segment-name ─┬──────────────────┬─┬────────── . ─────►◄
              │                        └─ AREa area-name ─┘ │
              └─ FILe ──────────────────────────────────────┘

Parameters

SEGment segment-name

Specifies the name of a specific segment in the DMCL.

AREa area-name

Specifies the name of a specific area in the DMCL.

FILe

Specifies the file that contains a previously created report.

Usage

Multiple PROCESS statements

You can specify multiple areas using multiple PROCESS statements.

When Gathering Information

If you are gathering information to use for processing subsequent reports, use the PROCESS SEGMENT parameter and specify a new data set name on the SYS004 statement in the JCL.

Processing Information in a Data Set

If the information you want to process is in a data set, use the PROCESS FILE parameter and specify the name of the data set on the SYS004 statement in the JCL.