Previous Page | Next Page

Windows and Commands in z/OS Environments

MEMLIST Window: z/OS



Displays a member list for a partitioned data set (PDS) or for a series of partitioned data sets in a concatenation.
z/OS specifics: all

Syntax
Details

Syntax

MEMLIST
MEMLIST ddname
MEMLIST ddname(member)
MEMLIST ddname (generic-name*)
MEMLIST ddname(generic-name:)
MEMLIST fileref
MEMLIST 'physical-filename'
MEMLIST 'physical-filename (member )'
MEMLIST 'physical-filename(partial-ddname*)'
MEMLIST 'physical-filename (partial-ddname:)'


Details

You can invoke the MEMLIST window from any window in the windowing environment, including the windows in SAS/FSP and SAS/AF. You can specify either a specific member name or a partial member name. For example, the following specification lists all of the members in a PDS to which you have assigned the fileref MYPDS: MEMLIST MYPDS. To list only members whose names begin with TEST in this PDS, you would use the following specification: MEMLIST MYPDS(TEST*) .

You can also invoke the MEMLIST window by using the M selection-field command in the FNAME window.

By entering one of the following selection-field commands in the MEMLIST window, you can perform various functions on the displayed list of PDS members:

B or S

selects a member for browsing.

E

selects a member for editing.

I

includes a member into the Program Editor window and makes Program Editor the active window.

%

submits a %INCLUDE statement for a member.

R

renames a member.

D

deletes a member.

?

displays a pop-up menu.

The LIB column uses numbers to indicate the library in which each member is found. The numbers represent the order in which the PDSes were specified at concatenation. For example, a "1" in the LIB column indicates the member exists in the first PDS that was specified, the number "2" indicates it exists in the second PDS that was specified, and so on. A plus (+) sign next to a number indicates that multiple members in the concatenation have the same name.

MEMLIST Window

[MEMLIST Window]

The MEMLIST window supports concatenated PDSes in SAS 9.2. However, selection-field commands issued on concatenated PDSes operate only on the first library in the concatenation. For example, you cannot save the result of editing a member that exists in a library other than the first library in the concatenation.

You can use the DELETE and RENAME commands for members of the first library that have the same name as members in lower libraries. If you delete a file in the first library, the member of the first library is deleted and the next lower member with that name is displayed. If you rename a file in the first library, the member of the first library is renamed and the next lower member with that name is displayed.

If you have more than one MEMLIST window displaying the same PDS, and you create, rename, or delete a member of the PDS, only the active window is updated on screen when the change is completed. The other MEMLIST windows are updated at the same time as the active window, but you will not see the change to the member list until you select one of these windows as your active window.

Previous Page | Next Page | Top of Page