Select members (z/VSE)

The SELECT process statement (for z/VSE®) selects members from a sublibrary of a Librarian library for comparison or for being searched. You can specify as many member names as fit on one line. If you need to select additional members, enter a new SELECT statement.

Note: The names of the Librarian library and sublibrary (from which the members are to be selected) must be specified using NEWDD and OLDDD process statements (see DD-VSE DLBL/TLBL definitions).

For comparisons, the new members are normally compared with old members that have the same names. Use the colon character (:) to compare members that are not named alike.

Any number of SELECT statements may be specified.

Compare Types: FILE, LINE, WORD, BYTE, and Search

Read syntax diagramSkip visual syntax diagramSELECT,new_member.member_type:old_member.member_typenew_member.member_typesearch_member.member_type
new_member.member_type
The name of a member and its member type in the sublibrary of the Librarian library in the new file that is to be compared to a member in the old file.
old_member.member_type
The name of a member and its member type in the sublibrary of the Librarian library in the old file that does not have a like-named member in the new file. This member name and member type, if entered, must be separated from the new_member name and member type by a colon (:).

If the old_member name is not used, SuperC attempts to compare the new_member to a like-named member in the sublibrary of the Librarian library in the new file.

search_member.member_type
The name of a member and its member type in the sublibrary of the Librarian library that is to be searched.
Example Description
SELECT NEW1.C,NEW2.C,NEW3.C
For a comparison, compares member NEW1.C from the sublibrary of the Librarian library of the new file with the member NEW1.C from the sublibrary of the Librarian library of the old file, compares member NEW2.C from the sublibrary of the Librarian library of the new file with the member NEW2.C from the sublibrary of the Librarian library of the old file and compares member NEW3.C from the sublibrary of the Librarian library of the new file with the member NEW3.C from the sublibrary of the Librarian library of the old file.

For a search, selects members NEW1.C, NEW2.C, and NEW3.C from the sublibrary of the Librarian library to be searched.

SELECT NEW1.C:OLD1.C,MEMBER2.C
Compares member NEW1.C from the sublibrary of the Librarian library of the new file with the member OLD1.C from the sublibrary of the Librarian library of the old file and compares member MEMBER2.C from the sublibrary of the Librarian library of the new file with the member MEMBER2.C from the sublibrary of the Librarian library of the old file.