Re: How proprietary is the "COBOL file system"





"Richard" <riplin@xxxxxxxxxxxx> wrote in message
news:1191178815.162798.149670@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

On Sep 30, 4:18 pm, "Pete Dashwood"
<dashw...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Can anyone tell me if MicroFocus COBOL can read Fujitsu ISAM files, and
vice
versa? What about Realia?

Obviously, at the source code level (SELECT and FD/01) the code is
compatible, but what about object level?

This is no better nor worse than with RDBMS or other databases. One
cannot put an Oracle database file into a PostgresSQL system. MySQL
data files can't work with Informix, etc. Of course the _source_ SQL
is (mostly) compatible, but data has to be extracted and reloaded to
move it, possibly with conversion.

It is trivial to export and import data and structure between RDBMS, and you
don't need to write a program to do it. The data is open and accessible. It
isn't trivial to do so with ISAM.

I agree that "interpretations" of the SQL standard are different between
various RDBMS and this is problematic for me at the moment as I need to
generate DDL for different RDBMS. I was surprised that DDL from ACCESS was
totally incompatible with MySQL and even with SQL Server (although less so
there). Some constructs like ALTER TABLE seem to work in any RDBMS without
change, others (PRIMARY KEY and referential integrity constraints are the
two worst offenders) need serious massaging. I have a separate called C#
program that reformats an ACCESS DDL "Baseline" to whatever is required and
the SQL generated into the load programs is automatically modified for the
target RDBMS. It is all working fine, but it was a lot of work...:-)


Is there a single PC ISAM system, or do all the COBOL vendors have their
own
proprietary indexed system which is delivered with their COBOL compiler?

C-ISAM file system is an X-Open standard and used by Informix, C (or
any C callable language), and MF Cobol. However, other ISAM systems
are faster, more compact, and more reliable. Btrieve was another ISAM
system that tried to be a standard system for all languages.

I know what I THINK the answer is, but would be gald to hear any other
facts/opinions about this.





.



Relevant Pages

  • Re: Best bit fields implementation under postgres
    ... You missed the foundations of RDBMS. ... Assembly Language, hardware dependent code you have been writing. ... the DDL and after you have the DDL, then you might worry about the ... I have thought about doing a book on Bad SQL, ...
    (comp.databases)
  • Re: Moderately OT: Scientific File Design
    ... From the extensive description of your data organization, it appears that this is the kind of problem that is well-suited to an RDBMS. ... All modern RDBMS packages use Structured Query Language (SQL) as an interface language to the RDBMS. ... Oracle/Rdb is very well tailored to the OpenVMS operating system and, IMHO, easier to use than the regular Oracle product. ... Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html ...
    (comp.lang.fortran)
  • Re: Moderately OT: Scientific File Design
    ... signals, and so on. ... From the extensive description of your data organization, it appears that this is the kind of problem that is well-suited to an RDBMS. ... All modern RDBMS packages use Structured Query Language (SQL) as an interface language to the RDBMS. ... Oracle/Rdb is very well tailored to the OpenVMS operating system and, IMHO, easier to use than the regular Oracle product. ...
    (comp.lang.fortran)
  • Re: How many pre-decimal positions/integer digits has a DECimal (5,3) defined field ?
    ... Per ANSI SQL, for DECIMAL, the RDBMS is allowed you to give you a higher precision than you asked ... In SQL Server, they are the same. ... >> Does 5 represent the total numer of digits or only the number ... > In Oracle, you can also specify 'NUMBER' which stores 5 digits ...
    (microsoft.public.sqlserver.programming)
  • Re: SQL to combine columns
    ... Let me pull some imaginary money out of my ... Internet, as wonderful as it is, has its limitations. ... Yes, CELKO is a Master at RDBMS, I have just started out and have done ... advanced, in regards to SQL and RDBMS, recent copyright date please? ...
    (comp.databases.ms-sqlserver)