1831162 Members
3091 Online
110021 Solutions
New Discussion

Cobol compile (FLEXlm)

 
SOLVED
Go to solution
Marcin_10
Occasional Advisor

Cobol compile (FLEXlm)

Hi, every one please help,
I have install cobol and FLEXlm which is licenses control software for COBOL.
I try to compile program in Cobol and I am getting following error
FACAP040.COB : Compiling HP Micro Focus Object COBOL licensing request failed.
FLEXlm Message: No such feature exists (-5,116)
cob: error(s) in compilation: ./compile_7155/FACAP040.COB

FACAP040.COB is program name, I run HP-UX B.11.11 U 9000/800 (tb)

when FLEXlm server starts licensing is not creating problems

Marcin
Marcin
5 REPLIES 5
Shannon Petry
Honored Contributor
Solution

Re: Cobol compile (FLEXlm)

It sounds like you dont have a license to run the Cobol compiler.

Did you pay for and install the license file? If it's installed and paid for, then try the following.

Look at your license file, and find the port number. It's the fourth string in the top entry.

SERVER srvrname
It may look like this:
SERVER sunsrv1 12345678 33001

Set an environment variable as so.
sh/ksh
LM_LICENSE_FILE="33001@sunsrv1"
export LM_LICENSE_FILE
csh
setenv LM_LICENSE_FILE "33001@sunsrv1"

Now try to compile again. If the license is found, the compiler will work

Micro Focus Cobol may have it's own variable name it looks for. I.E. Unigraphics looks for UGII_LICENSE_FILE, Altair products looks for HM_LICENSE_FILE.

The proprietry name is always preferred, so use the LM_LICENSE_FILE only if nothing else is found.

If this fixes the problem, put that same syntax into /etc/profile and /etc/csh.login or all users dot files.

If you modify the system files /etc/profile and /etc/csh.login, manually run the file to ensure no errors or your system may become un-usable.

Sincerely,
Shannon
Microsoft. When do you want a virus today?
Marcin_10
Occasional Advisor

Re: Cobol compile (FLEXlm)

Hi Shannon,
thanks for response to my problem I set LM_LICENSE_FILE as you asked and I try to compile program I am getting following error

FACAP040.COB : Compiling 10:20:02 (HPCUPLANGS) UNSUPPORTED: "hpmfcobol" (PORT_AT_HOST_PLUS ) cmf@yogi (License server does not support this feature (-18,55))
HP Micro Focus Object COBOL licensing request failed.
FLEXlm Message: License server does not support this feature (-18,147)
cob: error(s) in compilation: ./compile_8297/FACAP040.COB

I have got license.dat from file before I install COBOL and I have to provide license number and product number, since I was able to get license.dat I assume I have license to run COBOL.

Is this error ring a bell
Marcin
Shannon Petry
Honored Contributor

Re: Cobol compile (FLEXlm)

This means the server now sees the license, but the feature it is looking for is not available in the license. (By server I mean compiler).

Contact who sold you the software, and ensure that you have the correct products licensed. If this was bought by a reseller, contact Micro Focus with this issue too. I'm not a Micro Focus person, so cant tell you what options your supposed to have, and compare it to what the vendor sold you.

The reason I say bypass the reseller if you didnt buy direct from Micro Focus, is that most resellers dont know products, nor HP-UX. They simply sell.

Regards,
Shannon
Microsoft. When do you want a virus today?
Marcin_10
Occasional Advisor

Re: Cobol compile (FLEXlm)

Shannon,
I have check verison on my COBOL
B2430EB B.13.45.03 Object COBOL/UX Developer Bundle for HPUX 11.0
B2432EB B.13.45.03 Object COBOL/UX Run-Time Bundle for HPUX 11.0
B2433EB B.13.45.03 Object COBOL/UX Developer Bundle for HPUX 11.0
B2435EB B.13.45.03 Object COBOL/UX Run-Time Bundle for HPUX 11.0

and license vendor send me B.13.35 is this my be issues that I need license for version B.13.45.03. which come with my Unix installation ?
Marcin
Shannon Petry
Honored Contributor

Re: Cobol compile (FLEXlm)

You need to make sure that the version of software matches the version specified in the license.

As long as your paid, give the vendor your version and request a new license. Or.. Get the same version of software and keep the current license.

Sincerely,
Shannon
Microsoft. When do you want a virus today?