Deleting multiple 2E Model Lists
search cancel

Deleting multiple 2E Model Lists

book

Article ID: 44656

calendar_today

Updated On:

Products

CA 2E

Issue/Introduction

You can work with all the model lists in a 2E model by running command YWRKMDLLST but deleting a large number of model lists using option 4 or YDLTMDLLST is time-consuming and cumbersome. Anyway we can do it better?

 

 

Environment

CA 2E 8.7 and higher

Resolution

2E model lists are members of model file YMDLLSTRFP so you could build a member list of model lists with this 2E Toolkit command:

YBLDMBRLST FILE(model/YMDLLSTRFP) FILEATR(*PHY) MBRLST(library/MDLLSTS)

Then you can edit the member list so that it contains only the model lists you want to delete.

You can edit the list with

YEDTMBRLST MBRLST(library/MDLLSTS)

You could also filter it with

YFLTMBRLST MBRLST(library/MDLLSTS)

Now the member list library/YMDLLSTS contains only model lists that you want to delete so you can delete them with...

YEXCMBRLST RQSDTA(' YDLTMDLLST @L/@M ') MBRLST(library/MDLLSTS)