COBOL for PT7.x

Cobol Problems –

 

Scenario:  DR Project, needs to setup a new Unix Server for PS system.

            PT version. 7.02, 8.18.09 and 8.42.09

 

Problem:  PT 7.02 need Cobol reinstall again –

 

Solution:

 

            Starting from PT Version 8, no Cobol needs to installed on Server.  But PT 7.x still needs Cobol.

 

            Error:

 

            exec(): 0509-036 Cannot load program /usr/lpp/cobol2011/bin/rts32 because of the following errors:

0509-150 Dependent module libcobrts.2.so could not be loaded.

0509-022 Cannot load module libcobrts.2.so.

0509-026 System error: A file or directory in the path name does not exist.

 

*********** no cobol installed. Copy COBOL directory from Primary server. 

 

COBOL directory:

 

$ echo $COBDIR

/usr/lib/cobol

 

 

Error:

 

Load error : file 'PTPUPRCS'

error code: 173, pc=0, call=1, seg=0

173          Called program file not found in drive/directory

 

************  try to compile COBOL:

1.       go to FT7.x PS_HOME

2.       under “install” directory, run

$ ./pscbl.mak

 

Error message:

ASLM: Semaphore failure. Rerun as root
ASLM: Errno 1013

 

************  COBOL license did not be installed

 

login as “root” user:

# cd /usr/lob/cobol/lmf

:/usr/lib/cobol/lmf# sh lmfinstall

            ## it will create a new directory mflmf on directory :/usr/lib; go to the new directory

:/usr/lib/mflmf# sh mflmcmd

            when prompted, enter I

            enter serial no.

            enter License no.

 

testing command:  ./lmfgetpv

 

 

********************** re-compile cobol for PT 7.x environment.

1.      go to FT7.x PS_HOME

2.      under “install” directory, run

$ ./pscbl.mak

message should be:

“All COBOL programs have been successfully compiled.”

$ ./psrun.mak

message:

cp: /psoft/fsys7/bin/libpsora.a: Cannot open or remove a file containing a running program.

linking PSRUN ...

Successfully created PSRUN in directory: /psoft/fsys7/bin

 

 

  

*********** everything will be ok now.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值