Previous Topic: Required Application ObjectsNext Topic: Long Running Commands


Obtain Required Object Lists

You can obtain a list of objects required to display menus and help text by doing the following from an i OS command line or CL program:

YBLDJOBLST Y1USROBJ FILE OBJLST (Y1USROBJ) CPYF FROM FILE(Y1USROBJ) TOFILE(QTEMP/YOBJLST)
 FROMMBR(*ALL) TOMBR(*FROMMBR) MBROPT(*AD) FMTOPT(*MAP)
 YBLDMBRLST QTEMP/YOBJLST
YFLTMBRLST MBR (Y1)
 YEXCMBRLST RQDTA (‘YDOCOBJLST QTEMP/@N)

This obtains files listing the objects and a set of object lists used in conjunction with the Create Duplicate Objects command to create the objects.

If you are running a generated application, you can use the YDUPAPPOBJ command to duplicate objects required for menus and help.