Sponsored Content
Full Discussion: COBOL file status 39
Top Forums UNIX for Dummies Questions & Answers COBOL file status 39 Post 302082497 by jim mcnamara on Wednesday 2nd of August 2006 03:43:04 PM
Old 08-02-2006
Errors like that can get snarfled on UNIX.

On unix the first thing to check is datafile permissions, and does it actually exist?

Next thing is the SELECT statement.
Code:
          SELECT MSGTEXT-FILE ASSIGN TO MSGTEXT
                  ORGANIZATION IS LINE SEQUENTIAL.

IF you have a SELECT with ASSIGN like this, you need to have an enviromnent variable
like this:
Code:
MSGTEXT=/path/to/actual_datafile

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.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Couldn't open status file /var/samba/STATUS.LCK

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)
Discussion started by: macdonto
2 Replies

2. Gentoo

COBOL on linux?!

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)
Discussion started by: HSN
1 Replies

3. Red Hat

Installing RedHat 8.0 onto Dell PowerEdge SC1425 - hdc: status error: status = 0x58

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)
Discussion started by: fishsponge
5 Replies

4. UNIX for Dummies Questions & Answers

Cobol File Status 41 & 42

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)
Discussion started by: WS-NFG
2 Replies

5. UNIX and Linux Applications

Rm-cobol 85

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)
Discussion started by: jgt
0 Replies

6. HP-UX

Error in a cobol executable file

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)
Discussion started by: vovan
2 Replies

7. Programming

cobol programme

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)
Discussion started by: bibi
0 Replies

8. Programming

cobol crn programme run on express cobol as .gnt

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

9. Shell Programming and Scripting

Calling script from RM cobol and returning value to cobol

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

10. Programming

How to track table status delete/update/insert status in DB2 V10 z/os?

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)
Discussion started by: Perlbaby
1 Replies
MPI_File_write_shared(3OpenMPI) 										   MPI_File_write_shared(3OpenMPI)

NAME
MPI_File_write_shared - Writes a file using the shared file pointer (blocking, noncollective). SYNTAX
C Syntax #include <mpi.h> int MPI_File_write_shared(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status) Fortran Syntax INCLUDE 'mpif.h' MPI_FILE_WRITE_SHARED(FH, BUF, COUNT, DATATYPE, STATUS, IERROR) <type> BUF(*) INTEGER FH, COUNT, DATATYPE, STATUS(MPI_STATUS_SIZE), IERROR C++ Syntax #include <mpi.h> void MPI::File::Write_shared(const void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status) void MPI::File::Write_shared(const void* buf, int count, const MPI::Datatype& datatype) INPUT
/OUTPUT PARAMETER fh File handle (handle). INPUT PARAMETERS
buf Initial address of buffer (choice). count Number of elements in buffer (integer). datatype Data type of each buffer element (handle). OUTPUT PARAMETERS
status Status object (status). IERROR Fortran only: Error status (integer). DESCRIPTION
MPI_File_write_shared is a blocking routine that uses the shared file pointer to write files. The order of serialization is not determinis- tic for this noncollective routine. ERRORS
Almost all MPI routines return an error value; C routines as the value of the function and Fortran routines in the last argument. C++ func- tions do not return errors. If the default error handler is set to MPI::ERRORS_THROW_EXCEPTIONS, then on error the C++ exception mechanism will be used to throw an MPI:Exception object. Before the error value is returned, the current MPI error handler is called. For MPI I/O function errors, the default error handler is set to MPI_ERRORS_RETURN. The error handler may be changed with MPI_File_set_errhandler; the predefined error handler MPI_ERRORS_ARE_FATAL may be used to make I/O errors fatal. Note that MPI does not guarantee that an MPI program can continue past an error. Open MPI 1.2 September 2006 MPI_File_write_shared(3OpenMPI)
All times are GMT -4. The time now is 01:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy