- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: compile question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2006 06:06 AM
06-20-2006 06:06 AM
compile question
It looks like I am still missing some pieces to do the compiles. The commands/scripts compile and cob are missing. I can only cob has something to do with the cobol compiler.
[gravina] source$ compile gl995.cbl
+ compile gl995.cbl
sh: compile: not found.
[gravina] source$
[gravina] /apps/testifas/xport/src/sl$ make sy800.o
+ make -k sy800.o
echo Making sy800.o, will copy to /tmp
Making sy800.o, will copy to /tmp
cp sy800.cbl /tmp
(cd /tmp; cob -cx -Oe "" -X ANIM -X COBCOMMS -X RTSCALL -C sign=ebcdic s
y800.cbl 2> /apps/testifas/xport/src/sl/sy800.err)
*** Error exit code 127 (ignored)
rm -f /tmp/sy800.cbl
rm -f /tmp/sy800.idy
rm -f /tmp/sy800.int
[ -s sy800.err ] && exit 1 || rm sy800.err
*** Error exit code 1
[gravina] /apps/testifas/xport/src/sl$ more sy800.err
+ more sy800.err
sh: cob: not found.
Thanks for any and all help.
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2006 06:30 AM
06-20-2006 06:30 AM
Re: compile question
Did you install the Cobol compiler? Does your PATH properly reflect its location? If the compiler is installed and the PATH has been updated, have you logged-out and back in to fetch the updated PATH into your environment?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2006 06:33 AM
06-20-2006 06:33 AM
Re: compile question
I would first do a swlist to see if a COBOL compiler is actually installed. Typically not only does cob (/opt/cobol/bin/cob) have to be in $PATH but also a COBDIR (e.g. /opt/cobol/cobdir) COBOL base directory environment variable needs to be set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2006 07:32 AM
06-20-2006 07:32 AM
Re: compile question
I found some of the COBOL software located at /opt/bin/cobol.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2006 07:40 AM
06-20-2006 07:40 AM
Re: compile question
Almost certainly, you will need COBDIR defined and cob in the PATH.