Presentation is loading. Please wait.

Presentation is loading. Please wait.

How to create a virtual TYP field via tab_type_config.lng

Similar presentations


Presentation on theme: "How to create a virtual TYP field via tab_type_config.lng"— Presentation transcript:

1 How to create a virtual TYP field via tab_type_config.lng
Yoel Kortick

2 Building the virtual TYP field
It is possible to build virtual TYP fields via file tab_tab_config.eng The virtual fields may be built according to the contents (or partial contents) of actual bibliographic fields, such as FMT, 007 and LDR. There are only 8 valid FMT fields, and the TYP field can be made only from valid FMT fields. Thus in many cases it is preferable to base the creation of the TYP field on a position of 007 or LDR If you make up your own FMT fields then they can not be used to create a TYP field. How to create a virtual TYP field

3 Building the virtual TYP field
We have a record with FMT field BK. It is system number in bibliographic library BK is a valid FMT field How to create a virtual TYP field

4 Building the virtual TYP field
We have a record with FMT field MC. It is system number in bibliographic library MC is not a valid FMT field How to create a virtual TYP field

5 Building the virtual TYP field
We have a record with FMT field DC. It is system number in bibliographic library CD is not a valid FMT field How to create a virtual TYP field

6 Building the virtual TYP field
In file $data_tab/tab_type_config.eng we have the following: ! !!!!!-!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-!!!!!-!!!!!!!!!!-!!!!!!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-! TYP Books FMT EQUAL BK TYP Books Microform FMT EQUAL MC TYP Books CD FMT EQUAL CD This means that if we have a record with FMT Field: BK then a TYP field will be created with value “Books” MC then a TYP field will be created with value “Books Microform” CD then a TYP field will be created with value “Books CD” How to create a virtual TYP field

7 Building the virtual TYP field
In these cases we are not confirming the validity of using the FMT fields according to MARC rules. We are merely stating what will happen according to this table setup. Often FMT is not used as a “determining” field in tab_type_config.eng. Sometimes a section (position to position) of the LDR field is used. See examples in the table and the remainder of this presentation. How to create a virtual TYP field

8 Building the virtual TYP field
Here is a different example where LDR is used to create the TYP field: TYP Archives LDR F EQUAL a TYP Computer file LDR F EQUAL m TYP Picture LDR F EQUAL k TYP Printed music LDR F EQUAL [c,d] TYP Map LDR F EQUAL [e,f] TYP Manuscripts LDR F EQUAL [b,t] TYP Serial LDR F EQUAL [b,i,s] TYP Monograph LDR F EQUAL m How to create a virtual TYP field

9 Building the virtual TYP field
In order for the TYP field to be created the parameter “tab_type_config” must be present in the file $data_tab/tab_expand in the bibliographic library for the relevant expand menu. For example, expand menu “WEB-FULL” is used for full display in the Web OPAC. See table header for expand menu descriptions. Thus we have this in tab_expand: ! !!!!!!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!> WEB-FULL expand_doc_type tab_type_config How to create a virtual TYP field

10 Building the virtual TYP field
96650 then appears in the web as follows (because it has FMT BK): How to create a virtual TYP field

11 Building the virtual TYP field
96651 then appears in the web as follows (because it has FMT MC): TYP is not created. MC is not a valid FMT field How to create a virtual TYP field

12 Building the virtual TYP field
96652 then appears in the web as follows (because it has FMT CD): TYP is not created. CD is not a valid FMT field How to create a virtual TYP field

13 Building the virtual TYP field
Also when 96650, and are viewed via UTIL/F/4/doc_expand/WEB-FULL only gets a TYP field created. Only has a “valid” FMT field. Valid FMT fields are: BK Books CF Computer files MP Maps MU Music SE Serials VM Visual materials MX Mixed materials These are the defaults in file $data_root/pc_tab/catalog/formats.lng of the bibliographic library. How to create a virtual TYP field

14 Building the virtual TYP field
The list of valid FMT types for bibliographic records may be found at: How to create a virtual TYP field

