cobol

Why are mainframes still around?

It's a question you've probably asked or been asked several times. What's so great about Mainframes? The answer you've probably been given is "they are fast" "normal computers can't process as many 'transactions' per second as they do". Jeese, I mean it's not like Google is running a bunch of Mainframes and look how many transactions/...

Are Fortran, Cobol, Basic and Forth high level programming languages?

Are Fortran, Cobol, Basic and Forth high level programming languages? And if not, what where the first high level programming languages? What where the first object-oriented languages? ...

COBOL Data types

Hi, I have confusion regarding COBOL data types. Like in many interviews it is asked to explain the difference between COMP-3 and COMP... what is the exact difference? what is the meaning of usage modes in COBOL and how is it related to data types? Thanks and Regards, Manasi Kulkarni ...

Delphi DLL - TClientSocket events.

I have a DLL with a TClientSocket component, it is used to talk to a Telephone System Machine. The DLL only have PChar parameters in the exports methods, and is not using packages. When I load the DLL with Delphi app, all the events works fine, no problem so far. My customer is calling this DLL from a console Win32 Cobol program, and t...

Problem with COBOL move to comp-3 variable

I'm having the following problem in a COBOL program running on OpenVMS. I have the following variable declaration: 01 STRUCT-1. 02 FIELD-A PIC S9(6) COMP-3. 02 FIELD-B PIC S9(8) COMP-3. 01 STRUCT-2. 03 SUB-STRUCT-1. 05 FIELD-A PIC 9(2). 05 FIELD...

How to abend job intentionally

Hi, Is it possible to abend your job intentionally through COBOL program. suppose I have an Input file having Header,Detail and Trailer records. I will write a COBOL pgm which reads this file.If no Detail records are found in this file then I want to abend my job by giving some Abend Message and some Abend Code.Is it Possible? ...

append records to an existing file

Hi, If I want to append records to an existing file what DISP parameters do I need to use? ...

I want to find the differnece between two timestamps using COBOL.

I want to the find differnece between two timestamps using COBOL. my timestamp is 16 bytes and here is the ex. of one timestamp: 2010060314314826 Please provide the sample code ...

how to format a number to S9(5)V99 ascii in .net

I've been searching for s9(5)v99 but got different information and not really clear. Could someone shows how or the formula to convert. thanks ...

Where can I download Fujitsu COBOL 3 or 4

Hi, I'm looking for fujitsu COBOL 3 or 4. According to the website of NetCobol, it was delivered with some old books. If you know some titles of those books, I can search for them and buy them. (I already found COBOL for Dummies, but that book is unavailble for sending to my country (Belgium)) Many thanks, Yvan ...

COBOL alternative to BASIC's MID and how to concat strings?

Hi, I'm looking for the COBOL alternative of Visual Basic's MID Function. The thing I need to do is take from 8 strings the first 5 letters and concatenate them. I'm using Fujitsu COBOL. Many thanks, Yvan ...

Weird COBOL error

First of all, here's the full source code: http://pastebin.com/5teGNrPC I'm getting a weird COBOL Error, and I couldn't find what it means. It says Open Error (see the following screenshot: ) (full size at http://img251.imageshack.us/img251/623/screenshotyj.png ) It doesn't occur if I first use "new file", and add a record after that...

How to access a database (like MS Access or something) in Fujitsu COBOL?

Hi, I'm looking for example code on how to connect to a ODBC database using Fujitsu COBOL. I couldn't find any documentation on their site which was useful to me :-S. Many thanks, Yvan ...

i want a program which displays 1 t0 100 numbers using arrays and perform in cobol

please give me the answer as fast as possible.... ...

trying to run COBOL .exe using C++ program

Hello everyone, I'm still learning how to program but I have a simple question. I have the following code for running an executable COBOL program through C++, but I am getting COBOL errors: 251 and 410 #include <iostream> #include <windows.h> using namespace std; int main(){ system("C:\\rmcobol\\runcobol.exe SOLOCAJA.COB c=window...

COBOL DB2 program

Hi, If I have 1 COBOL DB2 program which is calling 2 other COBOL DB2 sub programs, then how many DBRMs,Packages,Plans it will create? If I am changing any one of the sub program then do I need to recompile and bind all the programs?I am really confused with DBRMs,Plans and Packages. Regards, Manasi ...

Ada compiler for Mac OS X 10.6

Right. I'm currently in a class that is exploring many different programming languages. Among them are COBOL and Ada, both of which I can't seem to find a free compiler. Has anyone had better luck and if so, where might I find them? Thanks! ...

migrate COBOL code

Hi, I have a task to convert COBOL code to .NET. Are there any converters available? I am trying to understand COBOL code in high level. I have a trouble understanding the COBOL code. Is there any flowchart generators? I appreciate any help. Thank you.. ...

Visual COBOL for 2010 visual studio

Hi, I just installed trail version of Visual COBOL with visual studio 2010 from Micro Focus. I am trying to compile one of my old COBOL programs into .NET assembly. When I compile, it creates .IDY file exension file in the bin floder. I want to decompile assembly to C# code. Is there anyway I can do this? Thanks.. ...

Teaching a COBOL developer Java/C#, OOP and modern day software development

Hi Stackoverflow I want to ask a question on behalf of my father, a now 30 year veteran in writing software. My father works today as a self-employed consulant for a single customer, maintaining a 20+ year old system written in COBOL -- but on borrowed time. The customer already have plans for changing to Microsoft Dynamics AX within t...