473,659 Members | 3,494 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

accessing cobol data files from .net

hi

i need to access cobol data files from .net, the files have no or .vix
extention (i think thats a acucobol or something like that) (/me has
completely no experience in cobol)
i heard that there should be an odbc connection for that.

Dous anyone have any ideas on how to do this??

--
Juchtmans Eric
Omnipack
Nov 20 '05 #1
13 10229
Hang on...

COBOL Data files? Are you talking about compiled data? Or like a data
file that it reads.

COBOL defines data structures at the top of the program, usually they are
sequential. There is also random access files, but still you need to know
the file format (been many years since I dealt with binary files in COBOL).

If you have the original source you can figure out the data format for a
file, whether its sequential or random, but otherwise, who/waht created it
doesn't matter.
"EricJ" <ericRéMo**@Thi Somnipack.be> wrote in message
news:3f******** **************@ reader3.news.sk ynet.be...
hi

i need to access cobol data files from .net, the files have no or .vix
extention (i think thats a acucobol or something like that) (/me has
completely no experience in cobol)
i heard that there should be an odbc connection for that.

Dous anyone have any ideas on how to do this??

--
Juchtmans Eric
Omnipack

Nov 20 '05 #2
Cor
Hi EricJ,

There are so many "Cobol" file.

I think you can shift it by first knowing if it is a kind of PC cobol or
that it is mainframe Cobol.

This link was very easy to find

http://www.acucorp.com/support/downloads/index.php

But you have to be sure of what Cobol it is, there was also a lot of MS,
CIS and a lot of other cobol on a PC.

There are no "Cobol" files every company uses there own format or sometimes
2 files to get one (text and index).

Cor

"EricJ" <ericRéMo**@Thi Somnipack.be> schreef in bericht
news:3f******** **************@ reader3.news.sk ynet.be...
hi

i need to access cobol data files from .net, the files have no or .vix
extention (i think thats a acucobol or something like that) (/me has
completely no experience in cobol)
i heard that there should be an odbc connection for that.

Dous anyone have any ideas on how to do this??

--
Juchtmans Eric
Omnipack

Nov 20 '05 #3
Hi,

If you are talking about Acucobol you will need an OleDb provider or ODBC
driver.
Link to ODBC provider: I've found
http://productfinder.infoworld.com/s..._summary/11281

I don't have a clue if it works or not (it should work via Data.Odbc
namespace).

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com

"EricJ" <ericRéMo**@Thi Somnipack.be> wrote in message
news:3f******** **************@ reader3.news.sk ynet.be...
hi

i need to access cobol data files from .net, the files have no or .vix
extention (i think thats a acucobol or something like that) (/me has
completely no experience in cobol)
i heard that there should be an odbc connection for that.

Dous anyone have any ideas on how to do this??

--
Juchtmans Eric
Omnipack

Nov 20 '05 #4
as far as i can tell the acu cobol thing is some sort of universal
translator

there are defenatly 2 files a table(or wathever its called ;p)
i would have a artik file 151kb and a artik.vix 41kb
the artik file would have
junk...

«
ôô ë000258ZREGIE werk uitvoeren in regie
00000000REGIE REGIE 0
00000000000
ôô 000012ABA Abate peren, verpakken en wegen op schaal
EPSH EURO 01000032PEREN ABATE 384222 PER
and so on

the .vix is full of junk


"Cor" <no*@non.com> wrote in message
news:uB******** ******@TK2MSFTN GP12.phx.gbl...
Hi EricJ,

There are so many "Cobol" file.

I think you can shift it by first knowing if it is a kind of PC cobol or
that it is mainframe Cobol.

This link was very easy to find

http://www.acucorp.com/support/downloads/index.php

But you have to be sure of what Cobol it is, there was also a lot of MS,
CIS and a lot of other cobol on a PC.

There are no "Cobol" files every company uses there own format or sometimes 2 files to get one (text and index).

Cor

"EricJ" <ericRéMo**@Thi Somnipack.be> schreef in bericht
news:3f******** **************@ reader3.news.sk ynet.be...
hi

i need to access cobol data files from .net, the files have no or .vix
extention (i think thats a acucobol or something like that) (/me has
completely no experience in cobol)
i heard that there should be an odbc connection for that.

Dous anyone have any ideas on how to do this??

--
Juchtmans Eric
Omnipack


Nov 20 '05 #5
the files that it reads
have a look at my reply to cor
"CJ Taylor" <no****@blowgoa ts.com> wrote in message
news:vs******** ****@corp.super news.com...
Hang on...

COBOL Data files? Are you talking about compiled data? Or like a data
file that it reads.

COBOL defines data structures at the top of the program, usually they are
sequential. There is also random access files, but still you need to know
the file format (been many years since I dealt with binary files in COBOL).
If you have the original source you can figure out the data format for a
file, whether its sequential or random, but otherwise, who/waht created it
doesn't matter.
"EricJ" <ericRéMo**@Thi Somnipack.be> wrote in message
news:3f******** **************@ reader3.news.sk ynet.be...
hi

i need to access cobol data files from .net, the files have no or .vix
extention (i think thats a acucobol or something like that) (/me has
completely no experience in cobol)
i heard that there should be an odbc connection for that.

Dous anyone have any ideas on how to do this??

