?
Solved

Microfocus Server Express 64-bit COBOL with Solaris 9

Posted on 2007-11-15
7
Medium Priority
?
2,229 Views
Last Modified: 2013-12-21
Hello,

We are having trouble getting the 64-bit COBOL from Microfocus (4.0 SP2) to compile cleanly with Solaris 9 (64-bit).  We think we have a 32-bit and 64-bit library mismatch, but we aren't sure what else to try to fix this.   The error message that we see is "114     Attempt to access item beyond bounds of memory".
0
Comment
Question by:jimennis
7 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 20290878
Hi,

to check your installed solaris whether is 32 or 64 bit, use the command

isainfo -v

for more info man isainfo

Please see the linkbelow:

http://www.emunix.emich.edu/info/cobol/books/prxept.htm


0
 

Author Comment

by:jimennis
ID: 20292249
The server is set for 64-bit support and can handle 32-bit applications also,

pluto:/usr/lib/cobol#isainfo -v
64-bit sparcv9 applications
32-bit sparc applications

with 64-bit kernel support:

pluto:/usr/lib/cobol#isainfo -vk
64-bit sparcv9 kernel modules
pluto:/usr/lib/cobol#
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 20296448
Hi,

How do you find the link provided ?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 22

Expert Comment

by:Brian Utterback
ID: 20298063
Are you getting this error at compile time or run time? This is a the error message that the Cobol runtime
returns when a SEGV is detected. If you get this at compile time, it indicates that the compiler itself
is crashing.

A common cause of this error on Micro Focus Cobol is using incompatible index or animator files. If you have
indexed data files, you may need to rebuild them, the same if you have animator files from a previous
version of the compiler or files built on a different platform.
0
 

Author Comment

by:jimennis
ID: 20298971
The error is occurring after compilation, when the program is running.  I will check with my programmer on Monday (I am out of state) about any indexes that we might be using.
0
 

Expert Comment

by:pvrbicuity
ID: 20909426
I think of the following possibilities;
1) Parameters passed by modules compiled in 32-bit mode being accessed in a module compiled in 64-bit mode
2) Index overflow of an array (trivial ... probably your programmer would have checked)
3) Reading "File Section" definition mismatch with the actual file on the disk ... probably your 32-bit/64-bit mismatch may kick in particularly for variables defined as COMP, COMP-1, COMP-2 etc as the storage space used while creation which I guess could be in 32-bit environment will be different in 64-bit environment. Check MF cobol COMP, 1, & 2 definitions for number of bytes allocated
I hope the above help
0
 

Accepted Solution

by:
jimennis earned 0 total points
ID: 21424010
Our issue turned out to be the pathing for the as command.  We had to revise pathing to use the gnu 'as' command to resolve our issue with the 64-bit version of COBOL.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question