Previous Topic: Accessing Model Object Cross Reference Facilities

Next Topic: Simulating Changes to Model Objects

Working with Model Object Cross References in Batch

Following are examples of using the Display Model Usages (YDSPMDLUSG) and the Display Model References (YDSPMDLREF) commands in batch:

YDSPMDLUSG MDDLST(MYMDL/WRKLST) +
 SCOPE(*EXTFUN) OUTPUT(*MDLLST) +
 OUTMDLLST(OUTLST) OUTLSTUPD(*ADD)

YDSPMDLREF MDLLST(*MDLLIB/MYLIST)+
 OUTPUT(*PRINT) FILTER(*GENOBJ)