IDIFREE command
The IDIFREE command can be used to unallocate (free) DDnames that might have been allocated using IDIALLOC.
Return codes
The IDIFREE command provides the
following return codes:
- 0
- Unallocation of all specified DDnames was successful.
- 4
- Unallocation of one or more specified DDnames failed. Explanations of the errors are written to the IDITRACE DDname.
- 8
- Command syntax error. An explanation of the error is written to the IDITRACE DDname.
Example
/* REXX */
/* Free the DDnames DD1 and DD2 */
"IDIFREE DD(DD1,DD2)"
if RC = 0 then say 'Success!'