CRPRM - create and open a permanent file.

(obsolete - Use OPEN)

Usage:

call crprm(u, filename, perms, mode, stat, buff,
           size, maxsiz)

Where:

u
is the Fortran unit number.
filename
is a character expression with the name of the file to be created. The filename must be terminated by a ";".
perms
is an integer giving the permissions for accessing the file.
2
access file for write.
3
access file for read/write.
mode
is an integer value specifying the mode of the file.
0
create a sequential file.
1
create a random file.
stat
is an integer variable where there status is returned. The status is either the first FMS status word or:
0
success
1
"u" already open.
2
attempt to access terminal in batch
3
denied because of insufficient memory
4
file name all blanks
buffer
is an array of 380 words to be used by FMS. It may be a null argument, in which case ATTACH will dynamically allocate the space.
size
is an integer value with the initial size of the file being created.
maxsiz
is the maximum size of the permanent file to be created. Zero implies unlimited.

Description:

CRPRM creates and opens a permanent file. Programs should use the F77 OPEN statement instead.

Copyright © 1996, Thinkage Ltd.