Examples of the USERLIB parameter

Example 1
//OUT1   OUTPUT  PAGEDEF=STNDRD,FORMDEF=CENTER,
//                USERLIB=(USER.PRIVATE.RESOURCE,GROUP.PRIVATE.RESOURCE)

In this example, PSF is to print the sysout data set using PAGEDEF=STNDRD and FORMDEF=CENTER.

When processing the sysout data set, PSF will search the user libraries before searching the system libraries for the specified PAGEDEF and FORMDEF. When searching the user libraries, PSF will search USER.PRIVATE.RESOURCE before searching GROUP.PRIVATE.RESOURCE.

Example 2
//OUT1   OUTPUT  PAGEDEF=STNDRD,FORMDEF=CENTER,
//         USERLIB=('USER.PRIVATE.RESOURCE','GROUP.PRIVATE.RESOURCE')

You may code apostrophes around the data set names, but apostrophes are not required. The system will process this example the same way it processes Example 1.