In the end it was the stupidest thing, I did the tests on the previously used server and the gclib version was too old compared to the new libraries.
Yes, the library have a different name disam72_for_cobol.so. I tried to link to libdisam72.so but I still get errors. Just for a stupid test I move in the lib directory the libdisam72.so from the 2021 evaluation keeping the new headers and the configure work, off course I didn't build. I'm emailing with the support, I'll keep you updated. Attached the configure log with the error.
Good morning, I'm trying to compile GnuCobol 3.2 with DISAM, evaluation version with expiration 31/12/2023. configure can't find the libraries with --with-disam I passed CPPFLAGS= and LDFLAGS= to configure for the DISAM headers and libraries as I always have, with the version expired on 31/12/2021 configure still works. The latest DISAM package is slightly different from the previous ones and I assume it depends on that. I've already sent a communication to the manufacturer and waiting for a response...
Thanks for the clarification. I know that the correct practice consists in initializing all the variables, but the doubt came to me as coming from another compiler, mf, which instead resets the table fields in both cases.
Hello, it's not clear to me why depending on how a table is defined the fields are "zeroed" or not. In the example, field 1 is not space while field 2 is. I tried looking in the manual and on the net without finding a clearing answer. Is there a reason or is it a compiler "problem"? Test environment: cobc (GnuCOBOL) 3.2-preview.0 Copyright (C) 2022 Free Software Foundation, Inc. <...> C version "4.8.5" cobc ARRAYT.CBL cobcrun ARRAYT ARRAY TEST VARRAY-01= < ARRAY END ARRAYT.CBL IDENTIFICATION DIVISION....
Any news ? I checked the link but I find only the old archives. Bye.
Hi, great, you hit the target on the first shot, I found a copybook, in the FILE SECTION, without the 'FD', moved it to WORKING-STORAGE SECTION. where it should have been and everything work fine. The example you provide also clarifies the meaning of the rocord_min and answer all my questions. Thanks a lot.
I have a strange problem here, first my enviroment cobc (GnuCOBOL) 3.1.2.0 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Keisuke Nishida, Roger While, Ron Norman, Simon Sobisch, Edward Hart Built Dec 29 2020 14:25:01 Packaged Dec 23 2020 12:04:58 UTC C version...