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.
Hello Lucy12,
If you look in /Install_COBOL_Compiler/bin, what are the permissions on the file "cob"? You can display the permissions with the command
ls -l /Install_COBOL_Compiler/bin/cob
Based on the setting of the PATH environment variable that you have mentioned, I would expect "cob" to be found when you use your make file. However, when using make files, it's possible that environment settings may be overridden somewhere in the make file(s), or the scripts used to invoke the build process.
Since you have received your COBOL product from Oracle, you might try reaching out to them about this problem. They may have specific requirements related to the installation directory you should use for COBOL, or environment settings so that their make files will work properly. I'm happy to try to answer general questions here on the forum, but my understanding is that when a 3rd party, such as Oracle, provides a COBOL product, the 3rd party provides support for the product. So, I believe you should be able to get advice specific to your use of the product from Oracle.
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.
Blair McDonald,
Hello. Thanks a lot for replying.
I have changed all files' permissions that have issue on the COBOL compilation.
Now, only one error in COBOL compiling process below:
cob64: error in compilation: *.cbl
cp: cannot stat *.gnt: no such file or directory
cp: cannot stat *.int: no such file or directory
cp: cannot stat *.lst: no such file or directory
*.gnt files are executable COBOL files that should be in directory /opt/PT8.53/cblbin after compilation is completed successfully.
All available *.int files are in directory /opt/PT8.53/src/cbl/int.
All available *.lst files are in directory /opt/PT8.53/src/cbl/lst.
The user for all available *.int files and *.lst files is "root".
I have enabled all *.int and *.lst files "rwxrwxrwx" file permissions.
The file /Install_COBOL_Compiler/bin/cob64 is 'root' user and I have enable "rwxrwxrwx" permission but still get the compiling error as above.
The compiling process is running very fast and I cannot see the specific file name.
My questions are:
1) How to have COBOL compiling process ./pscbl.mak run slowly so that I can write down the file name that cannot be found ?
2) How to solve the issue "cp: cannot stat *.gnt, *.int and *.lst: no such file or directory" ?
Thanks in advance.
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.
Blair McDonald,
Hello. Thanks a lot for replying.
I have changed all files' permissions that have issue on the COBOL compilation.
Now, only one error in COBOL compiling process below:
cob64: error in compilation: *.cbl
cp: cannot stat *.gnt: no such file or directory
cp: cannot stat *.int: no such file or directory
cp: cannot stat *.lst: no such file or directory
*.gnt files are executable COBOL files that should be in directory /opt/PT8.53/cblbin after compilation is completed successfully.
All available *.int files are in directory /opt/PT8.53/src/cbl/int.
All available *.lst files are in directory /opt/PT8.53/src/cbl/lst.
The user for all available *.int files and *.lst files is "root".
I have enabled all *.int and *.lst files "rwxrwxrwx" file permissions.
The file /Install_COBOL_Compiler/bin/cob64 is 'root' user and I have enable "rwxrwxrwx" permission but still get the compiling error as above.
The compiling process is running very fast and I cannot see the specific file name.
My questions are:
1) How to have COBOL compiling process ./pscbl.mak run slowly so that I can write down the file name that cannot be found ?
2) How to solve the issue "cp: cannot stat *.gnt, *.int and *.lst: no such file or directory" ?
Thanks in advance.
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.
Hello Lucy12,
Answers to your questionsā¦
Q1) How to have COBOL compiling process run slowly so that I can write down the file name that cannot be found ?
A1) I'm not aware of a way to have the compile process pause or delay between executions. Generally, output of command-line commands can be redirected to a file by using a command, allowing you to review the output later. For a crude example:
runmycommand > savemyoutput.txt
However, I can't say whether this will work properly in the context of the scripts and make files that your vendor has provided. Once again, the best advice here is to contact your vendor for the best information, since they would be familiar with the build process they've provided.
Q2) What does "cp: cannot stat *.gnt, *.int and *.lst" mean ? How to solve the errors ?
A2) My guess is that this is likely to be related to permissions, either on the present working directory where the compile is executing, or the target directory where your vendor's scripts attempt to create these files. You might try making sure that these directories are writable by the user running the build process.
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.
Blair McDonald,
Hello. Thanks a lot for replying.
I run the command in directory /opt/PT8.53/setup below:
[root@linux setup]#./pscbl.mak > /home/CompileCOBOL.txt
The command is working. The output is in the file CompileCOBOL.txt. All *.int files are in directory /opt/PT8.53/cbl/int and all *.lst files are in directory /opt/PT8.53/cbl/lst. All files' permissions of *.int and *.lst are rwxrwxrwx. But the Compiler stated that these files are not found.
In CompileCOBOL.txt file, there is an issue below:
Micro Focus LMF-006: You are not licensed to use this product version. License for this product or version were found in license database.
Execution of this product has been terminated. Contact your license administrator or Micro Focus Product supplier to obtain a license.
I installed the 30-day temporary license. It's still within the 30 days and license is valid. I have checked the license as below:
In directory /Install_COBOL_Compiler/aslmf
[root@linux aslmf]# ./apptrack
License List is below:
2017/09/28 14:30:46 Server licenses:
----------------------------------------------------------
00001
Version of Server Express 64-bit Model 1
License units: 00005 **AS Developer Usage
Duration: 0030 days
ORACLE-30DAYDEV64
01030 A0780 05CA6 7980. ....
--------------------------------------------
00002
Version of Server Express 64-bit Model 1
License units: 00005 **AS Developer Usage
Duration: 0030 days
ORACLE-30DAYDEV64
01030 B0780 05CA6 7980. ....
--------------------------------------------
More... (Esc to Quit)
00003
Version of Server Express 64-bit Model 1
License units: 00005 **AS Developer Usage
Duration: 0030 days
ORACLE-30DAYDEV64
01060 B0780 05CA6 7980. ....
--------------------------------------------
00004
Version of Server Express 64-bit Model 1
License units: 00001 **ES Developer Usage
Duration: 0030 days
ORACLE-30DAYDEV64
01050 10780 01CA6 7980. ....
--------------------------------------------
Continue...
Server License Administration System - AppTrack
-----------------------------------------------------------
1. License List
2. License Summary
3. License Install
4. License Uninstall
5. Change/Set Password
6. Reinitialize Licensing
7. Current Users
9. Quit
Enter the Menu Selection: 2
2017/09/28 14:30:12 Summary of AS Licenses Installed, In System and In Use:
-----------------------------------------------------------------------------
Installed Sys In Use
--------- --- ------
**AS Developer Usage
5 0 0 Server Express 64-bit (Model 1)
**AS Developer Usage
5 0 0 Server Express 32/64-bit (Model 1)
**AS Developer Usage
5 0 0 Server Express 32/64-bit (Model 2)
Continue...
The 30-day temporary license is developer license. The COBOL programs to be compiled are running for application. I am not sure the developer license is correct or not.
My questions are:
1) Why COBOL Compiling process cannot find *.int and *.lst files in directory /opt/PT8.53/cbl/int and /opt/PT8.53/cbl/lst while these files have -rwxrwxrwx permissions ?
2) How to solve "Micro Focus LMF-006" license problem while 30-day temporary license is valid ? Is the developer license correct to compile the COBOL programs ?
Thanks in advance.
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.
Blair McDonald,
Hello. Thanks a lot for replying.
I run the command in directory /opt/PT8.53/setup below:
[root@linux setup]#./pscbl.mak > /home/CompileCOBOL.txt
The command is working. The output is in the file CompileCOBOL.txt. All *.int files are in directory /opt/PT8.53/cbl/int and all *.lst files are in directory /opt/PT8.53/cbl/lst. All files' permissions of *.int and *.lst are rwxrwxrwx. But the Compiler stated that these files are not found.
In CompileCOBOL.txt file, there is an issue below:
Micro Focus LMF-006: You are not licensed to use this product version. License for this product or version were found in license database.
Execution of this product has been terminated. Contact your license administrator or Micro Focus Product supplier to obtain a license.
I installed the 30-day temporary license. It's still within the 30 days and license is valid. I have checked the license as below:
In directory /Install_COBOL_Compiler/aslmf
[root@linux aslmf]# ./apptrack
License List is below:
2017/09/28 14:30:46 Server licenses:
----------------------------------------------------------
00001
Version of Server Express 64-bit Model 1
License units: 00005 **AS Developer Usage
Duration: 0030 days
ORACLE-30DAYDEV64
01030 A0780 05CA6 7980. ....
--------------------------------------------
00002
Version of Server Express 64-bit Model 1
License units: 00005 **AS Developer Usage
Duration: 0030 days
ORACLE-30DAYDEV64
01030 B0780 05CA6 7980. ....
--------------------------------------------
More... (Esc to Quit)
00003
Version of Server Express 64-bit Model 1
License units: 00005 **AS Developer Usage
Duration: 0030 days
ORACLE-30DAYDEV64
01060 B0780 05CA6 7980. ....
--------------------------------------------
00004
Version of Server Express 64-bit Model 1
License units: 00001 **ES Developer Usage
Duration: 0030 days
ORACLE-30DAYDEV64
01050 10780 01CA6 7980. ....
--------------------------------------------
Continue...
Server License Administration System - AppTrack
-----------------------------------------------------------
1. License List
2. License Summary
3. License Install
4. License Uninstall
5. Change/Set Password
6. Reinitialize Licensing
7. Current Users
9. Quit
Enter the Menu Selection: 2
2017/09/28 14:30:12 Summary of AS Licenses Installed, In System and In Use:
-----------------------------------------------------------------------------
Installed Sys In Use
--------- --- ------
**AS Developer Usage
5 0 0 Server Express 64-bit (Model 1)
**AS Developer Usage
5 0 0 Server Express 32/64-bit (Model 1)
**AS Developer Usage
5 0 0 Server Express 32/64-bit (Model 2)
Continue...
The 30-day temporary license is developer license. The COBOL programs to be compiled are running for application. I am not sure the developer license is correct or not.
My questions are:
1) Why COBOL Compiling process cannot find *.int and *.lst files in directory /opt/PT8.53/cbl/int and /opt/PT8.53/cbl/lst while these files have -rwxrwxrwx permissions ?
2) How to solve "Micro Focus LMF-006" license problem while 30-day temporary license is valid ? Is the developer license correct to compile the COBOL programs ?
Thanks in advance.
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.
Hello Lucy12,
The issues you have reported are more complex than can be solved on the Community Website. Please contact your vendor for assistance with the license and build issues you've encountered.
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.
Blair McDonald,
Hello. Thanks a lot for replying.
The tutorial https://supportline.microfocus.com/documentation/books/sx51/sx51indx.htm states the below:
"Micro Focus Server Express involves two different types of licenses. One type, referred to as "development" licenses, govern the use of development tools, such as the COBOL compiler itself. Without a development license, development tools cannot be used. The other type, named "deployment" licenses or "Micro Focus Server" licenses, control the run-time execution of compiled programs and applications. Deployment licenses can be thought of as "run-time licenses". Without deployment licenses, compiled programs and applications cannot run."
It seems that we need to install both "development" and "deployment" license in order to compile COBOL programs to run PeopleSoft applications.I have installed the 30-day temporary license key:
ORACLE-30DAYDEV64
01030 A0780 05CA6 7980
The license comes up as "Developer". If install "Deployment License" using AppTrack utility, I still use the same license key as above.
My questions are:
1) How to use the 30-day license key to install both "development" and "deployment" license ?
2) How to contact Vendor regarding the 30-day temporary license problem that has only "development" and no "deployment" license ?
Thanks in advance.
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.
[quote][/quote]
1) Why COBOL Compiling process cannot find *.int and *.lst files in directory /opt/PT8.53/cbl/int and /opt/PT8.53/cbl/lst while these files have -rwxrwxrwx permissions ?
The error you reported is not from the COBOL compiler; it's from the cp command. And it doesn't say that it can't find the .int and .lst files. It says it "can't stat *.int" and "can't stat *.lst".
Those messages indicate that the wildcard expressions *.int and *.lst were not successfully globbed (expanded to a list of files) by the shell. Instead they were passed literally to the cp command. Since you don't have files with the literal names "*.int" and "*.lst", cp is correctly stating that it can't get any information about those files.
On Linux and UNIX platforms, globbing - expanding filename wildcards - is done by the shell, not by the application.
There are a few main possibilities:
- The cp command is being executed in the wrong directory.
- The cp command is being executed before any files with the appropriate names exist.
- The permissions on the directory - not on the files - are wrong. The user performing the build needs read, write, and execute access on all directories where build files will be created, and read/execute permissions on any other directories where source files reside. (Technically, execute permission is only required to traverse directories, so isn't necessary for leaf directories, but it's easier to simply ensure it's granted to the user running the build.)
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.
Lucy,
Micro Focus does not directly support the Peoplesoft application and we are not familiar with how the licensing is implemented for this product or how the build process is done. Since you received both the Peoplesoft and the Micro Focus software from Oracle you really need to reach out to Oracle for a response to your questions.
Thanks.
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.
Michael,
Hello. Thanks a lot for replying. There are 2 issues on the COBOL compilation: license and directory or file permissions.
Let me expalin the 2 issues and ask questions one by one as below.
First, regarding license.
The license is 30-day temporary license. I start the license in directory Install_MFLMF as below:
#./mflmman
Output is:
MF-LMF: Mon Oct 2 There is a copy of License Manager running !
LMF closing down.
My question is:
Do I start the 30-day temporay license correctly by running command #./mflmman in directory Install_MFLMF?
If not, how to start the license correctly ?
Second, regarding directory permissions.
There are 5 directories related to this COBOL compilation below:
/opt/PT8.53/src/cbl
/opt/PT8.53/src/cblunicode
/opt/PT8.53/src/cbl/int that contains all .int files.
/opt/PT8.53/src/cbl/lst that contains all .lst files.
/opt/PT8.53/cblbin that should contain executable files after compilation.
I have enabled the 5 directories and their subdirectories full permission drwxrwxrwx.
All .int files and all .lst files have full permissions rwxrwxrwx.
All .gnt files are in a few directories.
I set 5 environment variables correctly and run the command in directory /otp/PT8.53/setup below:
./pscbl.mak
Its output is below:
/opt/PT8.53/setup/pscbl_mf.mak : All COBOL files were converted for Unicode successfully
/opt/PT8.53/setup/pscbl_mf.mak : Compiling ADPCEVAL.cbl ...
Micro Focus LMF - 010: Unable to contact license manager. This product has been unable to contact the License Manager. Execution of this product has been terminated. This product cannot execute without the License Manager.
Contact your license administrator or refer to the 'Information Messages' chapter of the License Management Facility Administrator's Guide.
/opt/PT8.53/setup/pscbl_mf.mak : Compiling ADPCMEIP.cbl ...
... ...
Micro Focus LMF - 010: Unable to contact license manager....
......
cob64: error(s) in compilation: FAPBUDTT.cbl
cp: cannot stat `FAPBUDTT.gnt': No such file or directory
cp: cannot stat `FAPBUDTT.int': No such file or directory
cp: cannot stat `FAPBUDTT.lst': No such file or directory
cob64: error(s) in compilation: FAPCLEFT.cbl
cp: cannot stat `FAPCLEFT.gnt': No such file or directory
cp: cannot stat `FAPCLEFT.int': No such file or directory
cp: cannot stat `FAPCLEFT.lst': No such file or directory
cob64: error(s) in compilation: FAPCLICR.cbl
......
Thus, I have 2 questions:
1) Why the License error changes from "Micro Focus LMF-006" to "Micro Focus LMF-010" ? How to solve "Micro Focus LMF-010" error?
2) Why .int files and .lst files are still cannot stat ? How to solve the error ?
Thanks in advance.
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.
Michael,
Hello. Thanks a lot for replying. There are 2 issues on the COBOL compilation: license and directory or file permissions.
Let me expalin the 2 issues and ask questions one by one as below.
First, regarding license.
The license is 30-day temporary license. I start the license in directory Install_MFLMF as below:
#./mflmman
Output is:
MF-LMF: Mon Oct 2 There is a copy of License Manager running !
LMF closing down.
My question is:
Do I start the 30-day temporay license correctly by running command #./mflmman in directory Install_MFLMF?
If not, how to start the license correctly ?
Second, regarding directory permissions.
There are 5 directories related to this COBOL compilation below:
/opt/PT8.53/src/cbl
/opt/PT8.53/src/cblunicode
/opt/PT8.53/src/cbl/int that contains all .int files.
/opt/PT8.53/src/cbl/lst that contains all .lst files.
/opt/PT8.53/cblbin that should contain executable files after compilation.
I have enabled the 5 directories and their subdirectories full permission drwxrwxrwx.
All .int files and all .lst files have full permissions rwxrwxrwx.
All .gnt files are in a few directories.
I set 5 environment variables correctly and run the command in directory /otp/PT8.53/setup below:
./pscbl.mak
Its output is below:
/opt/PT8.53/setup/pscbl_mf.mak : All COBOL files were converted for Unicode successfully
/opt/PT8.53/setup/pscbl_mf.mak : Compiling ADPCEVAL.cbl ...
Micro Focus LMF - 010: Unable to contact license manager. This product has been unable to contact the License Manager. Execution of this product has been terminated. This product cannot execute without the License Manager.
Contact your license administrator or refer to the 'Information Messages' chapter of the License Management Facility Administrator's Guide.
/opt/PT8.53/setup/pscbl_mf.mak : Compiling ADPCMEIP.cbl ...
... ...
Micro Focus LMF - 010: Unable to contact license manager....
......
cob64: error(s) in compilation: FAPBUDTT.cbl
cp: cannot stat `FAPBUDTT.gnt': No such file or directory
cp: cannot stat `FAPBUDTT.int': No such file or directory
cp: cannot stat `FAPBUDTT.lst': No such file or directory
cob64: error(s) in compilation: FAPCLEFT.cbl
cp: cannot stat `FAPCLEFT.gnt': No such file or directory
cp: cannot stat `FAPCLEFT.int': No such file or directory
cp: cannot stat `FAPCLEFT.lst': No such file or directory
cob64: error(s) in compilation: FAPCLICR.cbl
......
Thus, I have 2 questions:
1) Why the License error changes from "Micro Focus LMF-006" to "Micro Focus LMF-010" ? How to solve "Micro Focus LMF-010" error?
2) Why .int files and .lst files are still cannot stat ? How to solve the error ?
Thanks in advance.
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.
I can't help with licensing questions, I'm afraid, beyond noting that the messages state that the license manager can't be contacted. Have you checked whether it's running?
Regarding the "cannot stat" errors: cp cannot stat the .gnt, .int, and .lst files because they do not exist. The compilation failed, as the previous error message states, so the output files were not created. Apparently your script isn't smart enough to check whether compilation succeeded. (Using make or another build manager, rather than an ad hoc script, would be a good idea.)
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.
Michael,
Hello. Thanks a lot for replying quickly. I compile COBOL again below:
#./lmfgetpv k
License Manager successfully terminated.
#./mflmman
MF-LMF: Mon Oct 2 2017: LMF starting
#./pscbl.mak
The license error change back to Micro Focus - 006: You are not licensed to use this product version.
The same error comes up: cp: cannot stat .gnt files, .int files, .lst files: no such file or directory
You say "Using make or another build manager, rather than an ad hoc script, would be a good idea."
My questions are:
1) There is only one command "./pscbl.mak" to run. Why need to use "make" file ?
2) I have no control on the command "cp" cannot stat() because stat() is an Operating System call. How to solve "cp: cannot stat" error ?
Thanks in advance.
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.
Michael,
Hello. Thanks a lot for replying quickly. I compile COBOL again below:
#./lmfgetpv k
License Manager successfully terminated.
#./mflmman
MF-LMF: Mon Oct 2 2017: LMF starting
#./pscbl.mak
The license error change back to Micro Focus - 006: You are not licensed to use this product version.
The same error comes up: cp: cannot stat .gnt files, .int files, .lst files: no such file or directory
You say "Using make or another build manager, rather than an ad hoc script, would be a good idea."
My questions are:
1) There is only one command "./pscbl.mak" to run. Why need to use "make" file ?
2) I have no control on the command "cp" cannot stat() because stat() is an Operating System call. How to solve "cp: cannot stat" error ?
Thanks in advance.
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.
I'm really not sure how to put this any more simply.
cp cannot stat the files because the files do not exist.
The files do not exist because the compiler did not create them.
The compiler did not create them because it encountered an error.
The compiler error was probably the licensing issue, but regardless, that's why cp is complaining.
A build system is superior to an ad hoc script because it would know whether the compilation was successful, and wouldn't attempt subsequent steps (like the "cp" one) if it was not. That's the point of a build system - to know what needs to be done, and whether it can be done, and avoid unnecessary or useless work.
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.
Michael,
Hello. Thanks a lot for replying. In order to make sure the correct directory to compile COBOL, I move the entire directory /Install_COBOL_Compiler to the directory /opt/PT8.53 in which all COBOL source files are stored. Then compile again below:
# ./mflmman
MF-LMF: ... LMF starting.
#./ pscbl.mak
The first part of output is below:
Start of compilation in PS_HOME (/opt/PT8.53)
/opt/PT8.53/setup/pscbl_mf.mak : Convert all files for Unicode ....
Conversion Summary for Source Codes in :
Source: /opt/PT8.53/src/cbl/
Target: /opt/PT8.53/src/cblunicode/
Number of Copy Libraries Read: 669
Modified: 669
Not Modified: 0
Number of Programs Read: 854
Modified: 854
Not Modified: 0
/opt/PT8.53/setup/pscbl_mf.mak : All COBOL files were converted for Unicode successfully
/opt/PT8.53/setup/pscbl_mf.mak : Compiling ADPCEVAL.cbl ...
Micro Focus LMF - 006: You are not licensed to use this product or version. No licenses for this product or version were found in the license database. Execution of this product has been terminated. Contact your license administrator or Micro Focus product supplier to obtain a license.
/opt/PT8.53/setup/pscbl_mf.mak : Compiling ADPCMEIP.cbl ...
Micro Focus LMF - 006: You are not licensed to use this product or version. No licenses for this product or version were found in the license database. Execution of this product has been terminated. Contact your license administrator or Micro Focus product supplier to obtain a license.
......
Each .cbl file get the same compiling error: Micro Focus LMF - 006.
Last part of out put is below:
cob64: error(s) in compilation: SRPQUERC.cbl
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
cob64: error(s) in compilation: SRPQUEUE.cbl
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
cob64: error
......
I think cp command cannot stat all .gnt files and .int files and .lst files because the Compiler do not compile the files.
As we see, LMF is starting and the 30-day temporary license is "Developer" and is valid.
My question is:
Does the Micro Focus LMF - 006 license issue cause the error ? How to solve the above compiling error ?
Thanks in advance.