HP 3000 Manuals

Run-Time Errors [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation


HP FORTRAN 77/iX Reference

Run-Time Errors 

900        RUN-TIME ERROR  Error in format

         CAUSE           Format specification contains unrecognizable
                         code or string, contains an impossible format
                         (F0.s or G2.9, for example), or a format
                         descriptor describes a field too wide for
                         internal buffers.

         ACTION          Change format specification to proper syntax.

901        RUN-TIME ERROR  Negative unit number specified

         CAUSE           Unit number was not greater than or equal to
                         zero.

         ACTION          Use a nonnegative unit number.

902        RUN-TIME ERROR  Formatted I/O attempted on unformatted file

         CAUSE           Formatted I/O was attempted on a file opened for
                         unformatted I/O.

         ACTION          Open the file for formatted I/O; do unformatted
                         I/O on this file.

903        RUN-TIME ERROR  Unformatted I/O attempted on formatted file

         CAUSE           Unformatted I/O was attempted on a file opened
                         for formatted I/O. Terminals, for example, are
                         opened as formatted files.

         ACTION          Open the file for unformatted I/O; do formatted
                         I/O on this file.

904        RUN-TIME ERROR  Direct I/O attempted on sequential file

         CAUSE           Direct operation attempted on sequential file;
                         direct operation attempted on opened file
                         connected to a terminal.

         ACTION          Use sequential operations on this file; open
                         file for direct access; do not do direct I/O on
                         a file connected to a terminal.

905        RUN-TIME ERROR  Error in list-directed read of logical data

         CAUSE           Found repeat value, but no asterisk; first
                         character after optional decimal point was not T
                         or F.

         ACTION          Change input data to correspond to syntax
                         expected by list-directed input of logicals; use
                         input statement that corresponds to syntax of
                         input data.

907        RUN-TIME ERROR  Error in list-directed I/O read of character
                         data

         CAUSE           Found repeat value, but no asterisk; characters
                         item not delimited by quotation marks.

         ACTION          Change input data to correspond to syntax
                         expected by list-directed input of characters;
                         use input statement that corresponds to syntax
                         of input data.

908        RUN-TIME ERROR  Could not open file specified

         CAUSE           Tried to open a file that the system would not
                         allow because:  (1) access to the file was
                         denied by the file system due to access
                         restriction, or (2) named file does not exist,
                         or (3) type of access requested is impossible.

         ACTION          Correct the name to invoke the file intended.

909        RUN-TIME ERROR  Sequential I/O attempted on direct access file

         CAUSE           Attempted a BACKSPACE, REWIND, or ENDFILE on a
                         terminal or other device for which these
                         operations are not defined.

         ACTION          Do not use BACKSPACE, REWIND, or ENDFILE.

910        RUN-TIME ERROR  Access past end of record attempted

         CAUSE           Tried to do I/O on record of a file past
                         beginning or end of record.

         ACTION          Perform I/O operation within bounds of the
                         record; increase record length.

912        RUN-TIME ERROR  Error in list I/O read of complex data

         CAUSE           Problem reading complex data:  (1) no left
                         parenthesis and no repeat value, or (2) found
                         repeat value, but no asterisk, or (3) no comma
                         after real part, or (4) no closing right
                         parenthesis.

         ACTION          Change input data to correspond to syntax
                         expected by list-directed input of complex
                         numbers; use input statement corresponding to
                         syntax of input data.

913        RUN-TIME ERROR  Out of free space

         CAUSE           Library cannot allocate an I/O block (from an
                         OPEN statement), parse array (for formats
                         assembled at run time), file name string (from
                         OPEN), or characters from list-directed read.

         ACTION          Allocate more free space in the heap area; open
                         fewer files; use FORMAT statements in place of
                         assembling formats at run time in character
                         arrays; read fewer characters.  Use the
                         "MAXSIZE" kernel parameter to change the heap
                         size for the Series 800.

914        RUN-TIME ERROR  Access of unconnected unit attempted

         CAUSE           Unit specified in I/O statement has not
                         previously been connected to anything.

         ACTION          Connect unit before attempting I/O on it (that
                         is, OPEN it); perform I/O on another already
                         connected unit.

915        RUN-TIME ERROR  Read unexpected character

         CAUSE           Read a character that is not admissible for the
                         type conversion being performed; input a value
                         into a variable that was too large for the type
                         of the variable.

         ACTION          Remove from input data any characters that are
                         illegal in integers or real numbers.

916        RUN-TIME ERROR  Error in read of logical data

         CAUSE           An illegal character was read when logical data
                         was expected.

         ACTION          Change input data to correspond to syntax
                         expected when reading logical data; use input
                         statement corresponding to syntax of input data.

917        RUN-TIME ERROR  Open with named scratch file attempted

         CAUSE           Executed OPEN statement with STATUS='SCRATCH',
                         but also named the file.

         ACTION          Either open file with STATUS='SCRATCH', or name
                         the file in an OPEN statement.

918        RUN-TIME ERROR  Open of existing file with STATUS='NEW'
                         attempted

         CAUSE           Executed OPEN statement with STATUS='NEW', but
                         file already exists.

         ACTION          Use OPEN without STATUS specifier, or with
                         STATUS='OLD', or STATUS='UNKNOWN'.

920        RUN-TIME ERROR  Open of file connected to different unit
                         attempted

         CAUSE           Executed OPEN statement with a UNIT specifier
                         that is already associated with a different file
                         name.

         ACTION          Use an OPEN statement with a UNIT specifier that
                         is not connected to a file name; open the
                         connected file to the same unit name.

921        RUN-TIME ERROR  Unformatted open with BLANK specifier
                         attempted

         CAUSE           OPEN statement specified with FORM='UNFORMATTED'
                         and BLANK=XX.

         ACTION          Use either FORM='FORMATTED' or BLANK=XX when
                         opening files.

922        RUN-TIME ERROR  Read on illegal record attempted

         CAUSE           Attempted to read a record of a formatted or
                         unformatted direct file that is beyond the
                         current end-of-file.

         ACTION          Read records that are within the bounds of the
                         file.

923        RUN-TIME ERROR  Open with illegal FORM specifier attempted

         CAUSE           FORM specifier did not begin with "F", "f", "U",
                         or "u".

         ACTION          Use either 'FORMATTED' or 'UNFORMATTED' for the
                         FORM specifier in an OPEN statement.

924        RUN-TIME ERROR  Close of scratch file with STATUS='KEEP'
                         attempted

         CAUSE           The file specified in the CLOSE statement was
                         previously opened with 'SCRATCH' specified in
                         the STATUS specifier.

         ACTION          Open the file with a STATUS other than
                         'SCRATCH'; do not specify STATUS='KEEP' in the
                         CLOSE statement for this scratch file.

925        RUN-TIME ERROR  Opened with illegal STATUS specifier attempted

         CAUSE           STATUS specifier did not begin with "O", "o",
                         "N", "n", "S", "s", "U", or "u".

         ACTION          Use 'OLD', 'NEW', 'SCRATCH', or 'UNKNOWN' for
                         the STATUS specifier in OPEN statement.

926        RUN-TIME ERROR  Close with illegal STATUS specifier attempted

         CAUSE           STATUS specifier did not begin with "K", "k",
                         "D", or "d".

         ACTION          Use 'KEEP' or 'DELETE' for the STATUS specifier
                         in a CLOSE statement.

927        RUN-TIME ERROR  Open with illegal ACCESS specifier attempted

         CAUSE           ACCESS specifier did not begin with "S", "s",
                         "D", or "d".

         ACTION          Use 'SEQUENTIAL' or 'DIRECT' for the ACCESS
                         specifier in an OPEN statement.

929        RUN-TIME ERROR  Open of direct file with no RECL specifier
                         attempted

         CAUSE           OPEN statement had ACCESS='DIRECT', but no RECL
                         specifier.

         ACTION          Add RECL specifier; specify ACCESS='SEQUENTIAL'.

930        RUN-TIME ERROR  Open with RECL less than 1 attempted

         CAUSE           RECL specifier in OPEN statement was less than
                         or equal to zero.

         ACTION          Use a positive number for RECL specifier in OPEN
                         statement.

931        RUN-TIME ERROR  Open with illegal BLANK specifier attempted

         CAUSE           BLANK specifier did not begin with "N", "n",
                         "Z", or "z".

         ACTION          Use 'NULL' or 'ZERO' for BLANK specifier in OPEN
                         statement.

933        RUN-TIME ERROR  Sequential end-of-file with no END= specifier

         CAUSE           End-of-file mark read by a READ with no END=
                         specifier indicating a label to which to jump.

         ACTION          Use the END= specifier to handle the EOF; check
                         logic.

934        RUN-TIME ERROR  OPEN of readonly file with ACCESS='APPEND'
                         ATTEMPTED

         CAUSE

         ACTION

936        RUN-TIME ERROR  Append I/O attempted on sequential only
                         file/device

         CAUSE

         ACTION

937        RUN-TIME ERROR  Illegal record number specified

         CAUSE           Record number less than one was specified for
                         direct I/O.

         ACTION          Use record numbers greater than zero.

942        RUN-TIME ERROR  Error in list-directed read - character data
                         read for assignment to noncharacter variable

         CAUSE           A character string was read for a numerical or
                         logical variable.

         ACTION          Check input data and input variable type.

944        RUN-TIME ERROR  Record too long in direct unformatted I/O

         CAUSE           Output requested is too long for specified (or
                         preexisting) record length.

         ACTION          Make the number of bytes output by WRITE less
                         than or equal to the file record size.

945        RUN-TIME ERROR  Error in formatted I/O

         CAUSE           More bytes of I/O were requested than exist in
                         the current record.

         ACTION          Match the format to the data record.

950        RUN-TIME ERROR  Subscript, substring, or parameter out of
                         bounds at statement number nnn 

         CAUSE           An index to an array or substring reference was
                         outside of the declared limits at the specified
                         statement number.

         ACTION          Check all indexes to arrays and substrings in
                         and around the given statement number.

951        RUN-TIME ERROR  Label out of bounds in assigned GOTO at
                         statement number nnn 

         CAUSE           The value of the variable did not correspond to
                         any of the labels in the list in an assigned
                         GOTO statement.
         ACTION          Check for a possible logic error in the program
                         or an incorrect list in the assigned GOTO
                         statement at or near the given statement number.

952        RUN-TIME ERROR  Zero increment value in DO loop at statement
                         number nnn 

         CAUSE           A DO loop with a zero increment has produced an
                         infinite loop.

         ACTION          Check for a logic error in or near the given
                         statement number.

953        RUN-TIME ERROR  No repeatable format descriptor in format
                         string

         CAUSE           No format descriptor was found to match I/O list
                         items.

         ACTION          Add at least one repeatable format descriptor to
                         format statement.

954        RUN-TIME ERROR  Illegal use of empty format

         CAUSE           An empty format, (), was used with list items
                         specified.

         ACTION          Remove items from I/O list; fill in format
                         specifications with appropriate format
                         descriptors.

955        RUN-TIME ERROR  Open with no FILE= and STATUS='OLD' or 'NEW'

         CAUSE           OPEN statement is incomplete.

         ACTION          Change status to 'SCRATCH' or 'UNKNOWN' or add
                         file specifier.

956        RUN-TIME ERROR  File system error

         CAUSE           The file system returned an error status during
                         an I/O operation.

         ACTION          See the associated file system error message.

957        RUN-TIME ERROR  Format descriptor incompatible with numeric
                         item in I/O list

         CAUSE           A numeric item in the I/O list was matched with
                         a nonnumeric format descriptor.

         ACTION          Match format descriptors to I/O list.

958        RUN-TIME ERROR  Format descriptor incompatible with character
                         item in I/O list

         CAUSE           A character item in the I/O list was matched
                         with a format descriptor other than "A" or "R".

         ACTION          Match format descriptors to I/O list.

959        RUN-TIME ERROR  Format descriptor incompatible with logical
                         item in I/O list

         CAUSE           A logical item in the I/O list was matched with
                         a format descriptor other than "L".

         ACTION          Match format descriptors to I/O list.

960        RUN-TIME ERROR  Format error: Missing starting left
                         parenthesis

         CAUSE           Format did not begin with a left parenthesis.

         ACTION          Begin format with left parenthesis.

961        RUN-TIME ERROR  Format error: Invalid format descriptor

         CAUSE           Format descriptor did not begin with a character
                         that can start a legal format descriptor.

         ACTION          Specify correct format descriptor.

962        RUN-TIME ERROR  Unexpected character found following a number
                         in the format string

         CAUSE           Format error:  character in the set
                         IFEDGMNK@OLAR(PHX expected and not found.

         ACTION          Specify correct format descriptor to follow
                         number.

963        RUN-TIME ERROR  Format error: Trying to scale unscalable
                         format specifier

         CAUSE           The specifier being scaled is not "F", "E", "D",
                         "M", "N", or "G".

         ACTION          Scale only specifiers for floating-point I/O.

964        RUN-TIME ERROR  Format error: Parentheses too deeply nested

         CAUSE           Too many left parentheses for the format
                         processor to stack.

         ACTION          Nest parentheses less deeply.

965        RUN-TIME ERROR  Format error: Invalid tab specifier

         CAUSE           A specifier beginning with "T" is not a correct
                         tab specifier.

         ACTION          Correct the specifier beginning with "T".

966        RUN-TIME ERROR  Format error: Invalid blank specifier

         CAUSE           A specifier beginning with "B" did not have "N"
                         or "Z" as the next character.

         ACTION          Correct the specifier beginning with "B".

967        RUN-TIME ERROR  Format error: Specifier expected but end of
                         format found

         CAUSE           The end of the format was reached when another
                         specifier was expected.
         ACTION          Check the end of the format for a condition that
                         would lead the processor to look for another
                         specifier (possibly a missing right
                         parenthesis).

968        RUN-TIME ERROR  Format error: Missing separator

         CAUSE           Other specifier found when /, :, or ) expected.

         ACTION          Insert separator where needed.

969        RUN-TIME ERROR  Format error: Digit expected

         CAUSE           Number not found following format descriptor
                         requiring a field width.

         ACTION          Specify field width where required.

970        RUN-TIME ERROR  Format error: Period expected in floating
                         point format descriptor

         CAUSE           No period was found to specify the number of
                         decimal places in an "F", "G", "E", or "D"
                         format descriptor.

         ACTION          Specify the number of decimal places for the
                         field.

971        RUN-TIME ERROR  Format error: Unbalanced parentheses

         CAUSE           More right parentheses than left parentheses
                         were found.

         ACTION          Correct format so parentheses balance.

972        RUN-TIME ERROR  Format error: Invalid string in format

         CAUSE           String extends past the end of the format or is
                         too long for buffer.

         ACTION          Check for unbalanced quotation mark or for "H"
                         format count too large; or break up long string.

973        RUN-TIME ERROR  Record length different in subsequent OPEN

         CAUSE           Record length specified in redundant OPEN
                         conflicted with the value as opened.

         ACTION          Only BLANK= specifier may be changed by a
                         redundant OPEN.

974        RUN-TIME ERROR  Record accessed past end of internal file
                         record (variable)

         CAUSE           An attempt was made to transfer more characters
                         than internal file length.

         ACTION          Match READ or WRITE with internal file size.

975        RUN-TIME ERROR  Illegal new file number requested in fset
                         function

         CAUSE           The file number requested to be set was not a
                         legal file system file number.

         ACTION          Check that the FOPEN jsucceeded and the file
                         number is correct.

976        RUN-TIME ERROR  Unexpected character in "NAMELIST" read

         CAUSE           Unexpected character in NAMELIST read.

         ACTION          Remove illegal character from data.

977        RUN-TIME ERROR  Illegal subscript or substring in "NAMELIST"
                         read

         CAUSE           Illegal subscript or substring in NAMELIST read.

         ACTION          Specify only array elements within the bounds of
                         the array being read.

978        RUN-TIME ERROR  Too many values in "NAMELIST" read

         CAUSE           Too many values in NAMELIST read.

         ACTION          Supply only as many values as the length of the
                         array.

979        RUN-TIME ERROR  Variable not in "NAMELIST" group

         CAUSE           Variable not in NAMELIST group in NAMELIST read.

         ACTION          Read only the variables in this NAMELIST.

980        RUN-TIME ERROR  "NAMELIST" I/O attempted on unformatted file

         CAUSE           NAMELIST I/O on unformatted (binary) file.

         ACTION          Use NAMELIST I/O only on formatted files.

981        RUN-TIME ERROR  Value out of range in numeric read

         CAUSE           Value read for numeric item is to big/small.

         ACTION          Read only values that fit in the range of the
                         numeric type being read.

989        RUN-TIME ERROR  Illegal FORTRAN NLS call:  FORTRAN source code
                         must be compiled with -Y

         CAUSE           The FORTRAN source file was not compiled with
                         the -Y option and NLS features were used.  The
                         problem is critical enough that program
                         execution cannot continue.

         ACTION          Recompile the FORTRAN source code with -Y
                         option.

990        RUN-TIME ERROR  Open with illegal record type specifier

         CAUSE

         ACTION



MPE/iX 5.0 Documentation