[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference csc32::cobol2

Title:Micro Focus Cobol/2
Notice:See note 10 for instructions on BUG reports
Moderator:CSC32::E_VAETH
Created:Sat Jan 19 1991
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:577
Total number of notes:1843

575.0. "error 114 from example program?" by SMURF::BAT (Segui la tua beatitudine) Thu May 22 1997 13:44

From:	US2RMC::"[email protected]" "LTANG.US.ORACLE.COM" 22-MAY-1997 14:35:02.40
To:	smurf::bat
CC:	[email protected]
Subj:	microfocus cobol 4.0 problem

I am working of the trusted oracle porting group in Oracle. 
I had some problem using the microfocus cobol compiler 
 
1. OS     Digital Unix V4.0A 
2. product:   Microfocus Cobol version 4.0 
2. Hardware" AlphaServer 2100A 4/275RM 
4. I tried to compile a cobol program which has one line of code. 
                     display "In COBOL shared library". 
 
mayday(a)@/usr/users/ltang/try-cobol >cob subprog.cob 
 
Execution error : file 'direct2' 
error code: 114, pc=0, call=2, seg=0 
114     Attempt to access item beyond bounds of memory (Signal 11) 
 
cob: error(s) in compilation: subprog.cob 
 
This is a program in section 2.4 of the release note.  
 
I would appreciate if you give me some pointers. 
 
Thanks for your help, 
 
--Lei Tang   415.506-6884

T.RTitleUserPersonal
Name
DateLines
575.1all programs?PACKED::KIDS::NESCHKEFri May 23 1997 08:593
Are other applications compiling fine for you?  
There are some in the $COBDIR/demo area you could try. 
-Joanne
575.2need more infoCSC32::E_VAETHSuffering from temporary brain cramp, stay tunedSat May 24 1997 17:2110
    The sample in section 2.4 is part of a C and COBOL shared object
    example. So I am not sure what you are doing.  In either case, I can
    compile just fine:
    
    licris.cxo.dec.com> cob subprog.cbl
    licris.cxo.dec.com> cobrun subprog
    In COBOL shared library
    
    
    Do you have a more complete (short) example??
575.3try re-installingCSC32::E_VAETHSuffering from temporary brain cramp, stay tunedSun May 25 1997 13:435
    Do other compilations fail for you as well?  I believe you can see
    wierd behavior if you have an bad installation of Micro Focus COBOL. 
    For example, if you did not remove the previous version of MFCobol
    before installing the 4.0 version, strange things will happen.  Try
    removing MFCobol completely from the system then reinstall it.