Get Members

Note: The Get Members tool descriptors created in models prior AWM V3.0 are marked as deprecated. They still work as before but do not return the properties "resource identifier" and "data set name". The resource identifier property must be used as ID definition property of linked MVS element types.

Function:

This tool is used to return a list of data set members.

Tool Attribute:

Attribute Type Description
Member Matchname String Specifies the match name that should be used for returned members. The default value is MVSMEMBER.

Parameters:

Parameter Name I/O Type Description
Data Set Name [M] I String Data Set Name.
Member Filter [M] I String Member Filter. The default value is *.
Member List [M] O File References the file contained in the Member List.

The generated output file descriptor (Member List) is of type InputStream and has the following table structure. The property separator is /%/$/.

Property No Target ID
1 Name of the member.
2 Resource identifier, used for linked MVS element types.
3 Matchname identifying the member element type.
4 Name of the parent data set.
5 Size of the member in number of records.
6 Date when the member was created. The format for this is yyyy/MM/dd.
7 Date and time when the member was changed. The format for this is yyyy/MM/dd hh:mm:ss.
8 User ID.
9 Initial size of the member in number of records.
10 Version number.
11 Member modification level.
12 Suffix of the member which is derived from file mappings.

All other properties are returned but always have the value "UNKNOWN". To obtain those attributes for a member the tool Get Member Attributes can be used, for example, as a Get All Properties Action.

IDz restiction

Due to technical limitations, the tool has less information when executed with an IDz/RDz server instance. The only values returned by the output file are:

Property No Target ID
1 Name of the member.
2 Resource identifier, used for linked MVS element types.
3 Matchname identifying the member element type.
4 Name of the parent data set.