Discussion Locked

Student..Need help in choosing solution

0 helpful
24 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am in a senior project where we are designing a new system to replace a legacy system running cobol. Currently, the business process in consideration involves reliance on a single cobol programmer, and any changes to the actual rules need to be hard-coded every year. All data needs to be hard coded as well. The process simply does some calculations and outputs the answers to a file for further manipulation and ultimately printing. The business wants to upgrade this process to a modern solution that doesn't involve a mainframe or cobol, and is easily updated and changed when neccessary.

We are thinking along the lines of a server, and some-type of SQL-based solution (to allow for easy retrieval of info, and updating). Which software package best fits this problem? And, what is needed to calculate the figures and ultimately output them to disk? Microsoft SQL server? Access? Oracle?
Please help

24 replies

by xxx123

I assume you are talking about some custom-built software application. There are, of course, innumerable ready-made software packages for financial and manufacturing applications but I get the impression that is not what you want.

In the real world, the choice of DBMS (database management system) is often dictated by what is already licensed and available at that company and by the DBA skills currently in-house. For example, if this were an IBM mainframe application, it is entirely possible the company already has a license for DB2 which would make that DBMS a contender.

But we are in the realm of the theoretical so we can buy anything we want.

Access is suitable only for smaller scale projects with a handful of users. Yesyou can load large tables and connect 50 users, but you will have all kinds of record-locking and recovery problems.

I currently work with SQL Server a lot and it does a decent job - - if your server is running a Microsoft OS, things dovetail quite nicely.

Oracle can run under various operating systems but is often found on Unix machines or on Mainframes. Oracle is an excellent DBMS but it don't come cheap.

So for the DBMS decision, start with factors like size, number of users, server OS and cost.

by zonathen

So, when you say custom-built, are you talking about oracle, sql server, and the other examples you gave? I would figure that these examples are ready-made.

The company has already mentioned SQL server as a possible option, but that's with minimal tech knowledge. Our problem is figuring out exactly what SQL server does. I know its a DBMS, but what differentiates it from the rest? What is its key advantages and purpose? Can it run on an old IBM mainframe with EBSIDEC or however its spelled?

Does DB2 run on a mainframe or a server? Is DB2 user-friendly,etc?
Any comments are greatly appreciated...

by xxx123

OK, we need to back up a little and discuss definitions.

Oracle (from Oracle corp.) DB2 (from IBM) SQL Server (from Microsoft) are all databases. That is, you can build structures to hold data. If Access is the only database you have ever seen,I can see where you might be a little confused. Access is a database AND a programming environment that provides a means to build data entry screens and reports in addition to storing your data. It's kind of a small-scale all-in-one solution.

Oracle, DB2, SQL Server are all for larger-scale applications. Each of these stores data. Each of these uses some variation of the programming language SQL (structured query language) to allow programmers to access and update the data. But SQL is not all that you need. SQL reads and writes data in a relational database. SQL does not present a window for data entry. SQL does not generate paper reports. SQL doesn't communicate with non-relational database sources except in a few limited ways.Typically you would also use a programming language such as C++, Visual Basic, Java or even COBOL to complement the features of SQL. For example, a website is coded in HTML, Perl, Java, JavaScript, VB, VBScript or any of several other languages and when you need to read or write something to the database, you run a bit of SQL. The same goes for desktop applications. (For any lurkers, yes I know about PL/SQL and Transact SQL but I'm working on the basics here.)

Now IBM, Oracle and Microsoftof course make other programming tools to accompany their databases so when someone says they work in "Oracle" they might be referring to the database or one of the Oracle tools.

by xxx123

We generally don't talk about Oracle, DB2, SQL Server as being "user-friendly" because users don't interact directly with the database. A programmer writes software using a programming language or software tool and that software talks to the database. If the programmer writes good software, it is "user-friendly". If he writes bad software, it isn't.

