Dynamic File Allocation Services

The following table shows the LE dynamic file allocation services that are supported by this COBOL system.

Routine Description Supported?
PUTENV Dynamically allocate a missing DD Yes
SETENV Dynamically allocate a missing DD Yes
Note:
  • The optional parameters (such as SHR, NEW, OLD. LRECL and DSORG) are supported to the same level they are supported for the TSO ALLOCATE command.
  • If you use PUTENV or SETENV with parameters that are not compatible with the TSO ALLOCATE command, the call is rejected and the return code is set to a non-zero value.
  • You must specify the entry point "SETENV" in uppercase characters on Unix platforms. This is to avoid a clash with the "setenv" OS API of the platform which is in lowercase.