DCLOS/DXCLO

Following access operations, you may close a file using a call to DCLOS or DXCLO. DCLOS is equivalent to the FMGR call CLOSE; DXCLO is equivalent to ECLOS.

DCLOS(dcb,err[,trun][,erlc])

DXCLO(dcb,err[,trun][,erlc])

dcb

Four-word array. Data Control Block. (See •RFA

(input/output)

Common Parameters" for further information.)

err

16-bit integer. Error return variable. (See •RFA

 

Common Parameters" for further information.)

trun

16-bit integer/32-bit integer. File truncation

 

variable. Contains an integer value that defines the number of

 

blocks to be deleted from the file upon closing. If zero or not

 

specified, no truncation occurs. If negative, only file extents are

 

truncated. If greater than the number of blocks in the file, no

 

action occurs. If equal to the number of blocks in the file, the

 

file is purged. For DXCLO, trun is a doubleword variable

 

containing a 32bit number of blocks to be deleted from the

 

main file at closing.

erlc

16-bit integer. Error condition location. (See •RFA

 

Common Parameters" for further information.)

Remote File Access 103