DISPLAY option

The DISPLAY option creates a member list and displays it. You can specify a customized panel, place the cursor, and have member list line commands validated.

LMMDISP with OPTION(DISPLAY) must be the first invocation of LMMDISP with a data ID once you have invoked LMINIT and LMOPEN with that data ID. This creates a member list for the data ID and displays it. Subsequent calls with the DISPLAY option simply display the member list again. Modification of parameters MEMBER, COMMANDS, and FIELD are ignored after a member list has been created until it is freed by an LMMDISP invocation with OPTION(FREE).

When the member list panel is displayed, you can select members for processing by entering valid line commands next to the member names or by using the SELECT primary command.

If a member or members were selected, LMMDISP returns the first or only selected member in ISPF dialog variables. To retrieve the remaining selections, LMMDISP with OPTION(GET) must be invoked for each selected member.