Un-allocate (UL)

Command title

Un-allocate

Description

This command will de-allocate a tableBASE library or any other file that was dynamically allocated to the region by an AL command.

COBOL syntax

MOVE 'UL'                   TO xxxx-COMMAND.
CALL 'TBLBASE' USING        TB-PARM
                            xxxx-COMMAND-AREA
                            DDNAME.

C syntax

memcpy( tbCommArea.tbCommand, "UL", 2 );
TBLBASE( &tbParm, &tbCommArea, pDDName );

Parameters

DDNAME—the library name that the application will use to refer to the allocated library

Explanation

None

Return value

The commands AL and UL will return an error code if they are used with DDNAMEs that are allocated through JCL or the TSO ALLOCATE command.

ERROR 0060, 0061, 0075 subcodes 8-10

See tableBASE return codes for tableBASE error codes.

Notes

None

Exceptions

The UL command is valid only for single-task batch and IMS TM interfaces, and may be used only for files allocated by the AL commands.

See also

Allocate (AL)