bug-gnucobol
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] Bug Report


From: Sergey Kashyrin
Subject: Re: [open-cobol-list] Bug Report
Date: Mon Feb 13 22:31:02 2006

Matt,

What version of the Opencobol you're trying to use and what the platform ?
If it's not 0.33, I'm hightly recommend to use it because a lot of issues have 
already been resolved.

According Roger While snapshot tarball is at :
http://www.sim-basis.de/open-cobol-0.33.tar.gz


Regards,
Sergey


----- Original Message ----- From: "Matt Young" <address@hidden>
To: <address@hidden>
Sent: Monday, February 13, 2006 8:54 PM
Subject: [open-cobol-list] Bug Report


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a (possible) bug and I was hoping someone could help me with it.
I am attempting to compile a subprogram called hashsub.cbl.  No matter
what I do, I cannot compile with the using clause on the procedure
division.  Here is the linkage section and the procedure division in
question:

LINKAGE SECTION.
01  INV-NUM.
    05 INV-HALF-1           PIC 99.
    05 INV-HALF-2           PIC 99.
01  PAGE-COUNT              PIC 99.
01  RETURN-KEY              PIC 999.
PROCEDURE DIVISION
     USING INV-NUM PAGE-COUNT RETURN-KEY.
1000-HASHSUB.
    MOVE 10 TO SUM-OF-HALVES
    DIVIDE SUM-OF-HALVES BY PAGE-COUNT GIVING
         TRASH-DIVIDE-RESULT REMAINDER RETURN-KEY.
    ADD 2 TO RETURN-KEY
    EXIT PROGRAM.
here is the error when I compile:
/tmp/cobKFODur.c: In function `main':
/tmp/cobKFODur.c:105: error: too few arguments to function `hashsub'

If I remove the "USING" clause from the procedure division, it compiles
just fine.  Also where do I go to see the list of known bugs?  Is there
a workaround for this one
- --
Cheers,
Matt Young
address@hidden
GPG Public Key: http://youngdev.net/?page=gpg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD8ThhOLPtyzxdcQYRAo2sAKCNzwjbgeZcNRBEN5TYOpqs0azxKwCbBBqP
LfSrl8kO7SaaCZD8Rbg7TsQ=
=dIFV
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
open-cobol-list mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/open-cobol-list


reply via email to

[Prev in Thread] Current Thread [Next in Thread]