[Top][All Lists]

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

Re: [open-cobol-list] OC issues

From: Sergey Kashyrin
Subject: Re: [open-cobol-list] OC issues
Date: Tue Jan 17 08:33:06 2006

The issue is that level 02 is following level 05 and there was no 02 before.
I'm not a Cobol guru but I expect that standard does not allow that.
Tandem (HP Nonstop) Cobol gives an error too.
The rest  - at least  all 390 mainframe, AS400, MFocus, Fujitsu are giving only 
warning and producing the correct code.

I think if it's possible it's better to fix (at least for mf,ibm,mvs dialects)


----- Original Message ----- From: "Bill Klein" <address@hidden>
To: "'Sergey Kashyrin'" <address@hidden>; <address@hidden>
Sent: Tuesday, January 17, 2006 11:03 AM
Subject: RE: [open-cobol-list] OC issues

I don't understand the issue.  Is the problem that of "A-margin" vs
"B-margin" or what error are you getting?

(The '85 Standard *did* have rules about replacing text must go in the
margin where replaced text was - but I thought OC had an option - or default
- to ignoring A-/B-margin issues).

P.S.  It would NOT surprise me if this caused a problem on IBM mainframes.
Are you using one of those dialects?
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Sergey Kashyrin
Sent: Monday, January 16, 2006 11:27 PM
To: address@hidden
Subject: [open-cobol-list] OC issues

Hi everybody,

Currenltly I'm trying to make a small project (8M+ lines) to work under OC (amd64) :-))) Small annoying issues (currently just one but I expect more to follow) :

The situation is that the very old dog has that construction:
01 XXX.
   05 AAA PIC X.
   02 BBB PIC Y.

Not exactly initially but as a result of playing with a copybook like
COPY C2 REPLACING ==01 == BY ==02 ==.
when they want to combine something in a woraking area or LINKAGE section :-(

As a matter of fact all Cobols that I know (but Tandem) are giving the WARINING and working fine with that.

OC gives an ERROR and not producing the code.

I don't have a time right now to look into that but maybe will try later (it's not that critical, not too many occurances). Overall from 2800+ programs 350 didn't compile. Will look into all remaining issues and inform.


This 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!;
open-cobol-list mailing list

reply via email to

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