HP 3000 Manuals

INITUSLF [ MPE Segmenter Reference Manual ] MPE/iX 5.0 Documentation


MPE Segmenter Reference Manual

INITUSLF 

Initializes a buffer corresponding to record 0 for a User Subprogram
Library (USL) file to the empty state.

SYNTAX 

        I                IV     IA
     errnum:=INITUSLF(uslfnum,records);

FUNCTIONAL RETURN 

This intrinsic returns an error number if the condition code is equal to
CCL.

PARAMETERS 

uslfnum          integer by value. 

                 A word identifier supplying the file number of the USL
                 file.

records          integer array. 

                 A 128-word buffer, corresponding to the first record of
                 the USL file (record 0), to be initialized to the empty
                 state.  This buffer should be set to all zeros.  The
                 intrinsic will set certain values in record 0 before
                 returning to the calling program.

CONDITION CODES 

CCE              Request granted.

CCG              Not returned by this intrinsic.

CCL              Request denied.  The following error number is returned:

                 Error No.        Meaning

                 3                Your request attempted to exceed the
                                  maximum file size (32,768 records), or
                                  was smaller than the minimum file size
                                  (4 records).



MPE/iX 5.0 Documentation