--
Juchtmans Eric
Omnipack


Nov 20 '05 #6
that was w i was thinking
but i cant find it douwnloadable (prefferebly free)
or an other sollution thats free

"Miha Markic" <miha at rthand com> wrote in message
news:Ob******** *****@TK2MSFTNG P10.phx.gbl...
Hi,

If you are talking about Acucobol you will need an OleDb provider or ODBC
driver.
Link to ODBC provider: I've found
http://productfinder.infoworld.com/s..._summary/11281
I don't have a clue if it works or not (it should work via Data.Odbc
namespace).

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com

"EricJ" <ericRéMo**@Thi Somnipack.be> wrote in message
news:3f******** **************@ reader3.news.sk ynet.be...
hi

i need to access cobol data files from .net, the files have no or .vix
extention (i think thats a acucobol or something like that) (/me has
completely no experience in cobol)
i heard that there should be an odbc connection for that.

Dous anyone have any ideas on how to do this??

--
Juchtmans Eric
Omnipack


Nov 20 '05 #7
Cor
Hi Eric

I think it is definetaly acu yes.

When you look on Google with AcuODBC you find a lot, but if it is free I
think you have to search for yourself.

This link I could not read.
http://www.channelmaker.com.tw/produ...rp/AcuODBC.htm

But Herfried is a specialist in getting software from this kind of sites he
said somewhile ago in the VB.language newsgroup.

Cor
Nov 20 '05 #8
Eric,

COBOL files usually are fixed length records.

If this is the case, the simpliest way to read the files
is not the a data adapter but rather read the file as
fixed length binary record, then break apart the record
into the individual fields.

If the construct a structure that matches the field layout
of the record this may help.

For the binary numbers you must be careful that the byte
order is correct.

For the text you must be careful that the characters
are ASCII and not some other coding like EBCDIC.

I have done just this for IBM mainframe files to PC.

Pat
-----Original Message-----
hi

i need to access cobol data files from .net, the files have no or .vixextention (i think thats a acucobol or something like that) (/me hascompletely no experience in cobol)
i heard that there should be an odbc connection for that.

Dous anyone have any ideas on how to do this??

--
Juchtmans Eric
Omnipack
.

Nov 20 '05 #9
* "Cor" <no*@non.com> scripsit:
I think it is definetaly acu yes.

When you look on Google with AcuODBC you find a lot, but if it is free I
think you have to search for yourself.

This link I could not read.
http://www.channelmaker.com.tw/produ...rp/AcuODBC.htm

But Herfried is a specialist in getting software from this kind of sites he
said somewhile ago in the VB.language newsgroup.


Do you have problems in understanding the text?!

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
14831
by: Batista, Facundo | last post by:
People: I'm trying to convert my father from using COBOL to Python, :) One difficult thing we stuck into is how to read, from python, files written with COBOL. Do you know a module that allows me to do that? It should avoid us the work to write a COBOL program that open the COBOL
2
5120
by: Kalpana Shridhar | last post by:
I am on a project where I am converting COBOL to C++ on the mainframe. I am new to COBOL and have a lot of questions - any websites or any suggestions from experienced people will be really appreciated. My main issue is with the CALL routine - I have to call a external function which I believe is Assembly. Right now the call is made using 4 structures in COBOL. To convert to C++ - what should I be concerned about, should I pass 4...
2
4868
by: none | last post by:
Hi, Any one know of some code to read cobol data files.... thanks timb
30
2775
by: Stuart Turner | last post by:
Hi Everyone, I'm working hard trying to get Python 'accepted' in the organisation I work for. I'm making some good in-roads. One chap sent me the text below on his views of Python. I wondered if anyone from the group could give me some advice on how to respond / if they had been in a similar position. Any help appreciated, Thanks in advance,
5
2713
by: hpy_awad | last post by:
can cobol read binary data written by fprintf (C function) ?
12
5178
by: J. G. | last post by:
I'm looking at rewriting some stand-alone Pro*COBOL applications that read flat files and spit out some reports. Is there any way to mimic COBOL's ability to read lines from a flat file into a data structure? I'm hoping C# has a way to define a data structure that I can read the lines into so that they can be easily manipulated. Any advice would be greatly appreciated.
3
7371
by: Brian Henry | last post by:
Does anyone know of or know how to convert a COBOL packed decimal in a text file to a decimal that .NET can work with? we are importing Old COBOL data files that have packed data in them and need to convert it to a form we can use. thanks!
15
9553
by: dm1608 | last post by:
We have a number of COBOL programs, and some were currently developing, that simply read TEXT based reports and scrap the reports for various information. I'm curious to know if anyone has attempted to do this sort of thing using C#? I would love to get rid of my COBOL programmer and especially the code, if I can. Apparently, it is much simplier to edit/parse text reports in COBOL than other languages.... so I'm being told.
1
1826
by: Fred | last post by:
I am trying to convert an existing COBOL app from using exclusively tradional I-O (READ verb) to using a mix of traditional and and SQL. Please don't ask why, my question is conceptual. After populating a cursor from table A and displaying on the screen, a user makes a change to record #2. The program tries to read record #2 using traditional COBOL READ COMMAND in order to update it, yet gets an INVALID KEY condition because the record...
0
8337
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8748
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8531
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8628
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6181
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1739
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.