ALLOC

ALLOC associates a dataset with a data definition name.

This is an authorized command.

Read syntax diagramSkip visual syntax diagram ALLOC ddname dsname ( member ) SHROLD

Operands

ddname
specifies the data definition name.
dsname
specifies the fully qualified dataset name.
member
specifies the member name in the dataset.
SHR
dataset exists but exclusive control is not required.
OLD
dataset exists and exclusive control is required.

Return codes

The return code given by SVC 99
For more information, see z/OS MVS Programming: Authorized Assembler Services Guide.
1702
Invalid operand
Note:
  • The dsname contains your user ID as the high level prefix for security reasons. Also, a user exit is provided for additional security handling of data definition names and dataset names. When you leave the member name off of the ALLOC command, a sequential dataset is allocated. For performance reasons, if the dataset has been migrated, the allocation request is refused.
  • An allocation sample exit, CICSECX1, is provided with this command, to let installations perform security checking.