! VAXCRTL.HLP, originally written in 1989 by Frank J. Nagy
! slightly edited by w.j.m. (last edit 13-AUG-1997)
!
1 VAXCRTL
 Notes on the VAX C RTL routines.
2 RMS_keywords
 Optional arguments for fopen(), freopen() and creat().  Each is a
 character string with a keyword giving an RMS field in the FAB or RAB
 and value is valid for assignment to that field.  See the RMS Services
 manual for more details on these fields.

    "alq=n"          allocation quantity (decimal value)

    "bls=n"          block size (decimal)

    "ctx=bin"        no translation of '\n' to the terminal
    "ctx=nocvt"      no conversion of FORTRAN carriage control bytes
    "ctx=rec"        force record mode access (needed to share files)
    "ctx=stm"        force stream mode access (enables `raw' I/O to any file, 
			without regard to RMS record structure)

    "deq=n"          default extension quantity (decimal)

    "dna=filespec"   default file name string (string)

    "fop=val,..."    file processing options:
                        ctg   contiguous
                        cbt   contiguous-best-try
                        tef   truncate at end-of-file
                        cif   create if nonexistant
                        sup   supersede
                        scf   submit as command file on close
                              delete afterwards if "dlt" specified
                        spl   spool to system printer on close
                              delete after print if "dlt" specified
                        tmd   temporary delete
                        tmp   temporary (no file directory)
                        nef   do not position tape at end-of-file
                        dlt   delete file on close
                        mxv   maximize version number
                        rck   read-check data
                        wck   write-check data
                        rwo   rewind tape before open
                        rwc   rewind tape after close
                        pos   position tape after most recently
                              opened file

    "fsz=n"          fixed record header size (decimal)

    "mbc=n"             multiblock count (decimal)

    "mbf=n"             multibuffer count (decimal)

    "mrs=n"          maximum record size (decimal)

    "rat=val,..."    record attributes:
                        cr    carriage-return control
                        blk   disallow records to span block boundaries
                        ftn   FORTRAN print control
                        prn   print file control

    "rfm=val"        record format:
                        fix   fixed-length record format
                        stm   RMS-11 stream record format
                        stmlf stream format with line-feed terminator
                        stmcr stream format with carriage-return terminator
                        var   variable-length record format
                        vfc   variable-length record with fixed control
                        udf   undefined

    "rop=val"        record processing options:
                        asy   asynchronous I/O
                        tmo   timeout I/O
                        nlk   do not lock records
                        rlk   lock record for write
                        rrl   read regardless of lock

    "shr=val"        file sharing options:
                        del   allows users to delete records
                        get   allows users to read
                        mse   allows multistream access
                        nil   prohibits file sharing
                        put   allows users to write
                        upd   allows users to update records
                        upi   allows one or more writers

    "tmo=n"          I/O timeout value (decimal)
