Previous Topic: Sample JCL for Producing Offline ReportsNext Topic: Updating Libraries


Sample JCL for Refreshing a the Directory Entries for a Library

Suppose that you have a job that does a nonstandard update against a library that CA PMO manages in a hash table. For instance, suppose that you use a program that performs track-by-track EXCP writes. In addition to performing the update, you must issue the F PMO,D command to have CA PMO refresh the library hash table. To issue this command automatically, you can include it at the end of your job, as illustrated in the following example:

//PMOCMND1 EXEC PGM=PMOCOMND
//STEPLIB DD DSN=authorized.library,DISP=SHR
//PCOMMAND DD *
* INSTRUCT PMO TO REFRESH THE DIRECTORY ENTRIES FOR A LIBRARY
F PMO,D=data set name
/*