[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[open-cobol-list] To correct OpenCOBOL 1.1 Programmers Guide page 5-2 ?
From: |
Fred Mobach |
Subject: |
[open-cobol-list] To correct OpenCOBOL 1.1 Programmers Guide page 5-2 ? |
Date: |
Wed, 7 Mar 2012 15:11:50 +0100 |
User-agent: |
KMail/1.9.10 |
Hello,
While reading time and again the OpenCOBOL 1.1 Programmers Guide
paragraph 5.1. FD - File Description I question now if in the RECORD
clause the entry [ FROM integer-5 [ TO integer-6 ] CHARACTERS is indeed
optional. So I tested both options (according to diff :
25c25
< characters
---
> from 4 to 256 characters
and the program without the FROM ... to ... entry results in an error
message at runtime:
libcob: Record overflow (STATUS = 44) File : 'outfile'
N.B. The same program without the entry FROM integer-5 [ TO
integer-6 ]CHARACTERS results in the same runtime error message sited
above.
--
Fred Mobach
website : https://fred.mobach.nl
.... In God we trust ....
.. The rest we monitor ..
- [open-cobol-list] To correct OpenCOBOL 1.1 Programmers Guide page 5-2 ?,
Fred Mobach <=