Re: sequential file formats



On 24 Jul 2005 22:02:28 -0700, "theador" <Theador@xxxxxxxxx>
enlightened us:

>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.
>

Have you noticed that a sequential file on the mainframe, whether
created by COBOL or some other language, can also not have a four byte
header and be fixed length?


>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.

Regards,

////
(o o)
-oOO--(_)--OOo-


"The early bird may get the worm,
but the second mouse gets the cheese."
--Steven Wright
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Remove nospam to email me.

Steve
.



Relevant Pages

  • Re: MicroFocus & mainframe sequential files
    ... That transfer format is very simple: ... Microfocus seems to want a 128 byte header on the file, ... sequential file format compatibilty, not data compatiblity. ... They supplied a utility program VRECGEN to be run on the mainframe before downloading variable length record data, and VRECGEN2, to run on the PC before going the opposite direction. ...
    (comp.lang.cobol)
  • sequential file formats
    ... a COBOL program on the ... mainframe will create a sequential file with a four byte header that ... report back the format of the file that is produced. ... if you can not hex dump on your selected ...
    (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)