Previous Topic: Changing the Library List of a JobNext Topic: Changing the Library List of a User Profile


Changing the Library List of a Job Description

You can reset the library list for a job description by using the command Change Job Description Library List (YCHGJOBDLL). The command changes the initial library list (INLLIBL) on a specified job description with the contents of a specified library list. For example:

YCHGJOBDLL JOBD(QBATCH) LIBLST(FRED)

You can set the Job Description (JOBD) parameter to the special value List Job Description (*LSTJOBD). This enables you to rematch the initial library list (INLLIBL) for the job descriptions referenced within library lists with their corresponding library lists.

YCHGJOBDLL JOBD(*LSTJOBD) LJBLST(*ALL)

The library list for a job description referenced on a library list is synchronized with the library list whenever the library list is updated using a library list command. You can turn off this action using the Update Job Description (UPDJOBD) parameter. For example:

YRMVLLE LIB(QRPG) LIBLST(FRED) UPDJOBD(*NO)