|
From: | vince |
Subject: | [open-cobol-list] To correct OpenCOBOL 1.1 Programmers Guide page 5-2 ? |
Date: | Wed, 7 Mar 2012 19:10:04 +0000 |
User-agent: | KMail/1.13.5 (Linux/2.6.33.7-server-2mnb; KDE/4.4.5; i686; ; ) |
Hi; On Wednesday 07 Mar 2012 14:11:50 Fred Mobach wrote: > 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. It is beginning to feel that the record you are reading in is larger than the declared size according to the 01 record description which is exactly what error 44 means. Vince
[Prev in Thread] | Current Thread | [Next in Thread] |