COBOL for PT7.x

原创 2004年08月03日 04:31:00

Cobol Problems –<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 

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.

 

cobol学习之二对文件的操作

首先代码入下: 000001 IDENTIFICATION DIVISION. 000002 PROGRAM-ID. ...
  • bq1073100909
  • bq1073100909
  • 2014-11-15 18:57:15
  • 1717

在win7上安装cobol编译器

安装 windows 环境下的 cobol编译器 一, 参考     http://www.rritw.com/a/bianchengyuyan/C__/20121020/197137.html  ...
  • wuqinfei_cs
  • wuqinfei_cs
  • 2013-09-11 00:14:12
  • 3107

COBOL学习之一:HELLO WORLD 的编译与运行

一、第一个HELLO WORLD程序写好了,很简单,问题就在如何用JCL去提交编译COBOL程序。出现了N多错误。。又写了个JCL,提交了下:这次比上次好多了,至少,JCL没有错误。找了下,问题在这里...
  • icelovebai
  • icelovebai
  • 2008-11-25 21:54:00
  • 5013

精通cobol--9.14.1 SEARCH ALL语句的格式要求

  SEARCH ALL语句的语法格式同SEARCH语句比较类似。在SEARCH ALL语句中,仍然主要包含所要查找的索引表表名、判断条件、以及满足条件后的处理过程。SEARCH ALL语句只是在系统...
  • COBOL_OS
  • COBOL_OS
  • 2008-04-28 10:37:00
  • 2101

cobol comp类型转十进制

  • 2014年06月05日 15:24
  • 786B
  • 下载

COBOL 知识点集锦(下)

知识点集锦(下)" alt="COBOL  知识点集锦(下)" src="http://blog.blogchina.com/template/common/img/array.gif" style=...
  • lanyanjiayu
  • lanyanjiayu
  • 2013-06-05 14:33:22
  • 5004

COBOL程序示例

COBOL程序示例     以下是当初进东莞裕元写的COBOL程序,拿出一支纪念一下。   000100*================================ 000200*   ...
  • gyming
  • gyming
  • 2012-08-12 09:26:33
  • 3130

COBOL中数组操作

下面是数组的例子:          01 RECORD-X.            03 MONTH OCCURS 12 TIMES.              05 NAME PIC X(12)....
  • expert2000
  • expert2000
  • 2004-12-15 17:13:00
  • 2857

COBOL程序的基本结构

COBOL是一种结构非常严谨的语言,很多地方设置还保留了卡片机编程时代的痕迹。COBOL程序按照部(division),节(section),段(paragraph)分成不同的部分和层次。早期的COB...
  • NinGoo
  • NinGoo
  • 2006-11-21 11:25:00
  • 2051

在COBOL中获取命令行参数

        IDENTIFICATION DIVISION.        PROGRAM-ID. EXAMPLE.        ENVIRONMENT DIVISION.        CON...
  • amandar
  • amandar
  • 2005-11-12 13:01:00
  • 1344
收藏助手
不良信息举报
您举报文章:COBOL for PT7.x
举报原因:
原因补充:

(最多只允许输入30个字)