Well, my compiler doesn't indicate any errors, but i'm not writing a full program, only parts of it so I can't really test it.
I just want to make sure its allowed to write it down like that..
Kind regards
In the record description...
05 boek-alt-key1.
07 b-buitgever PIC X(25).
05 boek-alt-key2.
07 b-btitel PIC X(25).
If its allowed to write it down like that, using 2 alternate keys with each an individual groupfield.
Hello,
I have a question about the record and file description in Cobol.
This is my code:
--File description--
SELECT OPTIONAL boek-file ASSIGN TO "boek.dat"
ORGANIZATION IS INDEXED
ACCESS MODE IS DYNAMIC
RECORD KEY IS boek-prim-key
ALTERNATE RECORD KEY IS boek-alt-key1 WITH...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.