[Info-vax] COBOL message
VAXman- at SendSpamHere.ORG
VAXman- at SendSpamHere.ORG
Sun Feb 4 12:55:50 EST 2018
In article <FoSdnUXXvrRK2urHnZ2dnUU7-V-dnZ2d at giganews.com>, drb at ihatespam.msu.edu (Dennis Boone) writes:
> > %COBOL-F-FORMAT, "IDENTIFICATION" not found, possibly incorrect /ANSI_FORMAT
> > qualifier
>
> > IDENTIFICATION DIVISION.
> > PROGRAM-ID. SAMPLE_INVOICE.
> > DATA DIVISION.
> > WORKING-STORAGE SECTION.
>
>I believe the compiler defaults to terminal format, which places
>Margin A in column 1. This code appears to be in traditional format,
>which places Margin A in column 8. Try compiling with /ansi_format.
Yes, I found that AFTER I'd posted the question.
I was looking for the error in the COBOL help but nothing there. Then, I
was the /ANSI_FORMAT qualifier. Worth a try and it worked.
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG
I speak to machines with the voice of humanity.
More information about the Info-vax
mailing list