[log in to unmask][log in to unmask], 24 Sep 2004 20:02:58 -0500725_- "Peter Smithson" <
[log in to unmask]> wrote:
> This is the BUILD statement provided by the customer and the COBOL code
> for that file as provided -
>
> BUILD AHIST;REC=-14,,F,ASCII;KSAMXL;DISC=230000;KEY=
> (B,2,13,DUP;B,9,4,RDUP)
>
> SELECT AHS-FILE ASSIGN TO "AHISTI"
> ORGANIZATION IS INDEXED
> ACCESS MODE IS DYNAMIC
> RECORD KEY IS AHIST-PRIMARY-KEY
> FILE STATUS IS AHS-STATUS.
>
> Note the lack of any 2nd key or mention of duplicates. I had the same
> error using ACUCOBOL (about the file not matching up) but I was able to
> use the following syntax in ACUCOBOL -
>
> SELECT [...]41_24Sep200420:02:
[log in to unmask]