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: john Culleton
Subject: Re: [open-cobol-list] TABLES and TEXT
Date: Fri, 22 Feb 2013 16:45:23 -0500

On Thu, 21 Feb 2013 19:03:28 +0000
Robert Wolfe <address@hidden> 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.

 You need a book, almost any book, on COBOL to start. The free
Open Cobol manual is an excellent reference text. Try Amazon for
used text books etc. Or perhaps your public library has something
you can borrow. Many of us learned COBOL with the manual in one
hand and a printout of an existing program in the other.
Unfortunately most COBOL books are high priced because they
target a market of COBOL programmers who make their livings
writing the language. 

Don't worry about the 2002 extensions just yeat. Master COBOL 85
and then move forward.

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: "Create Book Covers with Scribus"
available at http://www.booklocker.com/books/4055.html


reply via email to

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