Re: Cobol set for AIX - secuential files - DDMEA

From: michael potter (pottmi_at_gmail.com)
Date: 10/28/04


Date: 27 Oct 2004 21:30:47 -0700

Daniel Vidal <vidal_dan@gva.es> wrote in message news:<4178D14F.A72AC01@gva.es>...
> Hi all
>
> I have a problem with Cobol and secuential files when migrating from
> MVS to AIX.
>
> I have many batch processes that do 3 steps:
>
> 1 - extract data from database and write secuential file
> 2 - sort the secuential file (external tool like syncsort)
> 3 - generate report
>
> Secuential files in Cobol set for Aix have two real files one like
> filename.txt and other hidden file named .filename.ddmea .
>
> If the sort not have 'INCLUDE' or 'OMIT' options i can copy the
> original .ddmea file with the name of sorted file and all work fine
> but.... I have some sort processes with 'INCLUDE' option set...
>
> Someone know any utilitie for generate .ddmea file from secuential
> file?
> Someone know the .ddmea file specification?
>
> NOTES: I can't use 'line secuential' files... i have packed data.
> The migrated application is very very old and big!!!
>
> T.I.A.
>
> Salud y Suerte!!!!!!!!!!

Dan,

I had a similar problem. I suggest that you convert to the
other indexed file system supported by aix cobol 2.0. the
name slips my mind, but you should be able to find it in
the programmers reference:
http://www-306.ibm.com/software/awdtools/cobol/aix/library/

this alternate indexed file system does not use the annoying
.ddmea files. THere are two ways to tell aix cobol to
use the alternate file system: set an environment variable,
or prefix the name of the file in the program.

I dont think this information specifically addresses your
problem, but at least you will not have to deal with .ddmea.

-- 
potter


Relevant Pages

  • Re: Cobol set for AIX - secuential files - DDMEA
    ... >MVS to AIX. ... > Secuential files in Cobol set for Aix have two real files one like ... >original .ddmea file with the name of sorted file and all work fine ... binary data through a pipe. ...
    (comp.lang.cobol)
  • Re: AIX COBOL ASSIGN error.
    ... I don't think you have told us if you are an experienced COBOL programmer who ... new to AIX - or if you are new to COBOL and AIX. ... Message routine called from offset 0x38 of routine ...
    (comp.lang.cobol)
  • Re: AIX COBOL ASSIGN error.
    ... I don't think you have told us if you are an experienced COBOL programmer who is ... new to AIX - or if you are new to COBOL and AIX. ... Message routine called from offset 0x38 of routine ...
    (comp.lang.cobol)
  • Re: AIX ASSIGN problems
    ... >We're trying to compile and run our first COBOL programs on AIX (we've ... It would help if you told us which COBOL brand and version you are ... >We verify the environmental variables are accurately set up by executing ...
    (comp.lang.cobol)
  • Re: AIX COBOL set 1.1 using UDB - help on compilation
    ... > to AIX cobol set 1.1 with UDB as the database in AIX. ... > The copybook has a host variable. ... precompiler says, it's undefined. ...
    (comp.lang.cobol)