Previous Topic: General Considerations for Generic ManipulationNext Topic: Generic Command Messages


Using Generic Commands

All of the generic commands can either be used generically, without reference to a list, or make explicit use of the list function. For example:

YMOVOBJ OBJ(QGPL/FR*) OBJTYPE(*PGM) TOLIBOBJ(FRED)

Note: The parameter usage is exactly analogous with that of the i OS command Move Object (MOVOBJ):

MOVOBJ OBJ(QGPL/FREUD) OBJTYPE(*PGM) TOLIBOBJ(FRED)
MOVOBJ OBJQGPL(FREEZE) OBJTYPE(*PGM) TOLIBOBJ(FRED)
MOVOBJ OBJ(QGPL/FRIED) OBJTYPE(*PGM) TOLIBOBJ(FRED)

YMOVOBJ OBJ(*OBJLST) OBJTYPE(*ALL) TOLIBOBJ(QGPL) OBJLST(FRED)