Get Members

Note: 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. Default: MVSMEMBER

Parameters:

Parameter No I/O Type Description
1 [M] I String Data Set Name.
2 [M] I String Member Filter. Default: *
3 [M] O File References the file contained in the Member List.

The output file descriptor (Member List) should be of type InputStream and has the following structure:

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 (number of records).
6 Date when the member was created (format: yyyy/MM/dd).
7 Date and time when the member was changed (format: yyyy/MM/dd hh:mm:ss).
8 User ID.
9 Initial size (number of records) of the member.
10 Version number.
11 Member modification level.
12 Suffix of the member (derived from file mappings ).

When defining the file descriptor you must make sure to define a unique delimiter used to separate the member properties. The MVS Explorer uses the delimiter "/%/$/".

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:

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.