- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the filename is6300kb
OPEN(3,FILE=FILENAME,STATUS='OLD',RECL=3225600,ACCESS='DIRECT',FORM='UNFORMATTED')
error followed:
forrtl: severe (36): attempt to access non-existent record, unit 3,f:\tmi_20060801v4,
i wonder whether the value of recl isn't approperite,thanks for anyone solves the ploblem!
OPEN(3,FILE=FILENAME,STATUS='OLD',RECL=3225600,ACCESS='DIRECT',FORM='UNFORMATTED')
error followed:
forrtl: severe (36): attempt to access non-existent record, unit 3,f:\tmi_20060801v4,
i wonder whether the value of recl isn't approperite,thanks for anyone solves the ploblem!
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you expecting the record length to be measured in bytes?
Default for CVF/IVF compilers is to measure record length for unformatted direct access files in WORDS.
The filesize of 6300kb looks like the file might hold 2 records of 3 million+ bytes.
Default for CVF/IVF compilers is to measure record length for unformatted direct access files in WORDS.
The filesize of 6300kb looks like the file might hold 2 records of 3 million+ bytes.
You can try dividing your record size by 4, or use a compiler switch to override the default behavior.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you expecting the record length to be measured in bytes?
Default for CVF/IVF compilers is to measure record length for unformatted direct access files in WORDS.
The filesize of 6300kb looks like the file might hold 2 records of 3 million+ bytes.
Default for CVF/IVF compilers is to measure record length for unformatted direct access files in WORDS.
The filesize of 6300kb looks like the file might hold 2 records of 3 million+ bytes.
You can try dividing your record size by 4, or use a compiler switch to override the default behavior.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - jparsly
Are you expecting the record length to be measured in bytes?
Default for CVF/IVF compilers is to measure record length for unformatted direct access files in WORDS.
The filesize of 6300kb looks like the file might hold 2 records of 3 million+ bytes.
Default for CVF/IVF compilers is to measure record length for unformatted direct access files in WORDS.
The filesize of 6300kb looks like the file might hold 2 records of 3 million+ bytes.
You can try dividing your record size by 4, or use a compiler switch to override the default behavior.
/assume:byterecl,buffered_io
other ways are offered as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank u very much...i use the compile switch to use bytes as recl,and it really works:)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page