Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Language Reference


SAME RECORD AREA clause

The SAME RECORD AREA clause specifies that two or more files are to use the same main storage area for processing the current logical record.

The files named in a SAME RECORD AREA clause need not have the same organization or access.

file-name-3, file-name-4
Must be specified in the file-control paragraph of the same program. file-name-3 and file-name-4 must not reference a file that is defined with the EXTERNAL clause.

All of the files can be open at the same time. A logical record in the shared storage area is considered to be both of the following:

More than one SAME RECORD AREA clause can be included in a program. However:

The files named in the SAME RECORD AREA clause need not have the same organization or access.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)