[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [open-cobol-list] OC issues - number 3
From: |
Bill Klein |
Subject: |
RE: [open-cobol-list] OC issues - number 3 |
Date: |
Tue Jan 17 13:01:03 2006 |
For support in IBM, see:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3LR30/APPENDIX
1.1
for the COMPUTE statement
"The use of the word EQUAL in place of the equal sign (=)"
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of Sergey Kashyrin
> Sent: Tuesday, January 17, 2006 12:41 PM
> To: address@hidden
> Subject: [open-cobol-list] OC issues - number 3
>
> Hi again.
>
> All of that is about compatibility with MAJOR compilers (390,
> AS/400, MF, FJ) in a situations when program is possibly incorrect.
>
> IDENTIFICATION DIVISION.
> PROGRAM-ID. ztest INITIAL.
> ENVIRONMENT DIVISION.
> DATA DIVISION.
> WORKING-STORAGE SECTION.
> 01 A PIC S9(4) COMP.
> 01 B PIC S9(4) COMP VALUE 1.
> 01 C PIC S9(4) COMP VALUE 1.
> PROCEDURE DIVISION.
> COMPUTE A EQUAL B + C.
> DISPLAY A.
> GOBACK.
>
>
> OC gives an ERROR and not producing the code:
> ztest3.cbl:10: Error: syntax error, unexpected EQUAL
>
> All other Cobols are accepting
>
> Regards,
> Sergey
>
>
>
> -------------------------------------------------------
> 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
>
- [open-cobol-list] OC issues, Sergey Kashyrin, 2006/01/17
- RE: [open-cobol-list] OC issues, Bill Klein, 2006/01/17
- Re: [open-cobol-list] OC issues, Sergey Kashyrin, 2006/01/17
- RE: [open-cobol-list] OC issues, Bill Klein, 2006/01/17
- Re: [open-cobol-list] OC issues, Sergey Kashyrin, 2006/01/17
- RE: [open-cobol-list] OC issues, Bill Klein, 2006/01/17
- Re: [open-cobol-list] OC issues, Sergey Kashyrin, 2006/01/17
- RE: [open-cobol-list] OC issues, Bill Klein, 2006/01/17
[open-cobol-list] OC issues (more), Sergey Kashyrin, 2006/01/17
- [open-cobol-list] OC issues - number 3, Sergey Kashyrin, 2006/01/17
- [open-cobol-list] OC issues - number 6, Sergey Kashyrin, 2006/01/18
- Re: [open-cobol-list] OC issues - number 6, Alain Lucari, 2006/01/18
- RE: [open-cobol-list] OC issues - number 6, Bill Klein, 2006/01/18
- Re: [open-cobol-list] OC issues - number 6, Sergey Kashyrin, 2006/01/18
[open-cobol-list] OC issues - number 7, Sergey Kashyrin, 2006/01/18
Re: [open-cobol-list] OC issues - number 7, John R. Culleton, 2006/01/18
RE: [open-cobol-list] OC issues (more), Bill Klein, 2006/01/17