Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error compiling micro focus cobol

Status
Not open for further replies.

bardagol

Programmer
Feb 19, 2010
11
US
program works and compiles well in fujitsu cobol, but when i open and compile the file using micro focus cobol, i have these error messages. see below a part of the messages while compiling with MF cobol. it seems i need to set some options but i don't know which. your help is appreciated. TIA



* Micro Focus Net Express V5.1 revision 000 Compiler
* Copyright (C) 1984-2009 Micro Focus (IP) Limited. URN AXCGG/AA0/00000
COBCH1001E Character other than *, D, /, -, or $ found in column 7. Blank assumed. : C:\MFCOBOL\Train\d022d\acfy-dedupe1.cob(1,7)
COBCH0143S Unknown IDENTIFICATION DIVISION paragraph : C:\MFCOBOL\Train\d022d\acfy-dedupe1.cob(1,14)
COBCH1001E Character other than *, D, /, -, or $ found in column 7. Blank assumed. : C:\MFCOBOL\Train\d022d\acfy-dedupe1.cob(2,7)
COBCH1012E DIVISION missing or misspelled. DIVISION assumed. : C:\MFCOBOL\Train\d022d\acfy-dedupe1.cob(2,11)
COBCH1014E Period missing. Period assumed. : C:\MFCOBOL\Train\d022d\acfy-dedupe1.cob(2,23)
COBCH0105S PROGRAM-ID missing : C:\MFCOBOL\Train\d022d\acfy-dedupe1.cob(2,23)
 
The compiler says that your program is not formatted properly.
 
thnx for your reply.

yeah it obvious it's not formatted properly for micro focus. but i can assure you it is, using fujitsu because the program works and compiles using the fujuitsu compiler as stated above.

it seems i have to set some options to set to conform with the MF net express compiler. that's what im looking for, which option to set and to what? hope anyone out there has a solution.
 
for you who have encountered similar problems with mine here's the solution for this.

add a directive on the Project Menu.
click Project then Properties on the Project Properties window add SOURCEFORMAT "FREE" in the project directives input field.
 
Yes, FREE will likely solve the problem, but without seeing the actual code, one cannot be sure.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top