Showing posts with label Cobol. Show all posts
Showing posts with label Cobol. Show all posts

Monday, 6 February 2017

Micro Focus LMF - 010: Unable to contact license manager.


[hrprd@hrmsdcapp2 setup]$ ./pscbl.mak PTPDBTST
/u02/hrprd/ps_home/setup/pscbl_mf.mak : Compiling PTPDBTST.cbl ...
 Micro Focus LMF - 010: Unable to contact license manager.                                                                                                                              This product has been unable to contact the                                     License Manager.                                                                                                                                                Execution of this product has been terminated.                                                                                                                  This product cannot execute without the License                                 Manager. Contact your license administrator                                     or refer to the 'Information Messages' chapter                                  of the License Management Facility                                              Administrator's Guide.   
cob64: error(s) in compilation: PTPDBTST.cbl
cp: cannot stat `PTPDBTST.gnt': No such file or directory
cp: cannot stat `PTPDBTST.int': No such file or directory
cp: cannot stat `PTPDBTST.lst': No such file or directory
/u02/hrprd/ps_home/setup/pscbl_mf.mak : Error : The list of file(s) failed to compile.
PTPDBTST fail to compile
[hrprd@hrmsdcapp2 setup]$

Solution:

Start Cobol LMF and copile again. It should work.

[root@hrmsdcapp2 aslmf]# cd /cobol/prod/mflmf
[root@hrmsdcapp2 mflmf]# ./mflmman
MF-LMF:Mon Feb  6 14:22:13 2017: LMF Starting


Usefull Cobol Commands


Cobol Path:
=========
/cobol/prod/svrexp-51_wp6-64bit
/cobol/prod/mflmf

Check Process:
----------------
ps -ef | grep mflm


STOP LMF:
------------
cd /cobol/prod/mflmf
./lmfgetpv k


START LMF:
--------------
cd /cobol/prod/mflmf
./mflmman


CHECK STATUS:
-------------------
./lmfgetpv


Install/Uninstall Developer License:
-----------------------------------
cd /cobol/prod/mflmf
./mflmcmd


CHECK INSTALLED LINCENSES
----------------------------------------
cd /cobol/prod/svrexp-51_wp6-64bit/aslmf
./apptrack


Compile Cobol files for PeopleSoft Environment:
-------------------------------------------------
su - hrtst1
cd /u02/hrtst1/ps_home/setup
./pscbl.mak PTPDBTST  - To compile single file
./pscbl.mak                      - To compile all files.
./psrun.mak                     

Sunday, 5 February 2017

Cobol Error - Micro Focus LMF - 006: You are not licensed to use this product or version.


[hrprd@hrmsdcapp1 setup]$ ./pscbl.mak PTPDBTST
/u02/hrprd/ps_home/setup/pscbl_mf.mak : Compiling PTPDBTST.cbl ...
Micro Focus LMF - 006: You are not licensed to use this product or version. No licenses for this product or version were found in the license database. Execution of this product has been terminated. Contact your license administrator or Micro Focus product supplier to obtain a license.
cob64: error(s) in compilation: PTPDBTST.cbl
cp: cannot stat `PTPDBTST.gnt': No such file or directory
cp: cannot stat `PTPDBTST.int': No such file or directory
cp: cannot stat `PTPDBTST.lst': No such file or directory
/u02/hrprd/ps_home/setup/pscbl_mf.mak : Error : The list of file(s) failed to co mpile.
PTPDBTST fail to compile
[hrprd@hrmsdcapp1 setup]$


Solution:
The issue will be resolved by installing a development / compile license. Check the development license on your server.

The application server/runtime license can't compile the files. Its just provide number of runtime licenses.

Sequence of license installation:
1. Install applicatioin server license first on production server. You can't install it on top of development license. If development license is already installed. you need to first uninstall it and then install runtime license.

2. On top of application server/ runtime license you can install development license to compile the files.


Jenkins Startup and Configuration

Steps to setup jenkins on ubuntu:- -After installation. check the jenkins services running on not on the server. sudo service jenk...