Hi!
Here comes an example showing another (old?) error in CE for Cobol. Just paste
it into a new Cobol file, replace underlines by spaces and watch the result in
CE pane:
000001 IDENFTIFICATION DIVISION.
000002 PROGRAM-ID. CONFUSER.
000003 DATA DIVISION.
000004 WORKING-STORAGE SECTION.
000005 01 PARM-1       PIC X(8).
000006 01 PARM-2       PIC X(8).
000007 PROCEDURE DIVISION.
000008 MAIN SECTION.
000009 PARA-1.
000010 ___ CALL 'SUBMOD' USING PARM-1
000011 _______________________ PARM-2.
000012 PARA-2.
000013 ___ GOBACK.
000014 DUMMY SECTION.
000015 DUMMY-EXIT.
000016 ___ EXIT.

Explanation:
In order to interpret a name as a paragraph name it must start in area-A (i.e.
PARM-2 is not a paragraph name).

-- 
<http://forum.pspad.com/read.php?6,54269,54835>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem