Set License for Micro-Focus Cobol

Howto install latest cobol on 5.3

1. Get the image from cd
2. Untar in the /opt directory: cd /opt ; tar -xvf $DIR/cobol.tar (name or format may be different)
3. cd /opt/microfocus/cobol
4. ./install
5. Agree to License
6. Look at environment (by hitting space) and confirm that you understand it
7. Pick no to use without Java
8. Pick yes to install LMF, stop currently running if necessary
9. Allow only superuser access to License Admin System
10. Let it start at next bootup ( the /etc/mflmrcscript runs, notice that it points to the license manager now installed in /usr/lib/mflmf, not the one under /opt)
11. Pick 64 bit environment

Howto set the correct license for cobol:

1. cd /usr/lib/mflmf
2. ./mflmcmd (if this fails with a corrupt database error, run lmfdbrecover)
3. Enter capital I to install your license:

For 1 User:
COBOL Serial Number: PEOPLESOFT-SX-DEV64
COBOL License Code: 12345 12345 12345 12345 12345

It will either say the license is now installed or is already in the database.

4. Start the license manager with the rc script: /etc/mflmrcscript ( you should see mflm_manager running )

Howto Check license with apptrack (although the license manager mflmf is under, /usr/lib/mflmf, the application server license checker is under /opt)

1. export COBDIR=/opt/microfocus/cobol
2. cd /opt/microfocus/cobol/aslmf
3. ./apptrack (pick option 1, license list), the other install options don’t really work here

Compile and run a test cobol program:

1. export LD_LIBRARY_PATH=/opt/microfocus/cobol/lib
2. PATH=$PATH:/opt/microfocus/cobol/bin
2. cd /opt/microfocus/cobol/demo
3. cob64 hello.cbl
4. cobrun hello.int

——————————————————-

Here is how to install a later version:

# ./mflm_cmd

Micro Focus License Manager Command Line Interface
————————————————–
Select the function you require from the list:
License Install – Enter ‘I’
I
Ready to install license
Enter the Serial Number part of the License Key:
90000000999999+
Enter the License Number part of the License Key:
12345 12345 12345 12345 1234
License added ok

# cd /usr/lpp/cobol/aslmf
# ./apptrack
You must set an access password, before proceeding
Enter 6 characters as the password
(6 spaces removes password) just hit space bar 6 times
******
Please re-enter the new password
******
Password removed

Application Server License Administration System – AppTrack
———————————————————–
1. License List
2. License Summary
3. License Install
4. License Uninstall
5. Change/Set Password
6. Reinitialize Licensing
7. Current Users
9. Quit
Enter the Menu Selection

Ready to install license
Enter the Serial Number part of the License Key:
90000000999999+
Enter the License Number part of the License Key:
12345 12345 12345 12345 1234
License installed ok

Leave a Reply

Your email address will not be published. Required fields are marked *