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 loading.
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:
GO to FT7.X PS_HOME
2. Under "Install" Directory, Run
$ ./pscbl.mak
Error Message:
ASLM: Semaphore Failure. ROOTASLM: 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.
GO to FT7.X PS_HOME
2. Under "Install" Directory, Run
$ ./pscbl.mak
Message Should Be:
"All Cobol Programs Have Been Success Co."
$ ./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.