Abstract & revision notes

Use Macros

Abstract

Write or record macros to automate routine cataloging tasks using OCLC Macro Language (OML) and client-specific macro commands. Gives an OML introduction and detailed descriptions and examples of client macro commands.

Last updated: January 2008

Revision History
Date Section title Description of changes
January 2008 4 List of macro commands Added the following new macro commands to lists:
  • AddToOnlineDatabase
  • DeriveNewHPBRecord*
  • GetListCellData
  • GetListCellDataUnicode
  • OpenWorkformForDatabase

*Note: "HPB" = Hand Press Book (available only to authorized Consortium of European Research Libraries (CERL) members)

  6 Search commands For the Search command, added the following new database identifiers:
  • HP (Hand Press Book database)
  • HO (online Hand Press Book save file)
  • HL (local Hand Press Book save file)

For the Browse command, added HP identifier for Hand Press Book

  8 Create records commands Added descriptions of the following new commands:
  • DeriveNewHPBRecord
  • OpenWorkformForDatabase
  9 Take actions on records commands
  • Added description of new macro command AddToOnlineDatabase
  • Noted for ReplaceAndUpdateHoldings - unavailable for batch processing
  10 Work with records, lists, and files
  • Added descriptions of two new macro commands: GetListCellData and GetListCellDataUnicode
  • Updated description of ItemType command with additional return values:
    • Online Hand Press Book record (26)
    • Online Hand Press Book group list (27)
    • Online Hand Press Book brief list (28)
    • Online Hand Press Book truncated list (29)
    • Online Hand Press Book browse list (30)
    • Local Hand Press Book save file record (31)
    • Local Hand Press Book save file list (32)
    • Online Hand Press Book save file record (33)
    • Online Hand Press Book save file list (34)
    • Online bibliographic institution record (35)
    • Online bibliographic institution list (36)
  11 Print and work with macros, statuses, etc. Updated description of QueryRecordStatus with the following new Status Type parameters (see section 11 for a list of valid return values for each):
  • ADDHPB
  • TOTALIRS
  • MYIRS

© 2008 OCLC Online Computer Library Center, Inc. 6565 Frantz Road Dublin, OH 43017-3395 USA

OCLC® users are hereby granted permission to reproduce this manual for their internal use. Reproduction of substanstial portions of this manual must contain the OCLC copyright notice.

Unless otherwise noted, all product and service names are registered trademarks or trademarks of OCLC.