LMODDIR (LMD)


The LMODDIR function lists the directory entry(ies) of member(s). It supports both data and load PDSs. The optional parameters enable you to select specific members for processing. The parameters that are valid depend on the data type of the PDS. MBRNAME, MBRNAMX, MEMBER, MEMBERS, MBRMASK and MEMBERX are valid for both data and load files. CHANGED, CHANGEX, CREATED, and CREATEX are valid only for data PDSs. AMODE, LINKDATE, and RMODE are valid only for load PDSs. The report is written to the SYSLIST DD.

Example:

$$DD01 LMODDIR CREATED=(00/01/01,00/03/31)

This example lists all directory entries of members in the data set with a creation date on or between January 1, 2000 and March 31, 2000.

 

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