Previous Topic: MGRADDR Command: Specify Scheduling Manager's AddressNext Topic: QUIESCE Command: Quiesce z/OS Agent


PREALLOC Command: Preallocate Data Sets

To preallocate and deallocate a data set, use the PREALLOC command.

Type

OPER command

Authority

To issue the PREALLOC command, you require OPER authority.

This command has the following format:

PREALLOC [dataset]
         [ALLOC|UNALLOC]
dataset

Indicates the data set name.

ALLOC

Requests that the data set be allocated. ALLOC is the default.

UNALLOC

Requests that the data set be unallocated.

When access to the data set is needed, z/OS Agent bypasses the dynamic allocation for each preallocated data set.

Use one PREALLOC command for each data set you wish to preallocate.

You can issue the PREALLOC command without any operands to display the current preallocation list of data sets. Issue the PREALLOC command with the UNALLOC operand to de-allocate a previously allocated data set.

Related information

For information on defining z/OS Agent data sets, see the Installation and Configuration Guide.

Example: Display the Current Preallocation List

This example shows how to display the current preallocation list of data sets.

OPER PREALLOC

Example: Preallocate a Data Set

This example shows how to preallocate data set CYBER.JCL.CNTL.

OPER PREALLOC CYBER.JCL.CNTL ALLOC

Example: Unallocate a Data Set

This example shows how to unallocate data set CYBER.ZAG.PROCS.

OPER PREALLOC CYBER.ZAG.PROCS UNALLOC