15 Building the virtual TYP field
The TYP is created only for valid FMT fields. If you wish to make TYP fields for types of records that are not included in the FMT field then use a position of another MARC field, such as LDR or 007 (or the corresponding field for non USMARC records). For example to see types of records based on pos. 6 of the LDR field in USMARC see How to create a virtual TYP field

16 Building the virtual TYP field
position 6 of the LDR field part 1: 06 - Type of record Indicates the characteristics of and defines the components of the record. a - Language material Includes printed, microform, and electronic language material. c - Notated music Includes microform and electronic notated music. d - Manuscript notated music Includes microform manuscript music. e - Cartographic material Includes maps, atlases, globes, digital maps, and other cartographic items. f - Manuscript cartographic material Includes microform manuscript maps. g - Projected medium Examples include: motion pictures, videorecordings (including digital video), filmstrips, slides, transparencies, or material specifically designed for projection. i - Nonmusical sound recording Examples include: speech. j - Musical sound recording Examples include: phonodiscs, compact discs, or cassette tapes. How to create a virtual TYP field

17 Building the virtual TYP field
position 6 of the LDR field part 2: k - Two-dimensional nonprojectable graphic Examples include: activity cards, charts, collages, computer graphics, drawings, duplication masters, flash cards, paintings, photonegatives, photoprints, pictures, photo CDs, postcards, posters, prints, spirit masters, study prints, technical drawings, photomechanical reproductions, and reproductions of any of these. m - Computer file Includes the following classes of electronic resources: computer software (including programs, games, fonts), numeric data, computer-oriented multimedia, online systems or services. For these classes of materials, if there is a significant aspect that causes it to fall into another Leader/06 category, the code for that significant aspect is used instead of code m (e.g., vector data that is cartographic is not coded as numeric but cartographic). Other classes of electronic resources are coded for their most significant aspect (e.g., language material, graphic, cartographic material, sound, music, moving image). In case of doubt or if the most significant aspect cannot be determined, consider the item a computer file. o - Kit Contains a mixture of components from two or more types of items, none of which is the predominant constituent of the kit. p - Mixed material Indicates that there are significant materials in two or more forms that are usually related by virtue of their having been accumulated by or about a person or body. Includes archival fonds and manuscript collections of mixed forms of materials, such as text, photographs, and sound recordings. r - Three-dimensional artifact or naturally occurring object Includes man-made objects, such as models, dioramas, games, puzzles, simulations, sculptures and other three-dimensional art works and their reproductions, exhibits, machines, clothing, toys, and stitchery, and naturally occurring objects, such as microscope specimens and other specimens mounted for viewing. t - Manuscript language material How to create a virtual TYP field

18 Building the virtual TYP field
This instead of using the FMT field we will use the LDR and the 007 field as follows: !* if pos 7 of LDR is m then TYP with monograph will be created TYP Monograph LDR F EQUAL m !* if pos 6 of LDR is i or j then TYP with sound recording will be created TYP Sound recording LDR F EQUAL [i,j] !* if pos 0 of 007 is h then TYP with sound recording will be created TYP Microform F EQUAL h How to create a virtual TYP field

19 Building the virtual TYP field
Record has an M in pos 7 of LDR Editable via ctrl+f in cataloging module How to create a virtual TYP field

20 Building the virtual TYP field
Record has an H in pos 0 of 007 Editable via ctrl+f in cataloging module How to create a virtual TYP field

21 Building the virtual TYP field
Record has an I in pos 6 of LDR Editable via ctrl+f in cataloging module How to create a virtual TYP field

22 Building the virtual TYP field
Record now has this in web: (Record has an M in pos 7 of LDR) How to create a virtual TYP field

23 Building the virtual TYP field
Record now has this in web: (Record has an H in pos 0 of 007) How to create a virtual TYP field

24 Building the virtual TYP field
Record now has this in web: (Record has an I in pos 6 of LDR) How to create a virtual TYP field


Download ppt "How to create a virtual TYP field via tab_type_config.lng"

Similar presentations


Ads by Google