UNIX Scripts "Load Error" with MicroFocus COBOL subprograms


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers UNIX Scripts "Load Error" with MicroFocus COBOL subprograms
# 1  
Old 02-19-2010
UNIX Scripts "Load Error" with MicroFocus COBOL subprograms

When running our UNIX job scripts we randomly get the following 198 error below. When we restart the job it works fine. I haven't been able to recreate the problem in test, so I'm wondering if it has something to do with Cron or possibly a memory error or memory leak. I don't see anything obvious in the subprogram DATECONV.cbl. Any help would be greatly appreciated!


Load error : file 'DATECONV.so'
error code: 198, pc=0, call=1, seg=0
198 Load failure (fatal: _ex_unwind: can't find symbol)

# 2  
Old 02-19-2010
That missing object is a function involved with C++ exceptions.
# 3  
Old 02-19-2010
DATECONV is a COBOL program (.cbl) and compiled to create a .gnt file.

Could it be my environment path that is causing it to look for a .so file instead of .gnt? I looked through some of the CRONTAB posts and found the the environment used to run CRON scripts may be different than my environment.
# 4  
Old 02-19-2010
All we can really tell is that it's trying to generate an exception and failing, not why. Though that seems to be a stack unwinding function so it might be a pretty bad exception, maybe a crash.
# 5  
Old 02-20-2010
From the manual for Version 4.1
198 Load failure (Fatal)

  • The system cannot load a program, usually because of insufficient memory. Alternatively your program has run out of memory during the loading or reloading of a file. This occurs more frequently during Animation because of the extra memory required during Animation.
  • Make more memory available and then rerun your program. Ensure that as much memory as possible is available during Animation by canceling any program you do not currently need to access.

# 6  
Old 02-22-2010
Thanks for the replys. It is not compiled with Animator so I don't think it is a memory issue. I'm strongly considering calling the subprogram statically instead of dynamically so it doesn't need to be loaded each time. My understanding one of the main reason to call a program dynamically is so that you don't have to recompile all Driver programs that call it. We recompile all programs each time anyway so don't need to worry about that. Only need to make sure we compile all subprograms first.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

2. SCO

Virtualize SCO 5.0.6 with Microfocus COBOL - Help needed

Hi all, I am trying to virtualize a running SCO 5.0.6 system with microfocus cobol installed. I have already managed (thanks to the people in this forum) to install the operating system. I dont have the cobol installation media anymore. I have copied (using cpio) all directories from... (3 Replies)
Discussion started by: sopela123
3 Replies

3. Solaris

"Load Average" vs "virtual processor"

Hi, I have one question regarding the understanding of “load average” in a platform with virtual processors. Suppose in this situation: Total number of physical processors: 1 Number of virtual processors: 32 Total number of cores: 4 Number of cores per physical... (1 Reply)
Discussion started by: MDING
1 Replies

4. UNIX for Dummies Questions & Answers

Unix "look" Command "File too large" Error Message

I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this: $ look "string" "/home/patrick/filename.txt" However, this gives me the following message: "look: /home/patrick/filename.txt: File too large" So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies

5. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

6. Shell Programming and Scripting

Unix commands delete all files starting with "X" except "X" itself. HELP!!!!?

im a new student in programming and im stuck on this question so please please HELP ME. thanks. the question is this: enter a command to delete all files that have filenames starting with labtest, except labtest itself (delete all files startign with 'labtest' followed by one or more... (2 Replies)
Discussion started by: soccerball
2 Replies

7. HP-UX

ERROR: more than one instance of overloaded function "vprintf" has "C" linkage

Hi people! I've got this own library: -------------------------------------------- Personal.h -------------------------------------------- #ifdef __cplusplus extern "C" { #endif #include <stdio.h> #include <stdarg.h> #include <string.h> ... (0 Replies)
Discussion started by: donatoll
0 Replies

8. UNIX for Dummies Questions & Answers

error running COBOL - ".loader does not exist"

Hello. I am new to the unix environment. Currently, I am taking existing COBOL source code and attempting to compile and run on our new UNIX machine. I have succesfully compiled an object. When I try to run I get the follwing error: 0509-036 Cannot load program abeunix.o because of the... (16 Replies)
Discussion started by: jbrubaker
16 Replies

9. UNIX for Advanced & Expert Users

Commands on Digital Unix equivalent to for "top" and "sar" on other Unix flavour

Hi, We have a DEC Alpha 4100 Server with OSF1 Digital Unix 4.0. Can any one tell me, if there are any commands on this Unix which are equivalent to "top" and "sar" on HP-UX or Sun Solaris ? I am particularly interested in knowing the CPU Load, what process is running on which CPU, etc. ... (1 Reply)
Discussion started by: sameerdes
1 Replies
Login or Register to Ask a Question