Operating System - HP-UX
1827844 Members
1282 Online
109969 Solutions
New Discussion

Re: Problem in COBOL Compilation on HP UNIX 10.20.

 
Shyjith P K_1
Occasional Contributor

Problem in COBOL Compilation on HP UNIX 10.20.

Hello Friends,
We are facing Problem in COBOL Compilation on HP UNIX 10.20.
We are able to generate <.int> file which can run through cobrun.
But while making stand alone executable via following
error message comes -
cob -C nolist -xvo ../exe/test1 test1.cob
* Micro Focus COBOL for UNIX V4.0 revision 005 Compiler
* Copyright (C) 1984-1994 Micro Focus Ltd. URN 2XUPK/BMB/01125A
* Accepted - verbose
* Accepted - nolist
* Compiling test1.cob
* Total Messages: 0
* Data: 12864 Code: 8368
* Micro Focus COBOL/2 v4.0 revision XXX Code generator
* Copyright (C) 1984-1994 Micro Focus Ltd. URN 2XUPK/BMB/01125A
* Accepted - verbose
* Accepted - hpoptimize(1)
* Generating test1.int
* Data = 13032 Code = 0 Literals = 1624 Dictionary = 11905
cob: error(s) in code generation: test1.int
kindly help to solve this problem at the earliest.
Thanks in advance
Shyjith P K
2 REPLIES 2
Keith Bevan_1
Trusted Contributor

Re: Problem in COBOL Compilation on HP UNIX 10.20.

Hi,

test1.int sound like it may be associated with the sample or example cobol routines.

If this is the case or you have recently installed MF Cobol then you may wish to check the permissions on the object code destination directory. If MF does not have sufficient permissions to write test1.int or test1.gnt to a directory then you may get the error you have reported.

Keith
You are either part of the solution or part of the problem
Shyjith P K_1
Occasional Contributor

Re: Problem in COBOL Compilation on HP UNIX 10.20.

Dear Keith

Thnaks for your reply.
Test1 is the sample program which we had use for testing. We are able to create test.int . But while creating executable file we get the error. If it would have been a permission problem, we could not make test.int file.
This was a working setup for about 3 yrs, and this problem happens recently.

Please help.