Quantcast
Channel: Net Express / Server Express - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 375

Server Express 5.1 Wrap Pack 6 for Oracle Linux 5.1: cob command not found

$
0
0

Folks,

Hello. I am implementing PeopleSoft Campus Solution 9.0 for a University. My Operating System is Oracle Linux 5 with PeopleTools 8.53.
I have downloaded Micro Focus Server Express 5.1 Wrap Pack 6 for RedHat Linux x86-64 from Oracle edelivery and installed it successfully.
I have also installed the 30-day temporary license succeessfully that is "AS Developer" in license summary.

Micro Focus Server Express 5.1 Wrap Pack 6 is installed in directory /Install_COBOL_Compiler
All COBOL programs are in directory /opt/PT8.53/src/cbl.
I am using Unicode Oracle Database 11g. All COBOL programs should be converted to /opt/PT8.53/src/cblunicode
If COBOL is compiled successfully, all executables *.gnt files should be in directory /opt/PT8.53/cblbin.
 
I compiled COBOL programs and get the errors as below:

[user@linux PT8.53]# . ./psconfig.sh

[user@linux setup]# export PS_HOME=/opt/PT8.53

[user@linux setup]# export COBDIR=/Install_COBOL_Compiler

[user@linux setup]# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$COBDIR/lib

[user@linux setup]# export PATH=$COBDIR/bin:$PATH

[user@linux setup]#./pscbl.mak

... ...
... ...
/opt/PT8.53/setup/pscbl_mf.mak : Compiling SRPCWMSG.cbl ...
/opt/PT8.53/setup/pscbl_mf.mak: line 249: cob: command not found
/opt/PT8.53/setup/pscbl_mf.mak: line 252: error.lst: Permission denied
cp: cannot stat `SRPCWMSG.gnt': No such file or directory
cp: cannot stat `SRPCWMSG.int': No such file or directory
cp: cannot stat `SRPCWMSG.lst': No such file or directory
/opt/PT8.53/setup/pscbl_mf.mak : Compiling SRPCWTRM.cbl ...
/opt/PT8.53/setup/pscbl_mf.mak: line 249: cob: command not found
/opt/PT8.53/setup/pscbl_mf.mak: line 252: error.lst: Permission denied
cp: cannot stat `SRPCWTRM.gnt': No such file or directory
cp: cannot stat `SRPCWTRM.int': No such file or directory
cp: cannot stat `SRPCWTRM.lst': No such file or directory
/opt/PT8.53/setup/pscbl_mf.mak : Compiling SRPLOGMS.cbl ...
/opt/PT8.53/setup/pscbl_mf.mak: line 249: cob: command not found
/opt/PT8.53/setup/pscbl_mf.mak: line 252: error.lst: Permission denied
cp: cannot stat `SRPLOGMS.gnt': No such file or directory
cp: cannot stat `SRPLOGMS.int': No such file or directory
cp: cannot stat `SRPLOGMS.lst': No such file or directory
/opt/PT8.53/setup/pscbl_mf.mak : Compiling SRPQUERC.cbl ...
/opt/PT8.53/setup/pscbl_mf.mak: line 249: cob: command not found
/opt/PT8.53/setup/pscbl_mf.mak: line 252: error.lst: Permission denied
cp: cannot stat `SRPQUERC.gnt': No such file or directory
cp: cannot stat `SRPQUERC.int': No such file or directory
cp: cannot stat `SRPQUERC.lst': No such file or directory
/opt/PT8.53/setup/pscbl_mf.mak : Compiling SRPQUEUE.cbl ...
/opt/PT8.53/setup/pscbl_mf.mak: line 249: cob: command not found
/opt/PT8.53/setup/pscbl_mf.mak: line 252: error.lst: Permission denied
cp: cannot stat `SRPQUEUE.gnt': No such file or directory
cp: cannot stat `SRPQUEUE.int': No such file or directory
cp: cannot stat `SRPQUEUE.lst': No such file or directory
/opt/PT8.53/setup/pscbl_mf.mak : All COBOL programs have been successfully compiled.
/opt/PT8.53/setup/pscbl_mf.mak : The COBOL executables were copied to /opt/PT8.53/cblbin
End   of compilation in PS_HOME (/opt/PT8.53)
 
After compilation is completed, the directory /opt/PT8.53/cblbin doesn't have any executable *.gnt files for COBOL programs.
As we see above, there are 3 errors:
1) /opt/PT8.53/setup/pscbl_mf.mak: line 249: cob: command not found
2) /opt/PT8.53/setup/pscbl_mf.mak: line 252: error.lst: Permission denied
3) .gnt files and .int files and .lst files: not these files
 
Let's solve the 3 errors one by one.

Regarding "cob command not found", I have searched the file system, the 3 commands "cob", "cob32" and "cob64" are in directory /Install_COBOL_Compiler/bin. But when I (user) open directory /Install_COBOL_Compiler/bin, the 3 commands (cob, cob32, cob64) cannot be seen by "user" and "root". I have checked file properties for file permission, the owner of "cob" is "user" while the owner for "cob32" and "cob64" is "root".

I think "user" is the correct user to compile COBOL program by running ./pscbl.mak. I don't know why "user" cannot see command "cob" in directory /Install_COBOL_Compiler/bin.

 

My question is:

Why "user" cannot see the command "cob" in directory /Install_COBOL_Compiler/bin and get the error "cob:command not found" ? How to solve the issue ?

Thanks in advance.

 

Viewing all articles
Browse latest Browse all 375

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>