Microsoft products rarely run on anything other than Microsoft operating systems (Windows 95, Windows 98, Windows NT workstation or Server, Windows 2000.) I've not heard of anyone running the Microsoft product called "SQL Server" on an IBM mainframe (which uses EBCDIC - extended binary coded decimal interchange.) However Oracle can and does run on both IBM mainframes and Unix boxes. DB2is usually run on one of the IBM boxes - - mainframe or midrange. IBM even has a Unix version and I'm sure you can run DB2 on that.

Also don't confuse the data access language called "SQL" with the Microsoft DMBS product called "SQL Server". Is your client asking about the data access language called "SQL" or the DBMS product called "SQL Server"? DB2 and Oracle are often very expensive (because they are sized for larger installations) so it would make sense if your client is discussing purchasing a low-cost Intel-based server, running a Microsoft operating system, and using the Microsoft database SQL Server.

by xxx123

Oh yes. When I was talking about "custom-built" solutions, I meant you design your own database and write the code for accessing it as I have discussed in the earlier parts of this answer. But if what you wanted was, say, an Accounts Receivable application or a payroll application, then there are many ready-made packages that have the database, data entry screens and report features already built. But to discuss those things you would have to understand in detail what it is this software is doing. Of course, you're going to have to know that anyway if you write your own software.

by shanghai sam

It is very hard to tell you what you could use based on the information you supplied.
It sounds like you have done some research by your references to SQL and servers.
If I were to start on this project I would want to know many more details. First backround information. What buisness function is the Cobol program providing? What exactly is it caclulating? How many people use this information? How many people use the mainframe? What kind of mainframe is it? Are you using dumb terminals or PC's to access the mainframe? How large is the current database?
Once that is answered you start asking what you want to do. How many people will access this new database system simutaneously? What information do you want to get from it? Is any member of your staff familiar with Access or any other desktop database? Is there a preference? Are they willing to be retrained? Is there a budget? What are your expectations for the new system?

by zonathen

I am going to elaborate on some of the background details because any help on this is appreciated.

