?
Solved

Microfocus Server Express 64-bit COBOL with Solaris 9

Posted on 2007-11-15
7
Medium Priority
?
2,205 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Technology Partners: 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: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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month11 days, 1 hour left to enroll

770 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