Previous Topic: Sample JCL for PMOCOMNDNext Topic: Sample JCL for Including a Library


Sample JCL for Excluding a Library

Suppose that you have a job that moves a private library that CA PMO manages from one volume to another. Before moving the library, you can issue the F PMO,EXCLPRVT command to have CA PMOstop managing the library. After the move, you issue the F PMO,INCLPRVT command to have CA PMO manage the library. To issue the F PMO,EXCLPRVT command automatically, include it in a PMOCMND job step in the beginning of the job that performs the move, as shown in the following example:

//PMOCMND1 EXEC PGM=PMOCOMND
//STEPLIB DD DSN=authorized.library,DISP=SHR
//PCOMMAND DD *
* INSTRUCT PMO TO STOP MANAGING THE LIBRARY
F PMO,EXCLPRVT=data set name
/*