Programmer Utilities › Lists › Using Lists › Using a Generic Name
The following will change the ownership of all objects in library QGPL whose names begin with FR:
YCHGOBJOWN OBJ(QGPL/FR*) OBJTYPE(*PGM *DSPF) NEWOWN(FRED)