Operating System - HP-UX
1753554 Members
4216 Online
108795 Solutions
New Discussion юеВ

Re: COBOL compiler error.

 
Jeffrey F. Goldsmith
Super Advisor

COBOL compiler error.

Getting the following error when programmer is compiling a program. The programmer mentioned something about bouncing the compiler. Don't know what they mean. Is there a way to check to see if the COBOL compiler is hungup?

[diomede] sl$ more gl817.err
Request for HP Micro Focus Object COBOL license denied. All available
licenses, including overdraft allotment (if any) for this product are
being utilized. Please contact your system administrator to evaluate
current licensing requirements.
cob: error(s) in compilation: /apps/testifas/bsi/sl/gl817.cbl


Thanks for any help.
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor

Re: COBOL compiler error.

I suspect that the flexlm license daemon has died. Do a ps -ef | grep "lmgrd" and see if you see the process.

If not, it's typically
/sbin/init.d/flexstart start

You don't really "bounce" a compiler since the compiler executes as needed but the licenses server daemon might need to be bounced. On the other hand, COBOL guys seldom have a real notion of what goes on inside a box ---- oops, I didn't really say that did I?
If it ain't broke, I can fix that.
Jeffrey F. Goldsmith
Super Advisor

Re: COBOL compiler error.

This is what I found when I did the ps -ef

root: /tmp ==> ps -ef|grep "lmgrd"
testbsi 13044 1 0 Feb 28 ? 0:23 lmgrd -c /usr/local/flexlm/licenses/license.dat
root 16411 10097 1 12:22:28 pts/ts 0:00 grep lmgrd

I killed the process 13044.

I couldnt find any file called "flexstart" on my server.


A. Clay Stephenson
Acclaimed Contributor

Re: COBOL compiler error.

Okay, here's the typical

su - flexlm # there is usually a flexlm user defined

LIC_DATA="/usr/local/flexlm/licenses"
LM_LICENSE_FILE=${LIC_DATA}/license.dat
export LIC_DATA LM_LICENSE_FILE
export PATH=${PATH}:/usr/local/flexlm/bin
lmgrd -c ${LM_LICENSE_FILE} >> ${LIC_DATA}/license.log

There should be some startup file in /sbin/init.d. You might do cd to /sbin/init.d and do a grep -i "flexlm" *
If it ain't broke, I can fix that.
Bob Smith_23
Advisor

Re: COBOL compiler error.

Is the error happening for every programmer compiling in COBOL, or just the one programmer?

Sounds like a limit has been reached on the number of people allowed to compile using the MicroFocus package.
Jeffrey F. Goldsmith
Super Advisor

Re: COBOL compiler error.

It is working now.