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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Converting a mainframe database into Ms-Access using VB.NET

Converting a mainframe database into Ms-Access using VB.NET

Scheduled Pinned Locked Moved .NET (Core and Framework)
databasecsharplearning
18 Posts 6 Posters 1 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.
  • L Lost User

    A mainframe database? How many tables/records are we talking about? Do you seek advice or a solution?

    I are troll :)

    P Offline
    P Offline
    Pete OHanlon
    wrote on last edited by
    #7

    Eddy Vluggen wrote:

    Do you seek advice or a solution?

    Option number 3. Coded and tested apps.

    "WPF has many lovers. It's a veritable porn star!" - Josh Smith

    As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

    My blog | My articles | MoXAML PowerToys | Onyx

    L 1 Reply Last reply
    0
    • S ScottM1

      sivakumar.mariappan wrote:

      As i mentioned, it is client's own DBMS

      You didn't mention that.

      sivakumar.mariappan wrote:

      If you want, i will send the sample files to you

      No thanks, have you tried it yet?

      S Offline
      S Offline
      sivakumar mariappan
      wrote on last edited by
      #8

      No, as i am a beginner of VB.NET, i don't have any idea to find this.

      P 1 Reply Last reply
      0
      • S sivakumar mariappan

        No, as i am a beginner of VB.NET, i don't have any idea to find this.

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #9

        So what exactly are you asking for? Somebody to decode the format for you? Somebody to write the conversion code? You need to be a lot clearer on what help you are after other than a vague "I'll send you some files".

        "WPF has many lovers. It's a veritable porn star!" - Josh Smith

        As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

        My blog | My articles | MoXAML PowerToys | Onyx

        1 Reply Last reply
        0
        • P Pete OHanlon

          Eddy Vluggen wrote:

          Do you seek advice or a solution?

          Option number 3. Coded and tested apps.

          "WPF has many lovers. It's a veritable porn star!" - Josh Smith

          As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

          My blog | My articles | MoXAML PowerToys | Onyx

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #10

          :((

          I are troll :)

          1 Reply Last reply
          0
          • S sivakumar mariappan

            As i mentioned, it is client's own DBMS (DBMS is INF*ACT DB). It is not derived from any other dbms like mainframe, sqlserver and oracle. Just now i got this details from my colleagues. All this database informations are available inside of these five file format's only. .hed, .chr, .tad, .inf and .idx If you want, i will send the sample files to you.. But i don't know how to attach the files with this forum. Thanks, Sivakumar.M.

            B Offline
            B Offline
            Baran M
            wrote on last edited by
            #11

            .hed[^] You are the only person who knows better abt your problem. Gather some info. and ask questions :)

            S 1 Reply Last reply
            0
            • S ScottM1

              sivakumar.mariappan wrote:

              As i mentioned, it is client's own DBMS

              You didn't mention that.

              sivakumar.mariappan wrote:

              If you want, i will send the sample files to you

              No thanks, have you tried it yet?

              S Offline
              S Offline
              sivakumar mariappan
              wrote on last edited by
              #12

              As you advised, I have collected some more details about this inf*act db which are given below. Nielsen Inf*Act db is a SQL db compatible with relational Star schema Data model. We are receiving the inf*act db datasource from the client in a folder(the folder should be in country code) and this folder contain the files with the formats of .hed,.chr,.idx,.inf and .tad(5 files for each DB). If the datasource dump has 50 db means, the datasource folder will contain (50dbs*5files for each db) 250 files. We are adding each database through our tool by browsing the file in the format of (.hed ) from this datasource folder. One important thing is, if we delete any one of the file among those 5 files(.hed,.chr,.idx,.inf and .tad) for a db, the database will not get added in our report template tool. As i discussed here, the data is available in .inf file. First i have to extract the data from this file. Then only i can import them into ms-access. So, i want the code in vb.net, that how to extract the data from this file and import them in ms-access. I think this will help you a lot :) Thanks, Sivakumar.M

              1 Reply Last reply
              0
              • B Baran M

                .hed[^] You are the only person who knows better abt your problem. Gather some info. and ask questions :)

                S Offline
                S Offline
                sivakumar mariappan
                wrote on last edited by
                #13

                As you advised, I have collected some more details about this inf*act db which are given below. Nielsen Inf*Act db is a SQL db compatible with relational Star schema Data model. We are receiving the inf*act db datasource from the client in a folder(the folder should be in country code) and this folder contain the files with the formats of .hed,.chr,.idx,.inf and .tad(5 files for each DB). If the datasource dump has 50 db means, the datasource folder will contain (50dbs*5files for each db) 250 files. We are adding each database through our tool by browsing the file in the format of (.hed ) from this datasource folder. One important thing is, if we delete any one of the file among those 5 files(.hed,.chr,.idx,.inf and .tad) for a db, the database will not get added in our report template tool. As i discussed here, the data is available in <b>.inf</b> file. First i have to extract the data from this file. Then only i can import them into ms-access. So, <b>i want the code in vb.net, that how to extract the data from this file and import them in ms-access.</b> I think this will help you a lot :) Thanks, Sivakumar.M

                1 Reply Last reply
                0
                • L Lost User

                  A mainframe database? How many tables/records are we talking about? Do you seek advice or a solution?

                  I are troll :)

                  S Offline
                  S Offline
                  sivakumar mariappan
                  wrote on last edited by
                  #14

                  As you advised, I have collected some more details about this inf*act db which are given below. Nielsen Inf*Act db is a SQL db compatible with relational Star schema Data model. It is client's own dbms. We are receiving the inf*act db datasource from the client in a folder(the folder should be in country code) and this folder contain the files with the formats of .hed,.chr,.idx,.inf and .tad(5 files for each DB). If the datasource dump has 50 db means, the datasource folder will contain (50dbs*5files for each db) 250 files. We are adding each database through our tool by browsing the file in the format of (.hed ) from this datasource folder. One important thing is, if we delete any one of the file among those 5 files(.hed,.chr,.idx,.inf and .tad) for a db, the database will not get added in our report template tool. As i discussed here, the data is available in <b>.inf</b> file. First i have to extract the data from this file. Then only i can import them into ms-access. So, <b>i want the code in vb.net, that how to extract the data from this file and import them in ms-access.</b> I think this will help you a lot :) Thanks, Sivakumar.M

                  L 1 Reply Last reply
                  0
                  • P Pete OHanlon

                    You basically have two choices: 1. Implement something that understands the binary structure of these files and extract the data out of them. 2. Extract the data out of the DB, and import the data manually.

                    "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                    As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                    My blog | My articles | MoXAML PowerToys | Onyx

                    S Offline
                    S Offline
                    sivakumar mariappan
                    wrote on last edited by
                    #15

                    As you advised, I have collected some more details about this inf*act db which are given below. Nielsen Inf*Act db is a SQL db compatible with relational Star schema Data model. It is client's own dbms. We are receiving the inf*act db datasource from the client in a folder(the folder should be in country code) and this folder contain the files with the formats of .hed,.chr,.idx,.inf and .tad(5 files for each DB). If the datasource dump has 50 db means, the datasource folder will contain (50dbs*5files for each db) 250 files. We are adding each database through our tool by browsing the file in the format of (.hed ) from this datasource folder. One important thing is, if we delete any one of the file among those 5 files(.hed,.chr,.idx,.inf and .tad) for a db, the database will not get added in our report template tool. As i discussed here, the data is available in <b>.inf</b> file. First i have to extract the data from this file. Then only i can import them into ms-access. So, <b>i want the code in vb.net, that how to extract the data from this file and import them in ms-access.</b> I think this will help you a lot :) Thanks, Sivakumar.M

                    P 1 Reply Last reply
                    0
                    • S sivakumar mariappan

                      As you advised, I have collected some more details about this inf*act db which are given below. Nielsen Inf*Act db is a SQL db compatible with relational Star schema Data model. It is client's own dbms. We are receiving the inf*act db datasource from the client in a folder(the folder should be in country code) and this folder contain the files with the formats of .hed,.chr,.idx,.inf and .tad(5 files for each DB). If the datasource dump has 50 db means, the datasource folder will contain (50dbs*5files for each db) 250 files. We are adding each database through our tool by browsing the file in the format of (.hed ) from this datasource folder. One important thing is, if we delete any one of the file among those 5 files(.hed,.chr,.idx,.inf and .tad) for a db, the database will not get added in our report template tool. As i discussed here, the data is available in <b>.inf</b> file. First i have to extract the data from this file. Then only i can import them into ms-access. So, <b>i want the code in vb.net, that how to extract the data from this file and import them in ms-access.</b> I think this will help you a lot :) Thanks, Sivakumar.M

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #16

                      sivakumar.mariappan wrote:

                      i want the code in vb.net, that how to extract the data from this file and import them in ms-access.

                      You'll need to write it - this isn't a drive-through :) First, you'll need to determine the layout of the .inf file, and create a means of reading it into VB. If you need help, you can post an example of the contents of the .inf file here. Writing the data to an Access database would be the second step. Good luck :)

                      I are troll :)

                      1 Reply Last reply
                      0
                      • S sivakumar mariappan

                        As you advised, I have collected some more details about this inf*act db which are given below. Nielsen Inf*Act db is a SQL db compatible with relational Star schema Data model. It is client's own dbms. We are receiving the inf*act db datasource from the client in a folder(the folder should be in country code) and this folder contain the files with the formats of .hed,.chr,.idx,.inf and .tad(5 files for each DB). If the datasource dump has 50 db means, the datasource folder will contain (50dbs*5files for each db) 250 files. We are adding each database through our tool by browsing the file in the format of (.hed ) from this datasource folder. One important thing is, if we delete any one of the file among those 5 files(.hed,.chr,.idx,.inf and .tad) for a db, the database will not get added in our report template tool. As i discussed here, the data is available in <b>.inf</b> file. First i have to extract the data from this file. Then only i can import them into ms-access. So, <b>i want the code in vb.net, that how to extract the data from this file and import them in ms-access.</b> I think this will help you a lot :) Thanks, Sivakumar.M

                        P Offline
                        P Offline
                        Pete OHanlon
                        wrote on last edited by
                        #17

                        sivakumar.mariappan wrote:

                        I think this will help you a lot

                        Nope. I'm not writing your code for you - that's your job. This isn't rentacoder where you get some dumbnut to write code for you, and I don't get paid to do your job for you. Tell you what, put me in touch with your client, and my company will do the work for them directly - we'll even throw in a support contract for them.

                        "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                        As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                        My blog | My articles | MoXAML PowerToys | Onyx

                        1 Reply Last reply
                        0
                        • S sivakumar mariappan

                          Hi, In my project, i was allocated into a database convertion work (ie we have a client db(it may be a Mainframe Db) and i have to convert it into Ms-access db) using VB.NET. We have a set of client db files which are having the below mentioned format. .hed, .inf, .chr, .idx, and .tad Please kindly share your ideas and codes to complete this development successfully... Actually i am new to .NET development...Now i am learning the VB.NET concepts for the purpose of this dev. Thanks, Sivakumar.M

                          D Offline
                          D Offline
                          darkelv
                          wrote on last edited by
                          #18

                          Ask the client whether any kind of connection is available to access the database. If there are none, ask them to export the content of database to certain format (CSV, XML, flat files) If they can't, ask the client if it is a known database that your team can understand if you need to get down and dirty to decode the database If it is not a known database format, ask if they got documentation on the database structures. If they can't or no document, tell your PM your team is in deep shit..

                          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