[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [open-cobol-list] Small addition for OpenCOBOL Programmers Guide
From: |
vince |
Subject: |
Re: [open-cobol-list] Small addition for OpenCOBOL Programmers Guide |
Date: |
Wed, 11 Apr 2012 13:18:07 +0100 |
User-agent: |
KMail/1.13.5 (Linux/2.6.33.7-server-2mnb; KDE/4.4.5; i686; ; ) |
On Wednesday 11 Apr 2012 09:56:22 Fred Mobach wrote:
> The MF compiler is unknown to me, but I stumbled upon this behavior of
> openCOBOL during a migration of sources previously used in
> Siemens/Bull/IBL environments. As most of the source works as expected
> I won't blame openCOBOL for accepting the slash, just enjoy being
> surprised.
>
> To make a simple check possible the openCOBOL version and the test
> source are below.
>
> address@hidden:~/cob/tests> cobc -m -W retcode.cob
> address@hidden:~/cob/tests> cat retcode.cob
> identification division.
> program-id. x.
> environment division.
> data division.
> working-storage section.
> 01 ws-variables.
> 03 returncode pic s9(12) comp sync value -11.
> /
> procedure division.
> mainline section.
> p00.
> move 21 to return-code
> display "return-code=" return-code end-display
> .
> peos.
> stop run.
> address@hidden:~/cob/tests> cobc --version
> cobc (OpenCOBOL) 1.1.0
> Copyright (C) 2001-2009 Keisuke Nishida / Roger While
> Built Feb 19 2012 22:24:40
> Packaged Feb 06 2009 10:30:55 CET
> address@hidden:~/cob/tests>
OK, looks like it works on fixed format but mine have all been converted to
free form so that could explain it.
Thanks for the heads up.
- [open-cobol-list] Small addition for OpenCOBOL Programmers Guide.pdf, Fred Mobach, 2012/04/10
- [open-cobol-list] Small addition for OpenCOBOL Programmers Guide, vince, 2012/04/10
- Re: [open-cobol-list] Small addition for OpenCOBOL Programmers Guide, john Culleton, 2012/04/10
- Re: [open-cobol-list] Small addition for OpenCOBOL Programmers Guide, vince, 2012/04/10
- Re: [open-cobol-list] Small addition for OpenCOBOL Programmers Guide, john Culleton, 2012/04/10
- Re: [open-cobol-list] Small addition for OpenCOBOL Programmers Guide, vince, 2012/04/10
- Re: [open-cobol-list] Small addition for OpenCOBOL Programmers Guide, john Culleton, 2012/04/10
- Re: [open-cobol-list] Small addition for OpenCOBOL Programmers Guide, vince, 2012/04/10
Re: [open-cobol-list] Small addition for OpenCOBOL Programmers Guide, Fred Mobach, 2012/04/11