[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference csc32::cobol2

Title:Micro Focus Cobol/2
Notice:See note 10 for instructions on BUG reports
Moderator:CSC32::E_VAETH
Created:Sat Jan 19 1991
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:577
Total number of notes:1843

559.0. "Digital UNIX V4.0B and MF COBOL V4.0" by CICS03::helen (Helen Cake) Tue Feb 18 1997 06:34


We have two systems which are running Digital UNIX V4.0B and MF COBOL
V4.0.  On both systems we have a problem compiling COBOL programs.  I 
have tried compiling pi.cbl on a Digital UNIX V4.0B system and get the 
following:

cics02:helen> cob -C nolist +B dynamic -vuP pi.cbl
cob -C nolist +B dynamic -C nolist +B dynamic -vuP pi.cbl 
* Micro Focus COBOL for UNIX         V4.0 revision 016 Compiler
* Copyright (C) 1984-1995 Micro Focus Ltd.     URN 2XUNK/JP0/00000M
FATAL ERROR -- Cannot access message file
FATAL ERROR -- Cannot access message file
* Micro Focus COBOL for Unix         V4.0 revision 016 Code generator
* Copyright (C) 1984-1995 Micro Focus Ltd.     URN 2XUNK/JP0/00000M
* Accepted - verbose
* File open failure: pi.int
cob: error(s) in code generation: pi.int

Note that when I do this I am not root.

If I do the same on a Digital UNIX V4.0A system all works well - can
anyone suggest anything which maybe I'm not seeing.

I've checked the environment I'm running on between the two systems and
I can't see anything strange.

Has anyone sucessfully compiled COBOL programs using MF COBOL on Digital
UNIX V4.0B?

Thanks,

Helen.
T.RTitleUserPersonal
Name
DateLines
559.1Haven't tested on V4.0BPACKED::KIDS::NESCHKETue Feb 18 1997 09:4311
The Micro Focus COBOL V4.0 product hasn't received any testing at Micro Focus
or within Digital Engineering on Digital UNIX V4.0B.     The product
itself has a support base of Digital UNIX V3.2.  Testing has been also
done at Micro Focus on Digital UNIX V4.0 and during our own release testing
on Digital UNIX V4.0.  One field test site also found no problems with
Digital UNIX V4.0A.     

You may need to revert back to an earlier Digital UNIX release than V4.0B.
In the meantime, I'll see what I can do to recreate what you discovered.
If it provides any clue, the error message about "cannot access message
file" has to do with NLS.
559.2Thanks for the swift replyCICS03::helenHelen PrattTue Feb 18 1997 10:1011


Thanks for the swift reply.  If we get anywhere with this one, I'll post
a reply.  In the meantime if anyone has any more sucess than I have so
far, please post a reply.

Thanks again,

Helen.

559.3Locale NameMUFFIT::gerryGerry ReillyWed Feb 19 1997 03:139
Simple problem.  The locale names used for the directories in the
/usr/lib/cmplrs/cob/lang directory are the shortnames, e.g. en_US.
Therefore, if you have LANG setup with full (and proper) locale
name en_US.ISO8859-1 you get this error.

This is a bug.  MF Cobol should use the correct NLS locale names.  However,
it is simply fixed with a soft link from en_US to en_US.ISO8859-1.

-gerry