A. Run-Time Error Messages

Similar documents
Error num: 1 Meaning: Not owner Error num: 2 Meaning: No such file or directory Error num: 3 Meaning: No such process Error num: 4 Meaning:

write (unit=*,fmt=*) i =, i! will print: i = 3

Error Code. GO Software Pty Limited Map: 27 Tacoma Blvd, Pasadena SA 5042 ABN: ACN:

c Microsoft, 1977, 1978, 1979

BEA Tuxedo. System Messages CMDFML Catalog

Contents. Error Message Descriptions... 7

Watcom FORTRAN 77. Language Reference. Edition 11.0c

Fortran 77 Language Reference Manual

ARM Angel SWI Instruction Usage

by Pearson Education, Inc. All Rights Reserved. 2

Lecture 9: File Processing. Quazi Rahman

Parallel Fortran Version Release Note

Some More I O definitions

Chapter 3. Fortran Statements

520 Cant empty Clipboard 521 Cant open Clipboard Expression not valid:.

Introduction to Modern Fortran

CSI 402 Lecture 2 Working with Files (Text and Binary)

UIL Diagnostic Messages

File Operations. Lecture 16 COP 3014 Spring April 18, 2018

Homework #3 CS2255 Fall 2012

TPS / 3270 TCP /IP. TPS /TN3270 Client Troubleshooting Quickstart Guide. Application Level. Protocol Level. Device Driver Level

PACKAGE SPECIFICATION HSL 2013

To obtain the current global trace mask, call meitraceget(...). To modify the global trace mask, call meitraceset(...).

FORTRAN WATFIV. Mohammed Aslam CIS 24 Prof. Kopec Report 01 Date: 03/03/03

Ρουτίνες Λειτουργίας (DOS function calls)

Arrays. Lecture 9 COP 3014 Fall October 16, 2017

Verification & Validation of Open Source

Binghamton University. CS-220 Spring Includes & Streams

Logical disks. Bach 2.2.1

4. System Functions and Subroutines

CSC209: Software tools. Unix files and directories permissions utilities/commands Shell programming quoting wild cards files

CSC209: Software tools. Unix files and directories permissions utilities/commands Shell programming quoting wild cards files. Compiler vs.

UNIT IV-2. The I/O library functions can be classified into two broad categories:

Computational Methods of Scientific Programming. Lecturers Thomas A Herring Chris Hill

dbx90: Fortran debugger March 9, 2009

CMPS 105 Systems Programming. Prof. Darrell Long E2.371

Introduction PL/1 Programming

Contents. A Review of C language. Visual C Visual C++ 6.0

Day14 A. Young W. Lim Tue. Young W. Lim Day14 A Tue 1 / 15

