Most users rely on the IEBCOPY utility to copy members from one library to another. CA PMO detects an IEBCOPY update through an SVC 20 intercept; however, after detecting the update, CA PMO cannot determine which member has been updated. To respond to this update, CA PMO refreshes the entire in-storage directory for the library. If the library has a hash table, CA PMO rebuilds the hash table. If the library is in the LNKLST, CA PMO purges all entries for it from the managed list, and it purges the entries for all libraries that follow it in the LNKLST concatenation. (How CA PMO handles LNKLST library updates is described in detail in the section Refresh Library Directory Entries in the chapter "Issuing Commands.")
Use of the IEBCOPY utility can be inefficient, particularly when the updated member belongs to a LNKLST library.
As an alternative method of copying a library, SAS users can rely on a PDSCOPY procedure. This procedure issues a STOW command when it copies a member from one library to another. The CA PMO SVC 21 intercept allows it to determine the particular members that were updated, and CA PMO refreshes only the in-storage directory entry for the updated members. This is particularly useful for LNKLST libraries, since CA PMO purges only the updated members from the managed list.
You must use the following JCL and SAS code to use PDSCOPY:
// EXEC SAS //FROMDD DD DSN=from.library,DISP=SHR //TODD DD DSN=to.library,DISP=OLD //SYSIN DD * PROC PDSCOPY INDD=FROMDD OUTDD=TODD; SELECT member1 member2 member3; RUN; /*
You can list any number of members on the SELECT statement. For more information on this procedure, see the SAS documentation.
To access ISPF Library Utilities MOVE/COPY services, enter 3.3 on the ISPF PRIMARY OPTION MENU. This service issues a STOW command, which permits CA PMO to determine the particular member or members being updated. As a result, CA PMO refreshes only the in-storage directory entry or entries affected by the update.
The procedures described in Using PDSCOPY (SAS Users) and Using ISPF Library Utilities above, are particularly useful if you are having CA PMO selectively issue LLA refreshes for updated libraries and members. If you use IEBCOPY, CA PMO initiates an LLA refresh for the entire library. If you use the SAS and ISPF procedures, CA PMO initiates an LLA refresh for only the updated members.
|
Copyright © 2011 CA.
All rights reserved.
|
|