- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have old unformatted files written by a program compiled with MS FPowerStation. Now I try to read them with the same program compiled with VF 6.6 and get the runtime error "forrtl: severe (22): input record too long" (reading with the FPS compiled program works OK)
Variable declaration: CHARACTER REM*140, DATI*32
The files were written like this:
OPEN(1, FILE=FNM, STATUS='UNKNOWN', ACCESS='SEQUENTIAL', FORM='UNFORMATTED', ERR=998)
WRITE(1) REM,DATI
and are read like this:
OPEN(1,FILE=FNM,STATUS='OLD',FORM='UNFORMATTED',ERR=998)
READ(1) REM, DATI
Can you tell me why is this and how to fix it? - thanks
Variable declaration: CHARACTER REM*140, DATI*32
The files were written like this:
OPEN(1, FILE=FNM, STATUS='UNKNOWN', ACCESS='SEQUENTIAL', FORM='UNFORMATTED', ERR=998)
WRITE(1) REM,DATI
and are read like this:
OPEN(1,FILE=FNM,STATUS='OLD',FORM='UNFORMATTED',ERR=998)
READ(1) REM, DATI
Can you tell me why is this and how to fix it? - thanks
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You also sent this to vf-support, where I replied that you need to turn on the option Compatibility..PowerStation..I/O Format.
Steve
Steve

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