[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [open-cobol-list] Compile error (Maybe GLOBAL problem)
From: |
Bill Klein |
Subject: |
Re: [open-cobol-list] Compile error (Maybe GLOBAL problem) |
Date: |
Wed, 11 Feb 2009 02:08:26 -0600 |
Thanks Gary and Sergey,
This worked.
I have now attached the error message that I am getting to this thread
(and also "repeated" a copy of my original source code.
Now, all I need <G> is to know how to fix this or avoid this. (I'll also
post this to the forum)
> -----Original Message-----
> From: Gary Cowell [mailto:address@hidden
> Sent: Wednesday, February 11, 2009 1:07 AM
> To: address@hidden
> Subject: Re: [open-cobol-list] Compile error (Maybe GLOBAL problem)
>
> The errors are going to the stderr stream perhaps?
>
> Try
>
> cobc -x filetst.COB > errlist.lst 2>&1
>
> 2>&1 says, put the stderr stream to the same place as stdout,
> which is errlist.lst
>
>
>
>
>
> ----- Original Message ----
> From: Bill Klein <address@hidden>
> To: address@hidden
> Sent: Wednesday, 11 February, 2009 5:10:26
> Subject: [open-cobol-list] Compile error (Maybe GLOBAL problem)
>
> The attached program causes the compiler to have a problem.
> ("RelLen" not
> found - but it is defined and GLOBAL).
>
> Besides wanting suggestions on what to do to avoid the problem, I have
> another question.
>
> I wanted to include the "error message" in this post, but when I tried
>
> cobc -x filetst.COB > errlist.lst
>
> I don't get any output in that file (but do see the error
> message on my
> screen). As someone who isn't used to "Unix-type"
> environments, is there a
> way to get the error messages from a problem compile into a
> file? Sorry if
> this is a dumb question, but I just don't know how to do this.
>
>
>
>
>
> --------------------------------------------------------------
> ----------------
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing
> skills and code to
> build responsive, highly engaging applications that combine
> the power of local
> resources and data with the reach of the web. Download the
> Adobe AIR SDK and
> Ajax docs to start building applications
> today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> open-cobol-list mailing list
> address@hidden
> https://lists.sourceforge.net/lists/listinfo/open-cobol-list
>
errlist.lst
Description: Text document
filetst.COB
Description: Binary data