Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Using Cobol Copy Books

Using Cobol Copy Books

Scheduled Pinned Locked Moved C#
questionlearning
9 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MumbleB
    wrote on last edited by
    #1

    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.

    P N D 3 Replies Last reply
    0
    • M MumbleB

      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.

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      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?

      L 1 Reply Last reply
      0
      • P PIEBALDconsult

        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?

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        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

        P 1 Reply Last reply
        0
        • M MumbleB

          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.

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #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

          M 1 Reply Last reply
          0
          • L Luc Pattyn

            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

            P Offline
            P Offline
            PIEBALDconsult
            wrote on last edited by
            #5

            Which thread? And should I install HP COBOL for OpenVMS Alpha [^]? (Nah.)

            L 1 Reply Last reply
            0
            • P PIEBALDconsult

              Which thread? And should I install HP COBOL for OpenVMS Alpha [^]? (Nah.)

              L Offline
              L Offline
              Luc Pattyn
              wrote on last edited by
              #6

              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

              P 1 Reply Last reply
              0
              • N Not Active

                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

                M Offline
                M Offline
                MumbleB
                wrote on last edited by
                #7

                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.

                1 Reply Last reply
                0
                • M MumbleB

                  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.

                  D Offline
                  D Offline
                  DaveyM69
                  wrote on last edited by
                  #8

                  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)

                  1 Reply Last reply
                  0
                  • L 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.4

                    P Offline
                    P Offline
                    PIEBALDconsult
                    wrote on last edited by
                    #9

                    OIC

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups