Lenor老师 jesse老师 candy老师
 
 
所在位置:首页 >> cobol技术 >> 如何搭建COBOL环境
 
如何搭建COBOL环境

安装COBOL4.1
root   用户登录
mkdir -p /opt/lib/cobol
cd   /opt/lib/cobol
ocobol.tar 拷入该目录
tar   xvf   ocobol.tar
./install
屏幕显示:
..........
Unpacking files ...

Please enter the full pathname where the
driver programs are to be installed.

q(uit) or <ATH>; or RETURN for default(/usr/bin): (
输入回车)
屏幕显示:
..........
This product is protected using Micro Focus LMF. Would you like
to install this facility now? (y/n) (
输入y   回车)
屏幕显示:
Enter the directory name where you wish to install License Manager
(Press Enter for default directory /opt/lib/mflmf)
(
输入回车)
屏幕显示:
/opt/lib/mflmf does not exist
do you wish to create it ? (y/n)
(
输入y   回车)
屏幕显示:
..........
It is recommended that you let license manager autostart at boot time
Do you want license manager to be automatically started at boot time? (y/n)
(
输入y 回车)
屏幕显示:
LMF installation complete

cd   /opt/lib/mflmf
./mflmcmd
屏幕显示:
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:
(
输入ODCGG/A97/621221 回车)
Enter the License Number part of the License Key:
(
输入01010 10000 014AB E6A0C 78FD   回车)
屏幕显示:
License added ok
9. ./mflmman

环境配置,加在用户的.profile文件中:
# for COBOL environment variables -- BEGIN
COBDIR=/opt/lib/cobol ; export COBDIR
LD_LIBRARY_PATH=$COBDIR/coblib; export LD_LIBRARY_PATH
PATH=$PATHCOBDIR/bin         ; export PATH
# for COBOL environment variable
s -- END

 
收藏到Google书签 收藏到QQ书签 Yahoo书签 收藏到百度搜藏 收藏到奇客diglog
主办单位:大型机官方培训部
地址: 北京市海淀区中关村南大街48号B座
Copyright2004-2008 by www.daxingji.net. All rights reserved. 京ICP备09083121号