FREE

FREE unallocates a data definition name.

Read syntax diagramSkip visual syntax diagram FREE DDNAME ddname

Operands

DDNAME
is a keyword indicating free is by ddname.
ddname
specifies the data definition name.

Return codes

The return code given by SVC 99
For more information, see z/OS MVS Programming: Authorized Assembler Services Guide.
1702
Invalid operand

Example

  'ALLOC USER1A USER1.REXX(TEST)'
  'FREE DDNAME USER1A'

This example allocates the member TEST of dataset USER1.REXX into the ddname USER1A and then frees the ddname USER1A for use with another dataset.