Using Cobol Copy Books
-
Hi Guys. I want to dev an app which will read ASCII files but using their COBOL copy-books as format reference and then mapping them into a new COBOL copy-book. Is there a plugin that would let me specify a cobol copy book and then reference the input file against it and read it? I coul probably write the layouts as classes and do it that way bbut this will take ages as I have many copy-books to do. My aim is to read in a file, refer to the copy book for the format and then convert it to a different copy-book by "cross mapping". Anybody done anything like this before? I'm just looking for suggestions or references to articles or some web links. All I can find is some IBM stuff, WEBSPHERE etc but not what I am looking for though. Thanks
Excellence is doing ordinary things extraordinarily well.
-
Hi Guys. I want to dev an app which will read ASCII files but using their COBOL copy-books as format reference and then mapping them into a new COBOL copy-book. Is there a plugin that would let me specify a cobol copy book and then reference the input file against it and read it? I coul probably write the layouts as classes and do it that way bbut this will take ages as I have many copy-books to do. My aim is to read in a file, refer to the copy book for the format and then convert it to a different copy-book by "cross mapping". Anybody done anything like this before? I'm just looking for suggestions or references to articles or some web links. All I can find is some IBM stuff, WEBSPHERE etc but not what I am looking for though. Thanks
Excellence is doing ordinary things extraordinarily well.
I have no idea what a COBOL copy-book is. Maybe post a snippet of one? Plus a sample of what the input and output would be?
-
I have no idea what a COBOL copy-book is. Maybe post a snippet of one? Plus a sample of what the input and output would be?
I think I got one as a present in the thread below. Consider it yours if you want it. :-D
Luc Pattyn [My Articles] Nil Volentibus Arduum
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Please use <PRE> tags for code snippets, they improve readability.
CP Vanity has been updated to V2.4 -
Hi Guys. I want to dev an app which will read ASCII files but using their COBOL copy-books as format reference and then mapping them into a new COBOL copy-book. Is there a plugin that would let me specify a cobol copy book and then reference the input file against it and read it? I coul probably write the layouts as classes and do it that way bbut this will take ages as I have many copy-books to do. My aim is to read in a file, refer to the copy book for the format and then convert it to a different copy-book by "cross mapping". Anybody done anything like this before? I'm just looking for suggestions or references to articles or some web links. All I can find is some IBM stuff, WEBSPHERE etc but not what I am looking for though. Thanks
Excellence is doing ordinary things extraordinarily well.
I have no idea what you are talking about or why you are asking a question about COBOL in a C# forum. However, if you are trying to work with COBOL and .net maybe this will help; http://www.netcobol.com/products/Fujitsu-NetCOBOL-for-.NET/overview[^]
I know the language. I've read a book. - _Madmatt
-
I think I got one as a present in the thread below. Consider it yours if you want it. :-D
Luc Pattyn [My Articles] Nil Volentibus Arduum
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Please use <PRE> tags for code snippets, they improve readability.
CP Vanity has been updated to V2.4Which thread? And should I install HP COBOL for OpenVMS Alpha [^]? (Nah.)
-
Which thread? And should I install HP COBOL for OpenVMS Alpha [^]? (Nah.)
The one right below this one, titled "PrintPreviewControl and HTML", holding a "contribution" by the same author. And yes, if you haven't already. :)
Luc Pattyn [My Articles] Nil Volentibus Arduum
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Please use <PRE> tags for code snippets, they improve readability.
CP Vanity has been updated to V2.4 -
I have no idea what you are talking about or why you are asking a question about COBOL in a C# forum. However, if you are trying to work with COBOL and .net maybe this will help; http://www.netcobol.com/products/Fujitsu-NetCOBOL-for-.NET/overview[^]
I know the language. I've read a book. - _Madmatt
I want to creat a .net app reading "messages" or shall I say files defined by a cobol-copy book format/layout. Do this I want to reference the copy-book and pass the message to it for unmarshalling and then writing it out to another message in yet another cobol copy-book format. Like creating a middleware app. If I have to transform the copy book and write it out to as a file format, it could take ages as they are huge layouts and would be easier just to reference the copy-book. Hope this explains!
Excellence is doing ordinary things extraordinarily well.
-
Hi Guys. I want to dev an app which will read ASCII files but using their COBOL copy-books as format reference and then mapping them into a new COBOL copy-book. Is there a plugin that would let me specify a cobol copy book and then reference the input file against it and read it? I coul probably write the layouts as classes and do it that way bbut this will take ages as I have many copy-books to do. My aim is to read in a file, refer to the copy book for the format and then convert it to a different copy-book by "cross mapping". Anybody done anything like this before? I'm just looking for suggestions or references to articles or some web links. All I can find is some IBM stuff, WEBSPHERE etc but not what I am looking for though. Thanks
Excellence is doing ordinary things extraordinarily well.
A google search for cobol copy book .net[^] shows some promising results.
Dave
Binging is like googling, it just feels dirtier. Please take your VB.NET out of our nice case sensitive forum. Astonish us. Be exceptional. (Pete O'Hanlon)
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) -
The one right below this one, titled "PrintPreviewControl and HTML", holding a "contribution" by the same author. And yes, if you haven't already. :)
Luc Pattyn [My Articles] Nil Volentibus Arduum
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Please use <PRE> tags for code snippets, they improve readability.
CP Vanity has been updated to V2.4OIC