gnucobol-users
[Top][All Lists]
Advanced

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

Re: [open-cobol-list] TABLES and TEXT


From: Robert Wolfe
Subject: Re: [open-cobol-list] TABLES and TEXT
Date: Fri, 22 Feb 2013 00:50:39 +0000

I am just curious -- are tables even supported?  It would seem by the output of 
the compiler that they are not.  Please correct me if I am wrong here.


________________________________________
From: vince
Sent: Thursday, February 21, 2013 5:14 PM
To: address@hidden
Subject: Re: [open-cobol-list] TABLES and TEXT

Hi

To work out what is wrong wee need to see the source code.
However that said, it seems you are using reserved words as your variable
names and that's a serious no-no so change them. You can eg, just add say 1
eg, table1, text1 etc for err 4, 30, 51.

Vince

On Thursday 21 Feb 2013 19:03:28 Robert Wolfe wrote:
> Hi all!
>
> New to COBOL and trying to learn it by looking at online resources plus
> working with my housemate, who does RPG and COBOL programming on the
> iSeries platform.
>
> I am working on a small program that uses tables and when I go to run the
> cobc -x command to compile the code, I get the following errors:
>
> address@hidden:~/cobol$ cobc -x tables.cob
> tables.cob:4: Error: 'table' reserved word, but not supported yet
> tables.cob:30: Error: 'text' reserved word, but not supported yet
> tables.cob:19: Error: Level 01 item 'result' cannot have OCCURS clause
> tables.cob:27: Error: Level 01 item 'res-text' cannot have OCCURS clause
> tables.cob: In section 'main':
> tables.cob:51: Error: 'text' reserved word, but not supported yet
>
> If it helps any, 'cobc --version' returns the following information:
>
> address@hidden:~/cobol$ cobc --version
> cobc (OpenCOBOL) 1.1.0
> Copyright (C) 2001-2009 Keisuke Nishida / Roger While
> Built    Feb 21 2013 10:50:17
> Packaged Feb 06 2009 10:30:55 CET
>
> Thanks for any insight anyone can give this newbie.
--
IMPORTANT – This email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any
medium. Please also delete all copies of this email and any attachments from
your system.

If this is an encrypted email it is your responsibility to maintain the 1024
byte key system even for one-use keys. Once mail has been sent the sending key
is not kept and therefore a replacement mail cannot be resent.

We cannot guarantee the security or confidentiality of non encrypted email
communications. We do not accept any liability for losses or damages that you
may suffer as a result of your receipt of this email including but not limited
to computer service or system failure, access delays or interruption, data
non-delivery or mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belongs to Applewood Computers.
Should you communicate with anyone at Applewood Computers by email, you
consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation (unless it is against Security
requirements).

Dykegrove Limited T/A Applewood Computers is a company registered in England
(number 01681349) whose registered office is at Applewood House, Epping Road,
Roydon, Essex, CM19 5DA




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
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]