Questions tagged [netcobol]

Fujitsu NetCOBOL is a COBOL compiler and runtime environment for ANSI standard COBOL. The Fujitsu NetCOBOL family consists of different development tools that support Microsoft's .NET framework, and Unix as well as Linux. The former allows adding new functionality to legacy COBOL applications with .NET programming languages (C#, C++, and VB). Fujitsu COBOL was an earlier name for Fujitsu NetCOBOL was Fujitsu COBOL).

Fujitsu NetCOBOL is a COBOL compiler and runtime environment that claims to offers superior performance, scalability, and security, with no associated runtime fees.

There are several editions of NetCOBOL with different feature-sets available:

  • NetCOBOL for .NET (Create managed verifiable executables for Windows and Mainframes)
  • NetCOBOL for Windows 32-bit (Create managed and unmanaged 32-bit executables for Windows)
  • NetCOBOL for Windows 64-bit (Create managed and unmanaged 64-bit executables for Windows)
  • NetCOBOL for Linux (Create COBOL programs for Red Hat or more recent versions of SUSE Linux)
  • NetCOBOL for Solaris (Create COBOL Programs for Solaris (SPARC)

Note: Fujitsu COBOL was an earlier name for Fujitsu NetCOBOL.

Use the tag if you have a question related to Fujitsu COBOL/NetCOBOL. If your question is in general about COBOL implementations for the .NET Framework use instead.

15 questions
4
votes
2 answers

Iterating Systems.Collections.List in Fujitsu COBOL

How do I loop through a collection? I'm on a trial version of Fujitsu/Alchemy compiler, and getting slow and poor support from the vendor. I basically want to pass a List from C# to COBOL, and then let the COBOL use it and potentially update it. In…
NealWalters
  • 17,197
  • 42
  • 141
  • 251
3
votes
1 answer

Could you reference a column in DECLARATIVES section when the column is used with SUM clause in COBOL REPORT WRITER Module?

Aside from the specific platform and the compiler, suppose you have this defined in a COBOL program using Report Writer Module: 01 CF-MM TYPE CONTROL FOOTING WS-MM. 02 LINE PLUS 1. 03 COLUMN 1 VALUE "* CF…
NoChance
  • 5,632
  • 4
  • 31
  • 45
2
votes
4 answers

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

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
friedkiwi
  • 2,158
  • 8
  • 29
  • 52
1
vote
1 answer

First calculated records in record-line/output-line becomes BLANK in output in COBOL

My calculations are correct. But the output file's ONLY first calculated record becomes as BLANK and affects all the records. In the output file [A5-SalaryReport-5A.out], you may see the first record's position comes BLANK. THIS IS MY INPUT FILE…
Nirmal
  • 57
  • 1
  • 8
1
vote
1 answer

Store DISPLAY results in a PIC X(n)

The picture clause defines the format which the DISPLAY command would output to the console. Is there a means to "output" the formatted string to a variable? Something like the following, but something that works. The following is an arbitrary…
1
vote
0 answers

Convert .NET type to netCOBOL

I have a method that returns System.Object[] in an external library. In the example in Vb.NET, it works perfectly: Dim text = TEF.Cupons(I) Type of 'text' is System.Object[] In COBOL, when calling the method, type conversion error is…
Rovann Linhalis
  • 601
  • 8
  • 14
0
votes
1 answer

Read fm file in netCobol Fujitsu

I have multiple *.fm files. if I open some file in notepad, in the header I can see "rmkf" I only want open this file. I tried to connect with the jdbc driver but it says HXTT need the file data structure (FD) have also tested with an application…
thenosic
  • 1,463
  • 2
  • 18
  • 22
0
votes
1 answer

how to setup a breakpoints in DLL of unmanaged code developed in netcobol windows version

I am very new to the Web technology. So incase I am not able to mentioned something correctly please pardon me and can ask me again. I have an application which is developed in NetCobol for .net environment. In this application I am calling a DLL…
0
votes
2 answers

Fixed Length Cobol Records (.GCUS) - Converting to XML or CSV

So I'm attempting to work with files that are created as COBOL fixed length records. I was given the raw data files (.GCUS file extension) and a "file layout" document that has specifications which include a table with the following columns…
0
votes
1 answer

NetCOBOL Invalid Value Specified on Comparison

I am using NetCOBOL for .NET to extend a COBOL application. When I read through and input file I am doing a simple comparison on a numeric field and on certain records I get an INVALID VALUE SPECIFIED error. The field is INV-MST-ONHAND as defined: …
sreimer
  • 4,913
  • 2
  • 33
  • 43
0
votes
3 answers

Weird COBOL error

First of all, here's the full source code: http://pastebin.com/5teGNrPC *> IDENTIFICATION DIVISION. PROGRAM-ID. CAddress. ENVIRONMENT DIVISION. CONFIGURATION SECTION. INPUT-OUTPUT SECTION. FILE-CONTROL. SELECT…
friedkiwi
  • 2,158
  • 8
  • 29
  • 52
0
votes
3 answers

Where can I download Fujitsu COBOL 3 or 4

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…
friedkiwi
  • 2,158
  • 8
  • 29
  • 52
0
votes
2 answers

COBOL - How to read and export text from .dat files

i got a customer who wants to migrate from an old Fujitsu COBOL based system to our system, said that, he wants his old data to be kept in the new system, like products,manufacters, etc.I dont have the COBOL source file, i have: .DAT files, .RDD…
0
votes
1 answer

Netcobol cobol command reply "Argument is not valid"

On Solaris10 x86 64bit version, I installed Fujistu NetCobol, and executed "cobol" command. Result OS replies "Argument is not valid". I used this cobol command, following the example in the user's guide. $cobol -dy -M -o P1 P1.cob Is there…
mtk.sugi
  • 3
  • 3
0
votes
1 answer

JMP0811I-U Fujitsu runtime error after compiling Fujitsu COBOL with DB2 SQL: cause/remedy?

I'm able to (on Windows XP) precompile, compile and link a sample (Fujitsu NetCobol) COBOL test program which contains embedded SQL. This test program is to read and display the number of rows in a DB2 (UDB 9.5 on Linux) database table. At runtime I…
Gio
  • 1,812
  • 2
  • 15
  • 15