sequential file formats



I have noticed that every compiler/op sys seems to create a different
format for sequential files. for instance, a COBOL program on the
mainframe will create a sequential file with a four byte header that
indicates length. On microfocus on AIX, a COBOL program will create a
similar file but the with a special record as the first record that has
some additional information.

Does anyone know of a comprehensive list of all the different formats
that may be out there?

I will post small sample program that will create a two record
sequential file in hopes that some of you will run the program and
report back the format of the file that is produced. A hex dump as a
post would be great. if you can not hex dump on your selected
operating system, then email the output to theador@@@@gmail and I will
hex dump the file and post it.

Hopefully we can cover these combinations:
Fujitsu on UNIX
Fujitsu on WIndows
IBM on AIX
IBM on z/OS
MicroFocus on UNIX
MicroFocus on WIndows
AccuCOBOL
OpenCOBOL

Thanks to those who can help in this experiment,
Theador.

.



Relevant Pages

  • Re: sequential file formats
    ... a COBOL program on the ... Have you noticed that a sequential file on the mainframe, ... >report back the format of the file that is produced. ...
    (comp.lang.cobol)
  • Re: Indexed Sequental file - junk when created...
    ... or the file is crashed after opened as sequential file by Cobol program ... or by manual edition. ... > Each time I run the program it get's filled with even more junk plus ...
    (comp.lang.cobol)
  • Re: COBOL program
    ... I'm in need of a COBOL program that makes the reading of a member in a partitioned data set. ... the file is just an 80-byte fixed length sequential file. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • MicroFocus & mainframe sequential files
    ... That transfer format is very simple: ... Microfocus seems to want a 128 byte header on the file, ... has anyone found a combination of options that allow a cobol program ... sequential file format compatibilty, not data compatiblity. ...
    (comp.lang.cobol)
  • Re: How to skip records while reading
    ... > Skipping the last five records of a sequential file is difficult to do ... > in a COBOL program, unless you know in advance how many records are on ... PERFORM Count-MyFile ... OPEN INPUT MyFile ...
    (comp.lang.cobol)