The cobol program is used to perform the neccessary calculations in ultimately producing a statement for the consumer(and that's it). It simply takes a bunch of data about parcels of property and calculates the amount of taxes owed, etc. How many people use this information? only about four or five people in charge of the process. The mainframe performs that single function of calculating the rates using data that is hard-coded every cycle to represent the changes in the business rules. The business rules are changed in the code, and the data is entered manually into the code. There is no current database. This system is over twenty years old and simply stores the ouput of the program every year on magnetic tape.
I am pretty sure that the business wants to move away from the mainframe and towards a server that is located where the process is actually handled. The data would not be accessed all of the time or even a lot. It would be accessed enough to make the statement when it comes time. The head member in charge of this process knows some about SQL code, and feels confident that he can learn the neccessary code tomanage the database. Or they will hire somebody, we're not sure yet. As far as budget: For the purposes of this project, we have no limits. But, for the business, in reality, they have a budget around 40,000 or so. Read my reply above about requirements etc.

by twhaight

Calculations can be made in either the queries that are used to extract the data in the pages.

SQL Server has aggregate functions built in to do these as well, and are faster than doing this in a query built into a Cold Fusion template or an Active Server Page script (this is probably true with Oracle, but I'm not familiar with it).

by twhaight

1.First a dump of the data would have to be taken from the main frame and have it converted to an ASCII flat file
2. The database server would have to be setup
Oracle or SQL Server are your best bets for large multiuser databases
3. A database would have to be created on the server
4. The flat file would have to be imported
5. Some sort of user interface would then need to be created. A web-based interface would not require installation of software onto client machines. UI's created in a programming language, such as C++ or Visual Basic would require the client software to be installed on user machines.

by zonathen

Thanks emg, I wasn't sure whether SQL server included a means to provide input screens, etc., like access. But now I understand that we will need some kind programming language to design the applications neccessary to run the functions that we wantto perform on the data that resides in the program called SQL server(that's a mouthful). To elaborate a little on the Improvement Objectives of this project: We need to design a system that is accessible through some intranet or other means (for input and manipulation of the data at different locations), and is easily modifiable (SQL), it has to hold somewhere around 30-40 gigs of information per cycle (a yearly, statuatory-governed process), and the users need to be able to access prior yearsdata for a number of reasons. The process simply involves making some complicated calculations to ultimately produce an invoice depending on which categories pertain to the customer, etc. So, will SQL server make these calculations, or am I right in thinking that we need a program to perform these calculations on the data?

by twhaight

You may be wanting to put your data into some database system, such as Oracle or SQL Server. Then you can create user interfaces for them. A web based interface, created in either Active Server Pages or Cold Fusion would allow them to be accessed anywhere on your network without requiring installation of any extra software, other than a web browser, which is probably already on the machine

by twhaight

For both of these technilogies, a web server would have to be setup with the appropriate components.
ASP requires a web server with Microsoft IIS and have the ASP components(I believe Win 2000 server already has them).
Cold Fusion runs on Windows 2000, Win NT, and Linux. They would require a web server, such as IIS, Apache, or O'Reilly Web server. Then the Cold Fusion Server would have to be installed.

by twhaight

ASP components come with Microsoft 2000 Server I believe, and if you are running NT Server4.0, I believe its on the install disks.
Cold Fusion is available from Allaire, not sure of the cost.
After setting the web server, an ODBC connection is made to the database, which provides the connection needed to allow you to display, add, update, or delete data from the database.
I like Cold Fusion because its easiser to program in, and appears to be more stable than Active Server Pages

by sage

If you install Win2K Pro or Win2K Server, all necessary components are all there for you, or you could outsource the web server and the database server like my company does. Like your project, we have some heavy data processing going on and our system works pretty smooth (Plus it doesnt cost as much cause you need to maintain a server which means $$$$$ :: where as outsourcing is a flat fee)

by sage

Overall the best thing (and cheapest thing) would probably be to build a web-based solution and do what the previous reply said, Dump, Convert, Import then build.
Once you are sure you have Valid data, contact a good web host, I recommend Innerhost, good, inexpensive and very trustworthy.

by donq

I have been doing database design for 18 years and find Access 2000 / VBA and EXCELLANT business application development tool. The onlt thing that is really important is you understand where your final data source will reside (inn Access or SQL Server).

If Access code everything for the Access Engine using Visual Basic's DAO codng.

If SQL-Server code everything for the ODBC Connecting Engine using Visual Basic's ADO codng.

These afe FAST and POWERFUL once you get the hang of them!

by twhaight

Access would be ok for the user interface (input forms, reports, etc). For the back end database, I would still use SQL Server, and link the tables.

by adisha

I have imported data into tables on a SQL server from Access 2000 database and have lost rights to edit data within e.g. deleting records. Yet when I create tables from scratch I have no problems - what am I doing wrong?

I have assigning DBO rights on the tables in question but this does not seem to help . . .

WHat would you suggest?

by zonathen

When you refer to outsourcing, do you mean hiring consulants to keep the server running smoothly? Or do you mean through the internet? Not sure what you mean. What's the advantage of using win2k server as apposed to professional?

by zonathen

Doing the calculations within the queries sounds great, but it needs to be easy to operate. I assume that the SQL would get real hairy because of the complexity of the calculations. Maybe not, but either way I would still need a web-based front-end so it can interact with completely different sites.

by twhaight

Yes they can get hairy. Stored procedures would be even more efficient. They would be precompiled, so they would take less time to process, and would take the load off the web server. The best way would be to have separate machines for the web server and the database server.

by zonathen

What about Linux? I've read so much about it, but never seen it in action. I assume its like a unix server. Isn't it cheap or free? Would it do everything I need it to? As far as ASP's go? What program on Linux is the best for this? Or is it already built in?

by twhaight

Linux is a operating system created by Linux Torvalids (not sure of the spelling) and is similar to UNIX. It can be downloaded for free, or you can get full distributions for various prices. Red Hat is probably the most popular.

ASP won't run on Linux. They require Microsoft IIS, which run on Win NT or Win 2000. There is a product called Chili soft that allows ASP to run on other servers besides IIS. Not sure if it works on Linux.

I believe the Red Hat, as well as other distributions, comes with Apache web server which works great with Cold Fusion.

This discussion is closed to new replies.