by Robert Sample » Wed Sep 08, 2010 6:19 pm
If you have multiple 01 variables in the FD, when you do a READ command they ALL are loaded with the data read from the file -- there is an implied REDEFINES clause for each so you're really only describing one record area -- just in multiple ways.
RECORD CONTAINS (or RECORD IS VARYING -- they're formats 2 and 3 of the RECORD clause in the Language Reference manual) has nothing to do with multiple 01 variables. You seem to be confusing concepts here.
I strongly recommend you go to IBM's web site, find the COBOL Language Reference manual, and read every page of every subsection of section 5.2 on the file description entries -- this will clarify your understanding of how COBOL deals with files.