01-22-2009
When I look at the core dump I get (only a portion of the messages shown below)
internal error: 1283-239 consPic: expected cobol decimal alignment
internal error: 1283-228 expected char ';', found '"x",1;'
internal error: 1283-239 consPic: expected cobol decimal alignment
internal error: 1283-228 expected char ';', found '"X(08)",5;'
internal error: 1283-239 consPic: expected cobol decimal alignment
internal error: 1283-228 expected char ';', found '"x(6)",4;'
internal error: 1283-239 consPic: expected cobol decimal alignment
internal error: 1283-228 expected char ';', found '"x(6)",4;'
internal error: 1283-239 consPic: expected cobol decimal alignment
internal error: 1283-228 expected char ';', found '"x(16)",5;'
internal error: 1283-239 consPic: expected cobol decimal alignment
internal error: 1283-228 expected char ';', found '"x(8)",4;'
internal error: 1283-239 consPic: expected cobol decimal alignment
internal error: 1283-228 expected char ';', found '"X(15)",5;'
internal error: 1283-239 consPic: expected cobol decimal alignment
internal error: 1283-228 expected char ';', found '"x(20)",5;'
internal error: 1283-239 consPic: expected cobol decimal alignment
internal error: 1283-228 expected char ';', found '"x(7)",4;'
internal error: 1283-239 consPic: expected cobol decimal alignment
internal error: 1283-228 expected char ';', found '"x(7)",4;'
Segmentation fault in _iwzEnvNameInit at 0xd7023cc0
0xd7023cc0 (_iwzEnvNameInit+0x26c) 9005003c stw r0,0x3c(r5)
(dbx) where
_iwzEnvNameInit(??) at 0xd7023cc0
_iwzWriteStderr(??, ??, ??) at 0xd70188e8
writeERRmsg(??, ??, ??) at 0xd7016f00
iwzWriteERRmsg(0x3e3, 0x402, 0xd708f890, 0x1, 0xf0fe0864, 0xd0b2, 0x38bad000, 0x2ff46f30) at 0xd70185b4
signal_handler(??) at 0xd7018c84
_iwzEnvNameInit(??) at 0xd7023cc0
_iwzWriteStderr(??, ??, ??) at 0xd70188e8
writeERRmsg(??, ??, ??) at 0xd7016f00
iwzWriteERRmsg(0x3e3, 0x402, 0xd708f898, 0x0, 0xf0fe0864, 0xd0b2, 0x38bad000, 0x2ff46f30) at 0xd70185b4
signal_handler(??) at 0xd7018c1c
_usched_dispatch_front(??, ??) at 0xd011d7b0
_usched_swtch(??) at 0xd011ec1c
_waitlock(??, ??) at 0xd010b76c
_local_lock_common(??, ??, ??) at 0xd010bf28
_mutex_lock(??, ??, ??) at 0xd0119568
lock__11LibDescLockFv() at 0xd0221ebc
terminateAndUnload() at 0xd021c504
dlfcn.dlclose(??) at 0xd040e7e8
unload__11OSSHLibraryFv(??) at 0xd2609fcc
sqlexPluginUnload__Fi(??) at 0xd1ff556c
sqlexAppLibTerm__Fv() at 0xd1fe6050
sqloAppLibTerm() at 0xd22ea188
__modinit.mod_fini1(??, ??) at 0xd039856c
__modinit.modfini(??) at 0xd03984c8
__modinit.__modfini() at 0xd0398d0c
cuexit.exit(??) at 0xd038ddb4
(dbx) list 0xd7023cc0
"ko020E.cbl" has only 1141 lines
10 More Discussions You Might Find Interesting
1. Programming
Okay, so here is some code that when compiled on Fedora Core 6 works great, but when I compile and run it on OpenSuse 10 it gives back a seg fault when trying to join the 2nd thead.
#include <pthread.h>
#include <stdio.h>
int print_message_function( void *ptr );
int x = 1;
main()
{
... (1 Reply)
Discussion started by: chrisdrobison
1 Replies
2. HP-UX
Hello everyone,
Today we are attempting to port some legacy C code to a 64 HP-UX machine at my company and there is kind of a strange error we ran into.
there is a small function they have defined called zgetenv that
accepts a char* and basically just does some null checking and returns ... (0 Replies)
Discussion started by: khadesh
0 Replies
3. Programming
Hi Forum,
i have such a question.
I have a cobol program which is calling a C program and in that C program
i get a core dump:(. I want to investigate what is the issue using WDB debuger, but a dont see the code from COBOL program in the debuger, when i run the debugger with the exe!!!
... (2 Replies)
Discussion started by: vovan
2 Replies
4. Programming
can i run .crn programme in express cobol which support to .gnt programme .... Plz tell me solution (2 Replies)
Discussion started by: bibi
2 Replies
5. Programming
Hi,
First of all forgive me if Xlib related problems does not go under this thread.
In my main program, im using Xlib`s XImage type object which contains a regularly updating bitmap, and maps the XImage to a Xwindow using XPutImage.
( XCreateImage is used to create the XImage. )
The... (0 Replies)
Discussion started by: wolwy_pete
0 Replies
6. Shell Programming and Scripting
Is there a way you can return a value from a script that is called from a rm cobol program...
01 WS-COMD-LINE-PGM X(39) value sh ./getUserId.sh 12345"
01 WS-RETURN-SYS-CODE PIC 9(8).
CALL "SYSTEM" USING WS-COMD-LINE-PGM
GIVING WS-RETURN-SYS-CODE.
... (1 Reply)
Discussion started by: pavanmp
1 Replies
7. Programming
Hi ,
We are migrating our database from DB2 z/os to DB2 UDB on UNIX.
and cobol on mainframes to AIX cobol on UNIX.
We have some cobol Db2 programs that are accessing different Databases
how do we code such type of programs in AIX cobol.
Do we need to Establish connection for accessing... (0 Replies)
Discussion started by: nal.satish
0 Replies
8. UNIX for Advanced & Expert Users
Hi Guys
Am new in UNIX environment I was asked by my boss to write a program that transfer files from the AIX server to the Wintel Server. I have written the program in C# windows which does almost the same thing. So how to run the C# program in UNIX? (1 Reply)
Discussion started by: michmsk
1 Replies
9. AIX
hi folks,
I am a new to Aix, i worked as sys admin so no idea about software probs, my software team requires Debugging tool for cobol in AIX machine.
can someone tell me the tool and also the installation procedure for the same
Please drag me out from this soon :confused: (1 Reply)
Discussion started by: atulgkwd
1 Replies
10. Shell Programming and Scripting
Hi All,
I have a file which sets all the variables on unix , based on the hostname. Currently these variables are hardcoded in the cobol programs.I was wondering if unix variables can be used in Cobol programs ?
Example :
I have a variable $SHTEMP which is set based on the following :
Prod... (2 Replies)
Discussion started by: nua7
2 Replies
LEARN ABOUT OSX
tcl_getboolean
Tcl_GetInt(3) Tcl Library Procedures Tcl_GetInt(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tcl_GetInt, Tcl_GetDouble, Tcl_GetBoolean - convert from string to integer, double, or boolean
SYNOPSIS
#include <tcl.h>
int
Tcl_GetInt(interp, src, intPtr)
int
Tcl_GetDouble(interp, src, doublePtr)
int
Tcl_GetBoolean(interp, src, boolPtr)
ARGUMENTS
Tcl_Interp *interp (in) Interpreter to use for error reporting.
const char *src (in) Textual value to be converted.
int *intPtr (out) Points to place to store integer value converted from src.
double *doublePtr (out) Points to place to store double-precision floating-point value converted from src.
int *boolPtr (out) Points to place to store boolean value (0 or 1) converted from src.
_________________________________________________________________
DESCRIPTION
These procedures convert from strings to integers or double-precision floating-point values or booleans (represented as 0- or 1-valued
integers). Each of the procedures takes a src argument, converts it to an internal form of a particular type, and stores the converted
value at the location indicated by the procedure's third argument. If all goes well, each of the procedures returns TCL_OK. If src does
not have the proper syntax for the desired type then TCL_ERROR is returned, an error message is left in the interpreter's result, and noth-
ing is stored at *intPtr or *doublePtr or *boolPtr.
Tcl_GetInt expects src to consist of a collection of integer digits, optionally signed and optionally preceded by white space. If the
first two characters of src after the optional white space and sign are "0x" then src is expected to be in hexadecimal form; otherwise, if
the first such character is "0" then src is expected to be in octal form; otherwise, src is expected to be in decimal form.
Tcl_GetDouble expects src to consist of a floating-point number, which is: white space; a sign; a sequence of digits; a decimal point;
a sequence of digits; the letter "e"; a signed decimal exponent; and more white space. Any of the fields may be omitted, except that the
digits either before or after the decimal point must be present and if the "e" is present then it must be followed by the exponent number.
Tcl_GetBoolean expects src to specify a boolean value. If src is any of 0, false, no, or off, then Tcl_GetBoolean stores a zero value at
*boolPtr. If src is any of 1, true, yes, or on, then 1 is stored at *boolPtr. Any of these values may be abbreviated, and upper-case
spellings are also acceptable.
KEYWORDS
boolean, conversion, double, floating-point, integer
Tcl Tcl_GetInt(3)