CLOSE(ddname[,'T'])
Note: For compatibility with earlier releases of REXXTOOLS, the first argument can contain the string 'VSAM', and the second argument can contain the ddname. The 'VSAM' argument is no longer required, provided that you use a ddname that is not 'VSAM', 'QSAM', or 'BPAM'.
After completion of a CLOSE function call, several special REXX variables are populated with useful information. You should treat these variables as "read only" and make no attempt to modify any of them. The variables are:
if close('indd') = 0 then say 'Data set closed.'
call close 'outdd', 't'