FORM 2 (Please put your name and form # on the scantron!!!!)

CS246 Spring14 Programming Paradigm Files, Pipes and Redirection

Input / Output Functions

Lecture V: Introduction to parallel programming with Fortran coarrays

Problem Solving and 'C' Programming

This manual is intended for Fortran 77 programmers who want to use Fortran 77 under GCOS7.

Parameter Passing in C. Pointer Arithmetic. Parameter Passing in C. Pointer Arithmetic. Pointer Arithmetic. Tevfik Ko!ar

Stream Model of I/O. Basic I/O in C

psed [-an] script [file...] psed [-an] [-e script] [-f script-file] [file...]

File Access. FILE * fopen(const char *name, const char * mode);

CSC209 Review. Yeah! We made it!

UNIT I INTRODUCTION TO UNIX & FILE SYSTEM

CS 3013 Operating Systems WPI, A Term Assigned: Friday, August 31, 2007 Due: Monday, September 17, 2007

03-348r0 SBC-2 4-byte LBA commands on 8 byte capable drives 11 October 2003

C mini reference. 5 Binary numbers 12

Arrays and Strings. Antonio Carzaniga. February 23, Faculty of Informatics Università della Svizzera italiana Antonio Carzaniga

SMD149 - Operating Systems - File systems

Model Viva Questions for Programming in C lab

Release 12. XPRESS-MP Modeller Subroutine Library XMSL. Reference Manual

ScreenCreator and DirectTouch panel Error Codes

NOTE: Debug and DebugSingle are the only MPI library configurations that will produce trace output.

Mode Meaning r Opens the file for reading. If the file doesn't exist, fopen() returns NULL.

Programming with Fortran and C. Style and rules Statements Examples Compilers and options

Compiling and Interpreting Programming. Overview of Compilers and Interpreters

COP4020 Programming Languages. Compilers and Interpreters Robert van Engelen & Chris Lacher

C How to Program, 6/e by Pearson Education, Inc. All Rights Reserved.

Standard File Pointers

M1-R4: Programing and Problem Solving using C (JAN 2019)

Should you know scanf and printf?

CROSSREF Manual. Tools and Utilities Library

InterSci. Version 2.1. Scilab Group. May All Scilab primitive functions are dened in a set of interface routines. For each function the

reclaim disk space by shrinking files

MPI: A Message-Passing Interface Standard

Test Requirement Catalog. Generic Clues, Developer Version

File IO and command line input CSE 2451

Rocket UniVerse. GCI Guide. Version November 2013 UNV-112-GCI-1

Systems Programming. 08. Standard I/O Library. Alexander Holupirek

NAGWare f95 and reliable, portable programming.

SAINT2. System Analysis Interface Tool 2. Emulation User Guide. Version 2.5. May 27, Copyright Delphi Automotive Systems Corporation 2009, 2010

Text Output and Input; Redirection

Lecture 7: file I/O, more Unix

DATA STRUCTURES USING C

Day14 A. Young W. Lim Thr. Young W. Lim Day14 A Thr 1 / 14

This document is intended for users of UniBasic. Copyright 1998 Dynamic Concepts, Inc. (DCI). All rights reserved.

CISQ Weakness Descriptions

Chapter 4. Fortran Arrays

Computer Security. Robust and secure programming in C. Marius Minea. 12 October 2017

Reading Assignment. Strings. K.N. King Chapter 13. K.N. King Sections 23.4, Supplementary reading. Harbison & Steele Chapter 12, 13, 14

Computer Science 330 Operating Systems Siena College Spring Lab 5: Unix Systems Programming Due: 4:00 PM, Wednesday, February 29, 2012

SMC-3 Vendor Specific Sense Code Survey

Content. Input Output Devices File access Function of File I/O Redirection Command-line arguments

CS113: Lecture 7. Topics: The C Preprocessor. I/O, Streams, Files

This code has a bug that allows a hacker to take control of its execution and run evilfunc().

Introduction. Secondary Storage. File concept. File attributes

CYSE 411/AIT681 Secure Software Engineering Topic #12. Secure Coding: Formatted Output

2/9/18. CYSE 411/AIT681 Secure Software Engineering. Readings. Secure Coding. This lecture: String management Pointer Subterfuge

C++ Programming. Arrays and Vectors. Chapter 6. Objectives. Chiou. This chapter introduces the important topic of data structures collections

Run Time Environment. Procedure Abstraction. The Procedure as a Control Abstraction. The Procedure as a Control Abstraction

BEA Tuxedo. System Messages GP Catalog

Micro Focus RM/COBOL. RM/COBOL Syntax Summary

SAS Data Libraries. Definition CHAPTER 26

Transcription:

Appendix A A. Table A-1 lists possible Fortran run-time I/O errors. Other errors given by the operating system may also occur (refer to the intro(2) and perror(3f) reference pages for details). Each error is listed on the screen alone or with one of the following phrases appended to it: apparent state: unit num named user filename last format: string lately (reading, writing) (sequential, direct, indexed) formatted, unformatted (external, internal) IO When the Fortran run-time system detects an error, the following actions take place: A message describing the error is written to the standard error unit (Unit 0). A core file, which can be used with dbx (the debugger) to inspect the state of the program at termination, is produced if the f77_dump_flag environment variable is defined and set to y. When a run-time error occurs, the program terminates with one of the error messages shown in Table A-1. The errors are output in the format user filename : message. Table A-1 100 error in format Illegal characters are encountered in FORMAT statement. 101 out of space for I/O unit table Out of virtual space that can be allocated for the I/O unit table. 155

Appendix A: Table A-1 (continued) 102 formatted io not allowed Cannot do formatted I/O on logical units opened for unformatted I/O. 103 unformatted io not allowed Cannot do unformatted I/O on logical units opened for formatted I/O. 104 direct io not allowed Cannot do direct I/O on sequential file. 106 can t backspace file Cannot perform BACKSPACE/REWIND on file. 107 null file name Filename specification in OPEN statement is null. 108 can t stat file The directory information for the file is not accessible. 109 file already connected The specified filename has alr eady been opened as a different logical unit. 110 off end of record Attempt to do I/O beyond the end of the record. 112 incomprehensible list input Input data for list-directed read contains invalid character for its data type. 113 out of free space Cannot allocate virtual memory space on the system. 114 unit not connected Attempt to do I/O on unit that has not been opened or cannot be opened. 115 read unexpected character Unexpected character encountered in formatted or directed read. 116 blank logical input field Invalid character encountered for logical value. 156

Table A-1 (continued) 117 bad variable type Specified type for the namelist element is invalid. This error is most likely caused by incompatible versions of the front end and the run-time I/O library. 118 bad namelist name The specified namelist name cannot be found in the input data file. 119 variable not in namelist The namelist variable name in the input data file does not belong to the specified namelist. 120 no end record $END is not found at the end of the namelist input data file. 121 namelist subscript out of range The array subscript of the character substring value in the input data file exceeds the range for that array or character string. 122 negative repeat count The repeat count in the input data file is less than or equal to zero. 123 illegal operation for unit You cannot set your own buffer on direct unformatted files. 124 off beginning of record Format edit descriptor causes positioning to go off the beginning of the record. 125 no * after repeat count An asterisk (*) is expected after an integer repeat count. 126 'new' file exists The file is opened as new but already exists. 127 can t find 'old' file The file is opened as old but does not exist. 128 unknown system error An unexpected error was returned by IRIX. 129 requires seek ability The file is on a device that cannot do direct access. 157

Appendix A: Table A-1 (continued) 130 illegal argument Invalid value in the I/O control list. 131 duplicate key value on write Cannot write a key that already exists. 132 indexed file not open Cannot perform indexed I/O on an unopened file. 133 bad isam argument The indexed I/O library function receives a bad argument because of a corrupted index file or bad run-time I/O libraries. 134 bad key description The key description is invalid. 135 too many open indexed files Cannot have more than 32 open indexed files. 136 corrupted isam file The indexed file format is not recognizable. This error is usually caused by a corrupted file. 137 isam file not opened for exclusive access Cannot obtain lock on the indexed file. 138 record locked The record has already been locked by another process. 138 key already exists The key specification in the OPEN statement has already been specified. 140 cannot delete primary key DELETE cannot be executed on a primary key. 141 beginning or end of file reached The index for the specified key points beyond the length of the indexed data file. This error is probably because of corrupted ISAM files or a bad indexed I/O run-time library. 158

Table A-1 (continued) 142 cannot find request record The requested key for indexed READ does not exist. 143 current record not defined Cannot execute REWRITE, UNLOCK, or DELETE before doing a READ to define the current record. 144 isam file is exclusively locked The indexed file has been exclusively locked by another process. 145 filename too long The indexed filename exceeds 128 characters. 148 key structure does not match file structure Mismatch between the key specifications in the OPEN statement and the indexed file. 149 direct access on an indexed file not allowed Cannot have direct-access I/O on an indexed file. 150 keyed access on a sequential file not allowed Cannot specify keyed access together with sequential organization. 151 keyed access on a relative file not allowed Cannot specify keyed access together with relative organization. 152 append access on an indexed file not allowed Cannot specify append access together with indexed organization. 153 must specify record length A record length specification is required when opening a direct or keyed access file. 154 key field value type does not match key type The type of the given key value does not match the type specified in the OPEN statement for that key. 155 character key field value length too long The length of the character key value exceeds the length specification for that key. 156 fixed record on sequential file not allowed RECORDTYPE='fixed' cannot be used with a sequential file. 159

Appendix A: Table A-1 (continued) 157 variable records allowed only on unformatted sequential file RECORDTYPE='variable' can only be used with an unformatted sequential file. 158 stream records allowed only on formatted sequential file RECORDTYPE='stream_lf' can only be used with a formatted sequential file. 159 maximum number of records in direct access file exceeded The specified record is bigger than the MAXREC= value used in the OPEN statement. 160 attempt to create or write to a read-only file User does not have write permission on the file. 161 must specify key descriptions Must specify all the keys when opening an indexed file. 162 carriage control not allowed for unformatted units CARRIAGECONTROL specifier can be used only on a formatted file. 163 indexed files only Indexed I/O can be done only on logical units that have been opened for indexed (keyed) access. 164 cannot use on indexed file Illegal I/O operation on an indexed (keyed) file. 165 cannot use on indexed or append file Illegal I/O operation on an indexed (keyed) or append file. 167 invalid code in format specification Unknown code is encountered in format specification. 168 invalid record number in direct access file The specified record number is less than 1. 169 cannot have endfile record on non-sequential file Cannot have an endfile on a direct- or keyed-access file. 170 cannot position within current file Cannot perform fseek() on a file opened for sequential unformatted I/O. 160

Table A-1 (continued) 171 cannot have sequential records on direct access file Cannot do sequential formatted I/O on a file opened for direct access. 173 cannot read from stdout Attempt to read from stdout. 174 cannot write to stdin Attempt to write to stdin. 175 stat call failed in f77inode The directory information for the file is unreadable. 176 illegal specifier The I/O control list contains an invalid value for one of the I/O specifiers. For example, ACCESS='INDEXED'. 180 attempt to read from a writeonly file User does not have read permission on the file. 181 direct unformatted io not allowed Direct unformatted file cannot be used with this I/O operation. 182 cannot open a directory The name specified in FILE= must be the name of a file, not a dir ectory. 183 subscript out of bounds The exit status returned when a program compiled with the C option has an array subscript that is out of range. 184 function not declared as varargs Variable argument routines called in subroutines that have not been declared in a $VARARGS directive. 185 internal error Internal run-time library error. 186 Illegal input character in formatted read. The numeric input field in a formatted file contains non-blank characters beyond the maximum usable field width of 83 characters. 161

Appendix A: Table A-1 (continued) 187 Position specifier is allowed on sequential files only Cannot have a position specifier in a format statement for a non-sequential file. 188 Position specifier has an illegal value The position specifier has a value that does not make sense. 189 Out of memory The system is out of memory for allocation. Try to allocate more swap space. 195 Cannot keep a file opened as a scratch file. If a file is opened as a scratch file, it cannot be kept when closed, and is automatically deleted. 162