These routines read data from your file (currently open to the Data Control Block) into your program's data buffer. DREAD is equivalent to the FMGR call READF; DXREA is equivalent to EREAD.
DREAD(dcb,err,buf,len[,rlen][,num][,erlc])
DXREA(dcb,err,buf,len[,rlen][,num][,erlc])
dcb | |
(input/output) | Common Parameters" for more information.) |
err | |
| Common Parameters" for more information.) |
buf | Integer array (FORTRAN); Packed character |
| array (PASCAL). Data buffer. An array, with a size equal |
| to or greater than the value of the len parameter, into which |
| the requested data is placed by the system. |
len | |
| number of words to be read. (See •RFA Common Parameters" |
| for more information.) |
rlen | |
| variable to which the actual count of words transferred is |
| returned. Set to |
num | |
| variable that, if positive, contains the record number from |
| which data is to be read. If negative, num is the number of |
| records to backspace. If omitted, the record at the current |
| position is read. Meaningful for type 1 and type 2 files only. |
| For DXREA, num is a doubleword variable >32767. |
erlc | |
| Common Parameters" for more information.) |
1012 Remote File Access