I don’t know if you would consider this “easy”, but you could use the <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/quslobj.htm”>List Objects API</a> to get a list of all *JOBDs on your system. Given this list, you could then loop through each returned *JOBD and use the <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/qwdrjobd.htm”>Retrieve Job Description Information API</a> to access the initial library list found in each *JOBD. Search the *JOBD initial library for the library in question and, if found, construct a proper CHGJOBD command to set the new library list and use an API such as QCMDEXC or QCAPCMD to run the CHGJOBD. This approach would cover all *JOBDs and would not be overly difficult to automate (if you’re familiar with system APIs).
Providing integrated solutions for the System i user community