Accessing Files Programmer's Guide (32650-90885)

42 Chapter2
Creating A File
The HPFOPEN Intrinsic
48/I32 Reverse VT:
Passes a value indicating whether or not the given device name is to be
allocated on a remote machine. Specify the remote environment in the
same open request, using either the formal designator option or the remote
environment option. Reverse VT behaves nearly the same as a terminal
opened through remote file access, except that no session is required on
the remote machine.
The following values are valid:
0 No reverse VT
1 Reverse VT
Default: 0
49
Reserved for the operating system
50/I32 Final disposition:
Passes a value indicating the final disposition of the file at close time
(significant only for files on disk and magnetic tape). A corresponding
parameter in a FILE command can override this option, unless file
equations are disallowed with
itemnum
=9.
The following values are valid:
0 No change. The disposition remains as it was before the
file was opened. If the file is new, it is deleted by FCLOSE;
otherwise, the file is assigned to the domain it belonged to
previously. An unlabeled tape file is rewound. If the file
resides on a labeled tape, the tape is rewound and
unloaded.
1 Permanent file. If the file is a disk file, it is saved in the
system file domain. A new or temporary file on disk has an
entry created for it in the system (permanent) file
directory. If a file of the same name already exists in the
directory, an error code is returned at close time and the
file remains open. If the file is a permanent file on disk,
this domain disposition has no effect. If the file is stored on
magnetic tape, the tape is rewound and unloaded.
2 Temporary job file (rewound). The file is retained in your
temporary (job/session) file domain and can be requested
by any process within your job/session. If the file is a disk
file, the uniqueness of the file name is checked. If a file of
the same name already exists in the temporary file
domain, an error code is returned at close time and the file
remains open. When a file resides on unlabeled magnetic
tape, the tape is rewound. However, if the file resides on
labeled magnetic tape, the tape is backspaced to the
beginning of the presently opened file.
3 Temporary job file (not rewound). This value has the same