The Toolkit command Convert Program References (YCVTPGMREF) converts references to a database file, or format, into an object list. All programs that reference the specified file in a specified manner will be included in the list. The resulting list can be used to identify the names of programs that need to be recompiled as the result of a file change.
For example, the effect of the following three commands would be to submit recompiles of all programs in library QGPL that use file FRED:
YCVTPGMREF PGM(QGPL/*ALL) FILE(FRED) OBJLST(GEORGE) YCVTOBJLST OBJLST(GEORGE) MBRLST(GEORGE) SRCFILE(SAUCE/*QDFTSRC) YCRTOBJ OBJLIB(NEW) MBRLST(GEORGE) SRCFILE(*MBRLIST) JOBQ(QGPL/QPGMR) JOBD(QBATCH)
|
Copyright © 2014 CA.
All rights reserved.
|
|