[Info-vax] COBOL message

Bill Gunshannon bill.gunshannon at gmail.com
Sun Feb 4 11:13:59 EST 2018


On 02/04/2018 10:50 AM, Paul Sture wrote:
> On 2018-02-04, VAXman-  @SendSpamHere.ORG <VAXman- at SendSpamHere.ORG> wrote:
>> A client has given me a sample COBOL program.  WHen I compile, it complains:
>>
>> %COBOL-F-FORMAT, "IDENTIFICATION" not found, possibly incorrect /ANSI_FORMAT
>> qualifier
>>
>>
>> The file seems have one:
>>
>>         IDENTIFICATION DIVISION.
>>         PROGRAM-ID. SAMPLE_INVOICE.
>>         DATA DIVISION.
>>         WORKING-STORAGE SECTION.
>>
> 
> Is the source in Terminal Format or not?
> 
> Spaces instead of tabs before Procedure Division statements can cause
> this.
> 
> 

Actually, it is more likely the other way around.  1 tab does not
equal 7 spaces no matter how it looks to you.

bill




More information about the Info-vax mailing list