MBRNAME (MBR)


The MBRNAME parameter specifies a member name range that selects a subset of members based on the characters in the member name.

The syntax of the MBRNAME parameter is:

MBRNAME=(from-value,to-value)
        (,to-value)
        (from-value)
         from-value

from-value,to-value

Specifies the FROM and TO endpoint member names to include in the member list. The member names can be complete or partial. Pattern characters are not allowed.

As with the USERID parameter, the from-value is padded with low values, and the to-value is padded with high values. Entering the same characters in the from-value and to-value selects all members beginning with those characters.

The from or to-value member name can be up to eight characters for a PDS, PDSE, or CA Librarian library, and 10 for CA Panvalet library.

Example

$$DD01 LIST MBRNAME=(EMPL,EMPL)

This example prints all members that begin with the characters EMPL.


Example

$$DD01 LIST MBRNAME=(,ACCTBZZY)

This example prints all members from the beginning of the directory through member ACCTBZZY.


Example

$$DD01 LIST MBRNAME=ACCTBZZY

This example prints member ACCTBZZY and the remaining members through the end of the directory.

In addition, you can specify multiple FROM and TO value ranges and the maximum size of all value ranges is 1024 bytes.

The individual ranges should be separated by a semicolon ( ; ), and if the ranges are continued onto multiple statements, the last character should be a comma ( , ) or semi colon ( ; ).

The MEMBERS and MEMBERX parameters are not supported with MBRNAME.

Example

$$DD01 LIST OUT=0,MBRNAME=(A,B;X,Z)

$$DD01 LIST MBRNAME=(AA,AA;AC,AC;AE,AE;AG,AG;AI,AI;AK,AK;AM, AM;AO,AO;AQ,AQ;AS,AS;AU,AU),OUT=0

$$DD01 LIST MBRNAME=(AA,AA;AC,AC;AE,AE;AG,AG;AI,AI;AK,AK; AM,AM;AO,AO;AQ,AQ;AS,AS;AU,AU),OUT=0


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*