USERID (USR)


The USERID parameter specifies a user identification range that selects a group of members based on the user ID that last updated and saved a member. This information is a PDS statistic that is stored in the directory. Members without PDS statistics, because they were not created (STATS OFF) or the statistics were deleted, are not selected.

The syntax of the USERID parameter is:

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

from-value,to-value

Specifies the FROM and TO endpoints for user IDs to include in the member list. The user IDs can be complete or partial. Pattern characters are not allowed. As with MBRNAME parameter, the from-value is padded with low values, and the to-value is padded with high values.

Example:

$$DD01 LIST USERID=(USERID1,USERID5)

This example prints all members that were last updated and saved by user ID USERID1, USERID2, USERID3, USERID4, or USERID5.

Example:

$$DD01 LIST USERID=(USERID2,USERID2)

This example prints all members that were last updated and saved by user ID USERID2.

Example:

$$DD01 LIST USERID=USERID2

This example prints all members that were last updated and saved by user ID USERID2 or user IDs of higher values.

 

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