DOPEN

Opens defined files to access by your programs. DOPEN is equivalent to the FMGR call OPEN.

DOPEN(dcb,err,name[,optn][,secu][,cr][,erlc])

dcb

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

 

Common Parameters" for more information.)

err

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

 

Common Parameters" for more information.)

name

Integer array (FORTRAN); Packed character

 

array (PASCAL). File name. A 3word array containing the

 

ASCII coded name of the file to be opened. Must be a FMGR

 

file.

optn

16-bit integer. File access specifications. A variable

 

containing a numeric value that specifies nonstandard

 

conditions upon opening a file. For a detailed description of

 

the options available, refer to the NSARPA/1000 DS/1000IV

 

Compatible Services Reference Manual.

secu

16-bit integer. If the file was created (see DCRET/DXCRE

 

call description) with a nonzero security code, this parameter

 

must be specified and it must match the original security code

 

assigned to the file.

cr

Array of 16-bit integers. Cartridge reference label.

 

A 2word array which defines cartridge search and node

 

destination conditions. (See •RFA Common Parameters" for

 

more information.)

erlc

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

 

Common Parameters" for more information.)

Remote File Access 109