4.2.19 SAME SORT AREA Clause
>_Workstation_> Under AIX, OS/2, and Windows, the SAME SORT AREA clause is
treated as a comment. <_Workstation_<
The SAME SORT AREA clause is syntax checked but has no effect on the
execution of the program.
-
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 cannot reference an external file
connector.
When the SAME SORT AREA clause is specified, at least one file-name
specified must name a sort file. Files that are not sort files can also
be specified. The following rules apply:
- More than one SAME SORT AREA clause can be specified. However, a
given sort file must not be named in more than one such clause.
- If a file that is not a sort file is named in both a SAME AREA clause
and in one or more SAME SORT AREA clauses, all the files in the SAME
AREA clause must also appear in that SAME SORT AREA clause.
- Files named in a SAME SORT AREA clause need not have the same
organization or access.
- Files named in a SAME SORT AREA clause that are not sort files do not
share storage with each other unless the user names them in a SAME
AREA or SAME RECORD AREA clause.
- During the execution of a SORT or MERGE statement that refers to a
sort or merge file named in this clause, any nonsort or nonmerge files
associated with file-names named in this clause must not be in the
open mode.
© Copyright IBM Corp. 1991, 1998
IBM Library Server Copyright 1989, 2005 IBM Corporation. All rights reserved.
Return to library:
z/OS |
z/OS.e |
TPF |
z/VSE |
z/VM |
IBM Hardware |
IBM System z Redbooks
Glossary:
IBM terminology
Publications:
How to order publications
Readers:
Download IBM Library Reader |
Download IBM Softcopy Reader |
Download Adobe® Acrobat® Reader®
Library management:
Download IBM Softcopy Librarian
Contacts:
Contact z/OS
Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks
of Adobe Systems incorporated.