Re: Should COBOL be lockedUP for good?...



Hi Kellie,

I read the whole of this thread and all the replies.

You are receiving some EXCELLENT advice, getting it for free from people who
have spent years in the real world, and, it seems to me you may be too
dismissive of the points being raised.

As you know, I am supportive of your "independent thought" stance and I
wouldn't want to see that stifled, but you do need to test some of your
ideas before you can really make claims about them.

You are allowing your emotional attachment to COBOL to blind you here. (It
isn't wise to do that with ANY language; it is just computer programming,
not life and death or a lifetime love affair...)

Both Richard and Bill (and some others) have tried to explain their
reservations to you and tried to point out some of the things you need to be
aware of. But it certainly looks as though your mind is already closed. That
is OK (as part of a learning curve; it is NEVER OK to close your mind,
really... :-)), but then, you can forgive Richard for asking why you asked
the question if you already have all the answers...

You may think it is fine to use the COBOL file system, but it isn't. It
isn't just about relative efficiency, it is about other software having
access to the data. Many years ago, right here in this forum, when I
suggested that the COBOL file system should be replaced by RDBs, wherever
possible, there were howls of indignation and I was seen as an anti-COBOL
idiot. (I'm actually neither...but people get emotional about computer
programming.) Today, people see there are real benefits in letting an
established system do the work for you...

The fact is that one of the nails in COBOL's coffin has been the file
system. People don't want to have write a program (or have one written for
them), every time access to corporate data is required. It was OK 40 years
ago when there was no other option; it ISN'T OK today. It is ironic that the
only thing actually "wrong" with the file system is that it is closed. As a
system for data management it is excellent. But so are modern databases, and
they have the advantage of handling locks, rollback, checkpoints, and all of
the facilities you realised you needed (I give you full credit for that...)
embedded in them and fully debugged and operational.

Richard in particular has explained at some length some of the
considerations with multiprocessing and multitasking and it isn't ALL to be
found on MSDN (although, I agree that is an excellent resource, and use it
myself).

Here's some general things to consider, and I wish you every success with
your system...

1. Don't let the technology you know and understand drive your requirements.
Sometimes you need to put aside your technical knowledge and try to
understand what is needed in plain English from a user point of view. It is
all too easy to think "requirement for random access. OK that means ISAM (or
VSAM or BTRIEVE or whatever your environment supports).". The tail does not
wag the dog. Get the WHOLE requirement then start looking at what technology
is most applicable. Do the homework and don't just use COBOL as a "one size
fits all" tool. That is one step away from "Everything I want to do, I can
do in COBOL". When I hear people say that, it immediately tells me they are
limited in their imagination and/or in what they want to do... The BEST
tools for the job. Sometimes it is COBOL; sometimes it isn't...

2. Accept that there is a knowledge base here that is worth considering.
That's why you come here, right? There is nothing wrong with questioning,
but maybe run a few tests, rather than rely on what you think OUGHT to be
the case. (I did this recently when you suggested some alternate forms of
input and validation... I'm sure you remember. The exercise was enlightening
to me and there were a number of useful spin-offs. Not to mention that a
number of people provided useful considerations and input. If, after 40
years of programming, I am not above employing an empirical approach when
appropriate, don't you think you could too? :-)

The sad fact is that what you read in the manuals (and on MSDN) is not
ALWAYS true... (I know...shock! horror!). When people with the experience
base of Richard Plinston and Bill Klein are giving you a heads up, it is
polite to at least listen...and wise to consider what they say (I certainly
do...). (If you think you are not getting a fair hearing or being
understood, then do some experiments and repost.)

3. I believe you have what it takes to be a really successful problem
solver. BUT, you lack experience. Accept that. It isn't a fault. Be thankful
there are people here who will share THEIR experience with you (and for
FREE!), just as you will in years to come...

Finally, I have deliberately refrained from answering your questions, even
though I have some opinions about the solutions. This is a time when you
really must evaluate the answers for yourself, and consider all the opinions
you have had.

Best,

Pete.

<snip>



.



Relevant Pages

  • Re: Closed file system was Re: END-IF
    ... there was NO file system. ... Eventually, as resources, and understanding grew, the RELATIONSHIP between data and it's use, ... My point is that COBOL had nothing to do with this change. ... data without needing to request COBOL programming from IT.(As long as they ...
    (comp.lang.cobol)
  • Re: Relevance of languages WAS: Re: Date Validation in COBOL
    ... Very good response from both you and Howard. ... COBOL replacing Assembler was one ... programming to the masses was a very bad move and there would have ... because COBOL controls everything and is not designed for responding ...
    (comp.lang.cobol)
  • Cobol and OO programming: the final chapter!
    ... The history of Cobol today is often modeled as an evolution in steps ... reflection of the OO programming influence, ... ideological fight for pimp standards has basically already been fought ... must assume it does give us the fittest ideology for the times. ...
    (comp.lang.cobol)
  • Layers, objects, and granularity
    ... working with classes and objects in COBOL and ... from the input and output and replace them with an interface. ... Presentation layer, Business layer, and Data access ... Leaving aside the debate about OO programming versus Procedural programming, ...
    (comp.lang.cobol)
  • Parallelism between computer science and experience WAS: Re: SQL wrapper in OO cobol
    ... an OO cobol extension to wrap all the embedded sql statements? ... the database - or even that it's going to a database. ... concepts of programming theory. ... formalizing programming was not the common approach on most sites, ...
    (comp.lang.cobol)