When I execute a COBOL load module, I get the following error:
HTML Code:
$ a.out
IWZ200S Error detected during OPEN for file 'ABE-INPUT'. File status is: 39.
Message routine called from offset 0x38 of routine iwzWriteERRmsg.
iwzWriteERRmsg called from offset 0x3c4 of routine _iwzCallUseProc.
_iwzCallUseProc called from offset 0xaf0 of routine _iwzBSeqOpen.
_iwzBSeqOpen called from offset 0x2ec of routine _iwzGenericOpen.
_iwzGenericOpen called from offset 0x25c of routine ABEPREP.
IWZ901S Program exits due to severe or critical error.
IOT/Abort trap(coredump)
This probably means the length of the file is different than what I have coded for (132).
This program runs sucessfully on an AS400 so I know the length is correct.
The file ABE-INPUT has a record lenght of 132 but obviously, UNIX does not think so. How can I tell what UNIX thinks it is?
On unix the first thing to check is datafile permissions, and does it actually exist?
Next thing is the SELECT statement.
IF you have a SELECT with ASSIGN like this, you need to have an enviromnent variable
like this:
And if it is a file length problem, you need to be sure the real datafile does not have carriage control characters in it for fixed record length (LRL) files.
Otherwise you have to use something like the above SELECT stsatement to be able to read the file. I really think it's one of the first two things I mentioned.
I cant believe how fast this machine is. It processed 660,000 132 byte records in about 10 seconds. This in a program that contains some pretty decent tabling. I'm impressed.
Do you know anything about running the IDEBUG debugger?
Dear Team
I am using DB2 v10 z/os database . Need expert guidance to figure out best way to track table activities ( Ex Delete, Insert,Update )
Scenario
We have a table which is critical and many developer/testing team access on daily basis . We had instance where some deleted... (1 Reply)
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)
I have some compile programme .crn now I want to run .crn programme on express cobol which allow only *.gnt programme any solution to run *.crn programme (0 Replies)
Hi,
when i try to run an executable on a HP UX machine i get the following error
/usr/lib/..../dld.so Unsatisfied code symbol '_tMca100b' in load module ....
The exe is a cobol program.
can somebody tell why?
Thanks. (2 Replies)
Does anyone use the following Cobol compiler:
RM/COBOL-85 Compiler - Version 5.15.00 for SCO Unix 386.
I am looking for a file that might be part of the distribution named "osmain.o"
Thanks. (0 Replies)
I'm new to coding on Unix but have coded with COBOL on mainframe for a number of years. This is driving me nuts. My select clause is like so:
SELECT GRPFILE ASSIGN TO EXTERNAL DISK WS-GRPFILE
ACCESS IS SEQUENTIAL
STATUS IS... (2 Replies)
I have successfully installed RedHat 8.0 onto a Dell PowerEdge SC1425 today. This server has two SATA hard drives, and an IDE DVD-ROM drive.
Using the following kernel parameters, i successfully installed across both hard drives from CD:
ide0=0x1f0,0x3f6,14 vga=791 resolution=1024x768 expert... (5 Replies)
Hello guys,
I'm searching for a good COBOL compiler which runs on linux. In fact I have found one but I'm really lost with its installation!! I don't know how to install it and how it works. In fact I'm not so good in linux and I always have problems with installation, but this time it's... (1 Reply)
I believe i have most of samba configured right but i get this error each time time try to run it. I was given suggestion that i touch the file, i did, but i still cannot rid myself of this error.
Any suggestions (2 Replies)