OCLC-supplied macro books
OCLC supplies the following macro books when you download Connexion client:
- OCLC macro book (OCLC.mbk)
- Dewy macro book (Dewey.mbk)
OCLC macro book
The OCLC macro book contains the following macros:
|Add&Edit007||Adds or edits field 007 in a bibliographic record via a menu.
|Add33x||Adds 336, 337, and 338 fields in a bibliographic or authority record via a menu.
|AddAuthority6xx||Adds a 6xx field to an authority record via a menu.
|AddSerialNotes||Adds a note field to a serial bibliographic record via a menu.
|BrowseAuthorityIndex||Begins a browse search in the authority indexes based on a heading in a displayed authority or bibliographic record.
|BrowseBibliographicIndex||Begins a browse search in the bibliographic indexes based on a heading in a displayed authority or bibliographic record.
|ClearELvl3Workform||Clears candidate fields from an encoding level 3 bibliographic record and replaces them with workform prompts. The prompts are a blend of two sets of workforms—AACR2 versus RDA.
|Generate034||Generates field 034 based on data in field 255 in the same bibliographic record.
Note: Field 255 must be correctly formulated and must use the degree sign, the miagkii znak, and the tverdyi znak to indicate degrees, minutes, and seconds in any coordinates.
|Generate043||Generates field 043 based on data in 6xx fields in the same authority or bibliographic record.
|Generate891||Generates a pair of 891 fields based on frequency and numbering data in the same bibliographic record.
|GenerateAuthorityRecord||Generates a name authority workform based on a heading in a displayed bibliographic record.
|Generate ERecord||Creates a workform to represent an online version of an item based on the print, microform, or another format version of a bibliographic record for the same title.
Note: This macro replaces the following two former OCLC macros: GenerateESerial and GenerateESerialCONSER.
|InsertHeading||Inserts a displayed authority record heading into a previously displayed bibliographic record heading field.
|PunctuationAdd||A new (2019) macro which adds punctuation to fields in either a single record or all records in a local or online save file. This macro could be used to locally add punctuation before exporting records that lack punctuation in accord with the new Program for Cooperative Cataloging (PCC) optional punctuation policy. It adjusts the coding in Leader/18 (Desc) and in field 040 as needed. Do not use it to add or restore punctuation permanently to a WorldCat record that is correctly coded with Leader/18 “c” and does not contain punctuation.
|PunctuationRemove||A new (2019) macro which removes punctuation from fields in a single record or all records in a local or online save file. This macro could be used to locally remove punctuation before exporting records that contain punctuation in accord with the new Program for Cooperative Cataloging (PCC) optional punctuation policy. It adjusts the coding in Leader/18 (Desc) and in field 040 as needed. Do not use it to remove punctuation permanently from a WorldCat record that is correctly coded with Leader/18 “i”, “a”, or blank that contains punctuation.
Dewey macro book
The Dewey macro book contains the following macros:
|FourFig||Adds a Cutter number to a label using the Cutter Four-Figure Table, which supplies two letters with numbers.
|Sanborn||Adds a Cutter number to a label using the Cutter-Sanborn Four-Figure Table, which supplies one letter with numbers.
|See Print a DDC class number and add a Cutter number to a label for more information these macros.|
View OCLC macros
- Navigate to Tools > Macros > Manage.
- Under Macros, click the plus sign (+) next to OCLC to expand the list macros OCLC supplies.
- Single-click the name of a macro to see its description in the Description box
Double- click the name to open and view the macro in the Macro Editor.
OCLC encourages Connexion client users who use macros to automate routine cataloging tasks to share macros. Click one of the following links to visit macro sites supplied by Connexion client users. If you would like OCLC to link to your macro site, please contact us using Help, Contact Support from within the Connexion client (publishing a direct email link on this Web page results in unwanted spam).
Macro lessons for beginners
OCLC Macro Language for the Complete Beginner
Written and provided by Joel Hahn, Niles Public Library District, Niles, Illinois
In twelve user-friendly, easy lessons, learn how to create macros for automating routine cataloging tasks using the Connexion client.
Writing OCLC Connexion Client Macros the Simple Way
Designed and created by Merry Morris, Free Library of Philadelphia
Without knowing even the basics, use this easy-to-understand guide to writing simple macros that perform complex repetitive cataloging tasks.