Previous Topic: Send a User-Defined Exit CodeNext Topic: Monitoring Jobs


Specify Data for a Local Data Area

The local data area is a temporary 1024-byte storage area that exists for the duration of an i5/OS job. You can use the local data area to pass data to the job and to other programs that run as part of the job. When the job is submitted, the agent initializes the local data area with the specified data. When the job completes, the local data area is destroyed automatically by the operating system.

To specify data for a local data area, add the LDA statement in the job definition.

Example: Specify Data for the Local Data Area in Hexadecimal Format

In the following example, when the job is submitted, the agent initializes the local data area with hexadecimal data. When the job completes, the local data area is destroyed automatically by the operating system.

AGENT A03TS1
CLPNAME IVP
LDA X'C1C2C3C4'