Solved

Microfocus Server Express 64-bit COBOL with Solaris 9

Posted on 2007-11-15
7
2,172 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 22

Expert Comment

by:blu
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using Grep to Find a file 8 84
LastLogonTimeStamp Attribute 7 48
Virtualizing TAPE on dual VIOS 3 75
dot directory in FreeBSD??? 4 72
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

930 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now