[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[open-cobol-list] RE: The minimal program
From: |
Bill Klein |
Subject: |
[open-cobol-list] RE: The minimal program |
Date: |
Mon Apr 3 18:39:42 2006 |
It's valid in '02 Standard, but not valid in the '85 Standard. In the '85
Standard, the
Identification Division.
header must be included. However, the '85 Standard does allow for the
Environment, Data, and Procedure Divisions to be omitted.
> -----Original Message-----
> From: Roger While [mailto:address@hidden
> Sent: Monday, April 03, 2006 8:17 AM
> To: address@hidden
> Cc: address@hidden
> Subject: The minimal program
>
> Bill, correct me if I am wrong.
> It would appear that the absolute minimal
> compilable program consists of the one-liner :
> PROGRAM-ID. MYPROG.
>
> ie. A program or module with entry point "MYPROG"
> that does nothing.
>
> MF compiles this.
> If this is allowed, we need a small fix in OC.
> (And if not, we still need a fix for OC)
>
> Roger
>
>
>