To output a model object list WRKLST to contain all objects from input list INLSTA that are not in input list INLSTB:
YOPRMDLLST MDLLSTA( *MDLLIB/INLSTA ) + LSTOPR( *SUB ) MDLLSTB( INLSTB ) TOMDLLST + ( WRKLST ) LSTOPT( *REPLACE )
To combine two model object lists to the first input list:
YOPRMDLLST MDLLSTA( *MDLLIB/INLSTA ) + LSTOPR( *UNION ) MDLLSTB( INLSTB ) + TOMDLLST ( *MDLLSTA )
To compare list entries between two models to detect whether objects have been changed in one of the models:
YCPYMDLLST FRMMDLLST(YOURMDL/WRKLST)+
TOMDLLST( MYMDL/*USER ) LSTOPT(*REPLACE)
YOPRMDLLST MDLLSTA( MYMDL/*USER ) +
LSTOPR( *DIFF ) MDLLSTB( *ALLOBJ )+
TOMDLLST( *MDLLSTA ) IGNCHGDTE( *NO )
|
Copyright © 2014 CA.
All rights reserved.
|
|